1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,339191,e=>{"use strict";e.i(90985);var t=e.i(466471),r=e.i(884702),i=e.i(991531),a=e.i(94158),n=e.i(649163),s=e.i(194932),l=e.i(443390),o=r,c=e.i(263137);class d extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:r,anchorX:i,root:a}){let n=(0,o.useId)(),s=(0,o.useRef)(null),l=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,o.useContext)(c.MotionConfigContext);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:o,left:c,right:d}=l.current;if(r||!s.current||!e||!t)return;let m="left"===i?`left: ${c}`:`right: ${d}`;s.current.dataset.motionPopId=n;let h=document.createElement("style");u&&(h.nonce=u);let p=a??document.head;return p.appendChild(h),h.sheet&&h.sheet.insertRule(` 2 [data-motion-pop-id="${n}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${m}px !important; 7 top: ${o}px !important; 8 } 9 `),()=>{p.contains(h)&&p.removeChild(h)}},[r]),(0,t.jsx)(d,{isPresent:r,childRef:s,sizeRef:l,children:o.cloneElement(e,{ref:s})})}let m=({children:e,initial:i,isPresent:n,onExitComplete:l,custom:o,presenceAffectsLayout:c,mode:d,anchorX:m,root:p})=>{let f=(0,a.useConstant)(h),x=(0,r.useId)(),g=!0,v=(0,r.useMemo)(()=>(g=!1,{id:x,initial:i,isPresent:n,custom:o,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;l&&l()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[n,f,l]);return c&&g&&(v={...v}),(0,r.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),r.useEffect(()=>{n||f.size||!l||l()},[n]),"popLayout"===d&&(e=(0,t.jsx)(u,{isPresent:n,anchorX:m,root:p,children:e})),(0,t.jsx)(s.PresenceContext.Provider,{value:v,children:e})};function h(){return new Map}var p=e.i(635149);let f=e=>e.key||"";function x(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:s,initial:l=!0,onExitComplete:o,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:h="left",root:g})=>{let[v,b]=(0,p.usePresence)(u),w=(0,r.useMemo)(()=>x(e),[e]),y=u&&!v?[]:w.map(f),j=(0,r.useRef)(!0),N=(0,r.useRef)(w),_=(0,a.useConstant)(()=>new Map),[S,k]=(0,r.useState)(w),[C,E]=(0,r.useState)(w);(0,n.useIsomorphicLayoutEffect)(()=>{j.current=!1,N.current=w;for(let e=0;e<C.length;e++){let t=f(C[e]);y.includes(t)?_.delete(t):!0!==_.get(t)&&_.set(t,!1)}},[C,y.length,y.join("-")]);let R=[];if(w!==S){let e=[...w];for(let t=0;t<C.length;t++){let r=C[t],i=f(r);y.includes(i)||(e.splice(t,0,r),R.push(r))}return"wait"===d&&R.length&&(e=R),E(x(e)),k(w),null}let{forceRender:T}=(0,r.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:C.map(e=>{let r=f(e),i=(!u||!!v)&&(w===C||y.includes(r));return(0,t.jsx)(m,{isPresent:i,initial:(!j.current||!!l)&&void 0,custom:s,presenceAffectsLayout:c,mode:d,root:g,onExitComplete:i?void 0:()=>{if(!_.has(r))return;_.set(r,!0);let e=!0;_.forEach(t=>{t||(e=!1)}),e&&(T?.(),E(N.current),u&&b?.(),o&&o())},anchorX:h,children:e},r)})})};e.s(["AnimatePresence",()=>g],339191)},550974,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(339191),n=e.i(98160);e.i(741820);var s=e.i(24963),l=e.i(331597),o=e.i(526683);let c=e=>{let i,a,s,l,c,d,u,m,h=(0,r.c)(28),{className:p,size:f,delay:x,duration:g,colorFrom:v,colorTo:b,transition:w,style:y,reverse:j,initialOffset:N,borderWidth:_}=e,S=void 0===f?50:f,k=void 0===g?6:g,C=void 0===v?"#ffaa40":v,E=void 0===b?"#9c40ff":b,R=void 0!==j&&j,T=void 0===N?0:N,L=`${void 0===_?1:_}px`;h[0]!==L?(i={"--border-beam-width":L},h[0]=L,h[1]=i):i=h[1];let P=i;h[2]!==p?(a=(0,o.cn)("absolute aspect-square","bg-gradient-to-l from-[var(--color-from)] via-[var(--color-to)] to-transparent",p),h[2]=p,h[3]=a):a=h[3];let M=`rect(0 auto auto 0 round ${S}px)`;h[4]!==C||h[5]!==E||h[6]!==S||h[7]!==y||h[8]!==M?(s={width:S,offsetPath:M,"--color-from":C,"--color-to":E,...y},h[4]=C,h[5]=E,h[6]=S,h[7]=y,h[8]=M,h[9]=s):s=h[9];let I=s,A=`${T}%`;h[10]!==A?(l={offsetDistance:A},h[10]=A,h[11]=l):l=h[11],h[12]!==T||h[13]!==R?(c={offsetDistance:R?[`${100-T}%`,`${-T}%`]:[`${T}%`,`${100+T}%`]},h[12]=T,h[13]=R,h[14]=c):c=h[14];let z=-(void 0===x?0:x);return h[15]!==k||h[16]!==z||h[17]!==w?(d={repeat:1/0,ease:"linear",duration:k,delay:z,...w},h[15]=k,h[16]=z,h[17]=w,h[18]=d):d=h[18],h[19]!==a||h[20]!==I||h[21]!==l||h[22]!==c||h[23]!==d?(u=(0,t.jsx)(n.motion.div,{className:a,style:I,initial:l,animate:c,transition:d}),h[19]=a,h[20]=I,h[21]=l,h[22]=c,h[23]=d,h[24]=u):u=h[24],h[25]!==P||h[26]!==u?(m=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] border-transparent [mask-clip:padding-box,border-box] [mask-composite:intersect] [mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)] border-(length:--border-beam-width)",style:P,children:u}),h[25]=P,h[26]=u,h[27]=m):m=h[27],m};var d=e.i(184499),u=e.i(819023);function m(e){let l,m,p,f,x,g,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P=(0,r.c)(41),{section:M,className:I}=e,[A,z]=(0,i.useState)("item-1");P[0]!==M.items?(l={},M.items?.forEach((e,t)=>{l[`item-${t+1}`]={image:e.image?.src??"",alt:e.image?.alt||e.title||""}}),P[0]=M.items,P[1]=l):l=P[1],P[2]!==I||P[3]!==M.className?(m=(0,o.cn)("overflow-x-hidden py-16 md:py-24",M.className,I),P[2]=I,P[3]=M.className,P[4]=m):m=P[4],P[5]!==M.title?(p=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:M.title}),P[5]=M.title,P[6]=p):p=P[6],P[7]!==M.description?(f=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:M.description}),P[7]=M.description,P[8]=f):f=P[8],P[9]!==p||P[10]!==f?(x=(0,t.jsx)(u.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[p,f]})}),P[9]=p,P[10]=f,P[11]=x):x=P[11],P[12]===Symbol.for("react.memo_cache_sentinel")?(g=e=>z(e),P[12]=g):g=P[12],P[13]!==M.items?(v=M.items?.map(h),P[13]=M.items,P[14]=v):v=P[14],P[15]!==A||P[16
9]!==v?(b=(0,t.jsx)(u.ScrollAnimation,{delay:.1,direction:"left",children:(0,t.jsx)(d.Accordion,{type:"single",value:A,onValueChange:g,className:"w-full",children:v})}),P[15]=A,P[16]=v,P[17]=b):b=P[17],P[18]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{className:"absolute inset-0 right-0 ml-auto w-15 border-l bg-[repeating-linear-gradient(-45deg,var(--color-border),var(--color-border)_1px,transparent_1px,transparent_8px)]"}),P[18]=w):w=P[18];let D=`${A}-id`;P[19]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:0,y:6,scale:.98},j={opacity:1,y:0,scale:1},N={opacity:0,y:6,scale:.98},_={duration:.2},P[19]=y,P[20]=j,P[21]=N,P[22]=_):(y=P[19],j=P[20],N=P[21],_=P[22]);let O=l[A],H=l[A];return P[23]!==O.image||P[24]!==H.alt?(S=(0,t.jsx)(s.LazyImage,{src:O.image,className:"size-full object-cover object-left-top dark:mix-blend-lighten",alt:H.alt}),P[23]=O.image,P[24]=H.alt,P[25]=S):S=P[25],P[26]!==S||P[27]!==D?(k=(0,t.jsx)("div",{className:"bg-background relative aspect-76/59 w-full min-w-0 rounded-2xl sm:w-[calc(3/4*100%+3rem)]",children:(0,t.jsx)(a.AnimatePresence,{mode:"wait",children:(0,t.jsx)(n.motion.div,{initial:y,animate:j,exit:N,transition:_,className:"size-full overflow-hidden rounded-2xl border shadow-md",children:S},D)})}),P[26]=S,P[27]=D,P[28]=k):k=P[28],P[29]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(c,{duration:6,size:200,className:"from-transparent via-yellow-700 to-transparent dark:via-white/50"}),P[29]=C):C=P[29],P[30]!==k?(E=(0,t.jsx)(u.ScrollAnimation,{delay:.2,direction:"right",children:(0,t.jsxs)("div",{className:"bg-background relative flex min-w-0 flex-shrink overflow-hidden rounded-3xl border p-2",children:[w,k,C]})}),P[30]=k,P[31]=E):E=P[31],P[32]!==E||P[33]!==b?(R=(0,t.jsxs)("div",{className:"grid min-w-0 gap-12 sm:px-6 md:grid-cols-2 lg:gap-20 lg:px-0",children:[b,E]}),P[32]=E,P[33]=b,P[34]=R):R=P[34],P[35]!==R||P[36]!==x?(T=(0,t.jsxs)("div",{className:"container space-y-8 overflow-x-hidden px-2 sm:px-6 md:space-y-16 lg:space-y-20 dark:[--color-border:color-mix(in_oklab,var(--color-white)_10%,transparent)]",children:[x,R]}),P[35]=R,P[36]=x,P[37]=T):T=P[37],P[38]!==m||P[39]!==T?(L=(0,t.jsx)("section",{className:m,children:T}),P[38]=m,P[39]=T,P[40]=L):L=P[40],L}function h(e,r){return(0,t.jsxs)(d.AccordionItem,{value:`item-${r+1}`,children:[(0,t.jsx)(d.AccordionTrigger,{children:(0,t.jsxs)("div",{className:"flex items-center gap-2 text-base",children:[e.icon&&(0,t.jsx)(l.SmartIcon,{name:e.icon,size:24}),e.title]})}),(0,t.jsx)(d.AccordionContent,{children:e.description})]},r)}e.s(["FeaturesAccordion",()=>m],550974)},389366,e=>{"use strict";var t=e.i(466471),r=e.i(536355);e.i(741820);var i=e.i(24963),a=e.i(819023),n=e.i(526683);function s(e){let i,s,o,c,d,u,m=(0,r.c)(16),{section:h,className:p}=e,f=h.id;return m[0]!==p||m[1]!==h.className?(i=(0,n.cn)("py-16 md:py-24",h.className,p),m[0]=p,m[1]=h.className,m[2]=i):i=m[2],m[3]!==h.title?(s=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsx)("p",{className:"text-md text-center font-medium",children:h.title})}),m[3]=h.title,m[4]=s):s=m[4],m[5]!==h.items?(o=h.items?.map(l),m[5]=h.items,m[6]=o):o=m[6],m[7]!==o?(c=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"mx-auto mt-12 flex max-w-4xl flex-wrap items-center justify-center gap-x-12 gap-y-8 sm:gap-x-16 sm:gap-y-12",children:o})}),m[7]=o,m[8]=c):c=m[8],m[9]!==s||m[10]!==c?(d=(0,t.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[s,c]}),m[9]=s,m[10]=c,m[11]=d):d=m[11],m[12]!==h.id||m[13]!==i||m[14]!==d?(u=(0,t.jsx)("section",{id:f,className:i,children:d}),m[12]=h.id,m[13]=i,m[14]=d,m[15]=u):u=m[15],u}function l(e,r){return(0,t.jsx)(i.LazyImage,{className:"h-8 w-fit dark:invert",src:e.image?.src??"",alt:e.image?.alt??""},r)}e.s(["Logos",()=>s])},32943,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(98160);e.i(741820);var a=e.i(24963),n=e.i(526683);function s(e){let a,s,o,c,d,u,m,h,p,f=(0,r.c)(22),{section:x}=e;if(!x.items||0===x.items.length)return null;let g=x.id||x.name;return f[0]!==x.className?(a=(0,n.cn)("py-16 md:py-24",x.className),f[0]=x.className,f[1]=a):a=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(s={initial:{opacity:0,y:20,filter:"blur(6px)"}
9,animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:0,ease:[.22,1,.36,1]}},f[2]=s):s=f[2],f[3]!==x.sr_only_title?(o=x.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:x.sr_only_title}),f[3]=x.sr_only_title,f[4]=o):o=f[4],f[5]!==x.title?(c=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:x.title}),f[5]=x.title,f[6]=c):c=f[6],f[7]!==x.description?(d=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:x.description}),f[7]=x.description,f[8]=d):d=f[8],f[9]!==o||f[10]!==c||f[11]!==d?(u=(0,t.jsxs)(i.motion.div,{className:"container mb-12 text-center",...s,children:[o,c,d]}),f[9]=o,f[10]=c,f[11]=d,f[12]=u):u=f[12],f[13]!==x.items?(m=x.items.map(l),f[13]=x.items,f[14]=m):m=f[14],f[15]!==m?(h=(0,t.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:m}),f[15]=m,f[16]=h):h=f[16],f[17]!==g||f[18]!==a||f[19]!==u||f[20]!==h?(p=(0,t.jsxs)("section",{id:g,className:a,children:[u,h]}),f[17]=g,f[18]=a,f[19]=u,f[20]=h,f[21]=p):p=f[21],p}function l(e,r){let s="right"===e.image_position;return(0,t.jsxs)(i.motion.div,{className:(0,n.cn)("grid items-center gap-6 py-16 sm:grid-cols-2 md:gap-12 lg:gap-24",s&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.15*r,ease:[.22,1,.36,1]},children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.15*r+.2,ease:[.22,1,.36,1]},children:(0,t.jsx)(a.LazyImage,{src:e.image?.src??"",className:"rounded-2xl",alt:e.image?.alt??""})}),(0,t.jsxs)(i.motion.div,{className:"relative space-y-4",initial:{opacity:0,x:s?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.15*r+.3,ease:[.22,1,.36,1]},children:[(0,t.jsx)("h3",{className:"text-xl font-medium md:text-2xl lg:text-2xl",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground",children:e.description})]})]},r)}e.s(["FeaturesFlow",()=>s])},514534,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(98160);e.i(741820);var a=e.i(24963),n=e.i(331597),s=e.i(526683);function l(e){let n,l,c,d,u,m,h,p,f,x,g,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P=(0,r.c)(44),{section:M}=e,I="right"===(M.image_position||"left"),A=M.id||M.name;P[0]!==M.className?(n=(0,s.cn)("py-16 md:py-24",M.className),P[0]=M.className,P[1]=n):n=P[1];let z=I&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1";P[2]!==z?(l=(0,s.cn)("grid items-center gap-6 sm:grid-cols-2 md:gap-12 lg:gap-24",z),P[2]=z,P[3]=l):l=P[3],P[4]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:0,y:30},d={opacity:1,y:0},u={once:!0,margin:"-100px"},P[4]=c,P[5]=d,P[6]=u):(c=P[4],d=P[5],u=P[6]),P[7]===Symbol.for("react.memo_cache_sentinel")?(m=[.22,1,.36,1],P[7]=m):m=P[7],P[8]===Symbol.for("react.memo_cache_sentinel")?(h={duration:.6,ease:m},P[8]=h):h=P[8],P[9]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:0,scale:.95},f={opacity:1,scale:1},x={once:!0},P[9]=p,P[10]=f,P[11]=x):(p=P[9],f=P[10],x=P[11]),P[12]===Symbol.for("react.memo_cache_sentinel")?(g=[.22,1,.36,1],P[12]=g):g=P[12],P[13]===Symbol.for("react.memo_cache_sentinel")?(v={duration:.5,delay:.2,ease:g},P[13]=v):v=P[13];let D=M.image?.src??"",O=M.image?.alt??"";P[14]!==D||P[15]!==O?(b=(0,t.jsx)(i.motion.div,{initial:p,whileInView:f,viewport:x,transition:v,children:(0,t.jsx)(a.LazyImage,{src:D,className:"rounded-2xl",alt:O})}),P[14]=D,P[15]=O,P[16]=b):b=P[16];let H=I?-20:20;return P[17]!==H?(w={opacity:0,x:H},P[17]=H,P[18]=w):w=P[18],P[19]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:1,x:0},j={once:!0},P[19]=y,P[20]=j):(y=P[19],j=P[20]),P[21]===Symbol.for("react.memo_cache_sentinel")?(N=[.22,1,.36,1],P[21]=N):N=P[21],P[22]===Symbol.for("react.memo_cache_sentinel")?(_={duration:.5,delay:.3,ease:N},P[22]=_):_=P[22],P[23]!==M.title?(S=(0,t.jsx)("h2",{className:"text-xl font-medium md:text-lg lg:text-lg",children:M.title}),P[23]=M.title,P[24]=S):S=P[24],P[25]!==M.description?(k=(0,t.jsx)("p",{className:"text-muted-foreground text-md",children:M.description}),P[25]=M.description,P[26]=k):k=P[26],P[27]!==M.items?(C=M.items?.map(o),P[27]=M.items,P[28]=C):C=P[28],P[29]!==C?(E=(0,t.jsx)("div",{className:"mt-8 flex flex-wrap gap-4",children:C}),P[29]=C,P[30]=E):E=P[30],P[31]!==w||P[32]!==S||P[33]!==k||P[34]!==E?(R=(0,t.jsxs)(i.motion.div,{className:"relative space-y-4",initial:w,whileInView:y,viewport:j,transition:_,children:[S,k,E]}),P[31]=w,P[32]=S,P[33]=k,P[34]=E,P[35]=R):R=P[35],P[36]!==b||P[37]!==R||P[38]!==l?(T=(0,t.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:(0,t.jsxs)(i.motion.div,{className:l,initial:c,whileInView:d,viewport:u,transition:h,children:[b,R]})}),P[36]=b,P[37]=R,P[38]=l,P[39]=T):T=P[39],P[40]!==A||P[41]!==n||P[42]!==T?(L=(0,t.jsx)("section",{id:A,className:n,children:T}),P[40]=A,P[41]=n,P[42]=T,P[43]=L):L=P[43],L}function o(e){return(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"mb-2 flex items-center gap-2 text-sm",children:[(0,t.jsx)(n.SmartIcon,{name:e.icon,size:16}),e.title]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:e.description})]},e.title)}e.s(["FeaturesMedia",()=>l])},417374,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(103979),n=e.i(98160),s=e.i(199978),l=e.i(331597),o=e.i(511398),c=e.i(686247),d=e.i(526683);function u(e){let a,s,l,o,c,u,h,p,f,x,g,v,b,w,y,j,N=(0,r.c)(39),{section:_,className:S}=e;N[0]!==_?(a=_.groups||[],N[0]=_,N[1]=a):a=N[1];let k=a,[C,E]=(0,i.useState)(k.length>0?k[0].name:"");e:{let e;if(!_.items){let e;N[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],N[2]=e):e=N[2],s=e;break e}if(!C||!k.length||"all"===C){s=_.items;break e}if(N[3]!==_.items||N[4]!==C){let t;
9N[6]!==C?(t=e=>e.group===C,N[6]=C,N[7]=t):t=N[7],e=_.items.filter(t),N[3]=_.items,N[4]=C,N[5]=e}else e=N[5];s=e}let R=s,T=_.id||_.name;return N[8]!==S||N[9]!==_.className?(l=(0,d.cn)("py-24 md:py-36",_.className,S),N[8]=S,N[9]=_.className,N[10]=l):l=N[10],N[11]===Symbol.for("react.memo_cache_sentinel")?(o={opacity:0,y:20},c={opacity:1,y:0},u={once:!0},N[11]=o,N[12]=c,N[13]=u):(o=N[11],c=N[12],u=N[13]),N[14]===Symbol.for("react.memo_cache_sentinel")?(h=[.22,1,.36,1],N[14]=h):h=N[14],N[15]===Symbol.for("react.memo_cache_sentinel")?(p={duration:.6,ease:h},N[15]=p):p=N[15],N[16]!==_.sr_only_title?(f=_.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:_.sr_only_title}),N[16]=_.sr_only_title,N[17]=f):f=N[17],N[18]!==_.title?(x=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:_.title}),N[18]=_.title,N[19]=x):x=N[19],N[20]!==_.description?(g=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:_.description}),N[20]=_.description,N[21]=g):g=N[21],N[22]!==f||N[23]!==x||N[24]!==g?(v=(0,t.jsxs)(n.motion.div,{className:"container mb-12 text-center",initial:o,whileInView:c,viewport:u,transition:p,children:[f,x,g]}),N[22]=f,N[23]=x,N[24]=g,N[25]=v):v=N[25],N[26]!==k||N[27]!==C?(b=k.length>0&&(0,t.jsx)(n.motion.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:k.map((e,r)=>{let i=C===e.name;return(0,t.jsx)(n.motion.button,{onClick:()=>E(e.name),className:(0,d.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",i?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,t.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,t.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,t.jsx)("span",{children:e.title})},e.name)})}),N[26]=k,N[27]=C,N[28]=b):b=N[28],N[29]!==R?(w=R.length>0?R.map(m):(0,t.jsx)(n.motion.div,{className:"text-muted-foreground col-span-full text-center",initial:{opacity:0}
9,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),N[29]=R,N[30]=w):w=N[30],N[31]!==w?(y=(0,t.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:w}),N[31]=w,N[32]=y):y=N[32],N[33]!==v||N[34]!==b||N[35]!==y||N[36]!==T||N[37]!==l?(j=(0,t.jsxs)("section",{id:T,className:l,children:[v,b,y]}),N[33]=v,N[34]=b,N[35]=y,N[36]=T,N[37]=l,N[38]=j):j=N[38],j}function m(e,r){let i=!!e.button,d=(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*r,ease:[.22,1,.36,1]},children:(0,t.jsx)(c.Card,{className:"dark:hover:shadow-primary/10 overflow-hidden p-0 transition-all hover:shadow-lg",children:(0,t.jsxs)(c.CardContent,{className:"p-0",children:[(0,t.jsx)(n.motion.div,{className:"relative aspect-16/10 w-full overflow-hidden",whileHover:{scale:1.05},transition:{duration:.3},children:(0,t.jsx)(a.default,{src:e.image?.src??"",alt:e.image?.alt??"",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,className:"rounded-t-lg object-cover transition-transform duration-300"})}),(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsx)("h3",{className:"mb-2 line-clamp-1 text-xl font-semibold text-balance",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground line-clamp-3 text-sm",dangerouslySetInnerHTML:{__html:e.description??""}}),i&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(o.Button,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 h-8 w-full border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,t.jsxs)(s.Link,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,t.jsx)(l.SmartIcon,{name:e.button.icon,className:"text-white"}),e.button.title]})})})]})]})})});return i?(0,t.jsx)("div",{children:d},r):(0,t.jsx)(s.Link,{href:e.url||"",target:e.target,children:d},r)}e.s(["Showcases",()=>u])},609639,e=>{"use strict";var t=e.i(466471),r=e.i(536355);e.i(741820);var i=e.i(24963),a=e.i(819023);function n(e){let i,n,l,o,c,d,u,m=(0,r.c)(18),{section:h,className:p}=e,f=`py-16 md:py-24 ${h.className} ${p}`;return m[0]!==h.title?(i=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:h.title}),m[0]=h.title,m[1]=i):i=m[1],m[2]!==h.description?(n=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),m[2]=h.description,m[3]=n):n=m[3],m[4]!==i||m[5]!==n?(l=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[i,n]})}),m[4]=i,m[5]=n,m[6]=l):l=m[6],m[7]!==h.items?(o=h.items?.map((e,r)=>(0,t.jsx)(s,{item:e},r)),m[7]=h.items,m[8]=o):o=m[8],m[9]!==o?(c=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"border-border/50 relative rounded-(--radius)",children:(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 lg:gap-px lg:*:nth-1:rounded-t-none lg:*:nth-2:rounded-tl-none lg:*:nth-2:rounded-br-none lg:*:nth-3:rounded-l-none lg:*:nth-4:rounded-r-none lg:*:nth-5:rounded-tl-none lg:*:nth-5:rounded-br-none lg:*:nth-6:rounded-b-none",children:o})})}),m[9]=o,m[10]=c):c=m[10],m[11]!==l||m[12]!==c?(d=(0,t.jsxs)("div",{className:"container",children:[l,c]}),m[11]=l,m[12]=c,m[13]=d):d=m[13],m[14]!==h.id||m[15]!==f||m[16]!==d?(u=(0,t.jsx)("section",{id:h.id,className:f,children:d}),m[14]=h.id,m[15]=f,m[16]=d,m[17]=u):u=m[17],u}function s(e){let{item:r}=e;return(0,t.jsxs)("div",{className:"bg-card/25 ring-foreground/[0.07] flex flex-col justify-end gap-6 rounded-(--radius) border border-transparent p-8 ring-1",children:[(0,t.jsx)("p",{className:'text-foreground self-end text-balance before:mr-1 before:content-["\\201C"] after:ml-1 after:content-["\\201D"]',children:r.quote||r.description}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"ring-foreground/10 aspect-square size-9 overflow-hidden rounded-lg border border-transparent shadow-md ring-1 shadow-black/15",children:(0,t.jsx)(i.LazyImage,{src:r.image?.src||r.avatar?.src||"",alt:r.image?.alt||r.avatar?.alt||r.name||"",className:"h-full w-full object-cover"})}),(0,t.jsxs)("h3",{className:"sr-only",children:[r.name,", ",r.role||r.title]}),(0,t.jsxs)("div",{className:"space-y-px",children:[(0,t.jsxs)("p",{className:"text-sm font-medium",children:[r.name," "]}),(0,t.jsx)("p",{className:"text-muted-foreground text-xs",children:r.role||r.title})]})]})]})}e.s(["Testimonials",()=>n])},140880,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(184499),a=e.i(819023);function n(e){let n,c,d,u,m,h,p,f,x,g,v,b=(0,r.c)(28),{section:w,className:y}=e;if(b[0]!==w.items){e:{let e=w.items?.filter(o);if(!e?.length){n=null;break e}n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(l)}}b[0]=w.items,b[1]=n}else n=b[1];let j=n,N=`py-16 md:py-24 ${y}`;b[2]!==j?(c=j&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j)}}),b[2]=j,b[3]=c):c=b[3],b[4]!==w.title?(d=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:w.title}),b[4]=w.title,b[5]=d):d=b[5],b[6]!==w.description?(u=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:w.description}),b[6]=w.description,b[7]=u):u=b[7],b[8]!==d||b[9]!==u?(m=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[d,u]})}),b[8]=d,b[9]=u,b[10]=m):m=b[10],b[11]!==w.items?(h=w.items?.map(s),b[11]=w.items,b[12]=h):h=b[12],b[13]!==h?(p=(0,t.jsx)(i.Accordion,{type:"single",collapsible:!0,className:"bg-muted dark:bg-muted/50 w-full rounded-2xl p-1",children:h}),b[13]=h,b[14]=p):p=b[14];let _=w.tip||"";
9return b[15]!==_?(f=(0,t.jsx)("p",{className:"text-muted-foreground mt-6 px-8",dangerouslySetInnerHTML:{__html:_}}),b[15]=_,b[16]=f):f=b[16],b[17]!==f||b[18]!==p?(x=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsxs)("div",{className:"mx-auto mt-12 max-w-full",children:[p,f]})}),b[17]=f,b[18]=p,b[19]=x):x=b[19],b[20]!==x||b[21]!==m?(g=(0,t.jsxs)("div",{className:"mx-auto max-w-full px-4 md:max-w-3xl md:px-8",children:[m,x]}),b[20]=x,b[21]=m,b[22]=g):g=b[22],b[23]!==w.id||b[24]!==g||b[25]!==N||b[26]!==c?(v=(0,t.jsxs)("section",{id:w.id,className:N,children:[c,g]}),b[23]=w.id,b[24]=g,b[25]=N,b[26]=c,b[27]=v):v=b[27],v}function s(e,r){return(0,t.jsxs)("div",{className:"group",children:[(0,t.jsxs)(i.AccordionItem,{value:e.question||e.title||"",className:"data-[state=open]:bg-card dark:data-[state=open]:bg-muted peer rounded-xl border-none px-7 py-1 data-[state=open]:border-none data-[state=open]:shadow-sm",children:[(0,t.jsx)(i.AccordionTrigger,{className:"cursor-pointer text-base hover:no-underline",children:e.question||e.title||""}),(0,t.jsx)(i.AccordionContent,{children:(0,t.jsx)("p",{className:"text-base",children:e.answer||e.description||""})})]}),(0,t.jsx)("hr",{className:"mx-7 border-dashed group-last:hidden peer-data-[state=open]:opacity-0"})]},r)}function l(e){return{"@type":"Question",name:e.question||e.title,acceptedAnswer:{"@type":"Answer",text:e.answer||e.description}}}function o(e){return(e.question||e.title)&&(e.answer||e.description)}e.s(["Faq",()=>n])},471061,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(462297),a=e.i(692604),a=a,n=e.i(117550),n=n,s=e.i(779342),l=e.i(511398),o=e.i(819023),c=e.i(526683);function d({section:e,className:d}){let[u,m]=(0,r.useState)(""),[h,p]=(0,r.useState)(!1),f=async()=>{if(u&&e.submit?.action)try{p(!0);let t=await fetch(e.submit.action,{method:"POST",body:JSON.stringify({email:u})});if(!t.ok)throw Error(`request failed with status ${t.status}`);let{code:r,message:i,data:a}=await t.json();if(0!==r)throw Error(i);p(!1),i&&s.toast.success(i)}catch(e){p(!1),s.toast.error(e.message||"subscribe failed")}};return(0,t.jsx)("section",{id:e.id,className:(0,c.cn)("py-16 md:py-24",e.className,d),children:(0,t.jsx)("div",{className:"mx-auto max-w-5xl px-6",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)(o.ScrollAnimation,{children:(0,t.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:e.title})}),(0,t.jsx)(o.ScrollAnimation,{delay:.15,children:(0,t.jsx)("p",{className:"mt-4",children:e.description})}),(0,t.jsx)(o.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"mx-auto mt-10 max-w-xl overflow-hidden lg:mt-12",children:(0,t.jsxs)("div",{className:"bg-background has-[input:focus]:ring-muted relative grid grid-cols-[1fr_auto] items-center overflow-hidden rounded-[calc(var(--radius)+0.75rem)] border pr-3 shadow shadow-zinc-950/5 has-[input:focus]:ring-2",children:[(0,t.jsx)(a.default,{className:"text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5"}),(0,t.jsx)("input",{placeholder:e.submit?.input?.placeholder||"Enter your email",className:"h-14 w-full bg-transparent pl-12 focus:outline-none",type:"email",required:!0,"aria-required":"true","aria-invalid":!u,"aria-describedby":"email-error",value:u,onChange:e=>m(e.target.value)}),e.submit?.button&&(0,t.jsx)("div",{className:"md:pr-1.5 lg:pr-0",children:(0,t.jsxs)(l.Button,{"aria-label":"submit",className:"rounded-(--radius)",onClick:f,disabled:h,type:"submit",children:[h?(0,t.jsx)(i.Loader2,{className:"animate-spin"}):(0,t.jsx)("span",{className:"hidden md:block",children:e.submit.button.title}),(0,t.jsx)(n.default,{className:"relative mx-auto size-5 md:hidden",strokeWidth:2})]})})]})})})]})})})}e.s(["Subscribe",()=>d],471061)},496831,e=>{"use strict";let t=(0,e.i(889522).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["default",()=>t])},900972,e=>{"use strict";let t=(0,e.i(889522).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["default",()=>t])},427777,e=>{"use strict";let t=(0,e.i(889522).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["default",()=>t])},692604,117550,e=>{"use strict";var t=e.i(889522);let r=(0,t.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["default",()=>r],692604);
9let i=(0,t.default)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);e.s(["default",()=>i],117550)},475507,e=>{"use strict";let t=(0,e.i(889522).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",()=>t])},792978,e=>{"use strict";let t=(0,e.i(889522).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["default",()=>t])},245193,e=>{"use strict";let t=(0,e.i(889522).default)("sparkles",[["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"}
9],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",()=>t])},891397,e=>{"use strict";let t=(0,e.i(889522).default)("star",[["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"}]]);e.s(["default",()=>t])},905342,e=>{"use strict";let t=(0,e.i(889522).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["default",()=>t])},239050,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(98160),a=e.i(905342),a=a,n=e.i(199978);e.i(741820);var s=e.i(331597),l=e.i(511398),o=e.i(943592),c=e.i(526683),d=e.i(167730);let u=e=>({initial:{opacity:0,y:20,filter:"blur(6px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:e,ease:[.22,1,.36,1]}});function m(e){let s,l,m,p,f,x,g,v,b,w,y,j=(0,r.c)(34),{section:N,className:_}=e,S=N.highlight_text??"",k=null;if(S){let e;j[0]!==S||j[1]!==N.title?(e=N.title?.split(S,2),j[0]=S,j[1]=N.title,j[2]=e):e=j[2],k=e}let C=N.id;j[3]!==_||j[4]!==N.className?(s=(0,c.cn)("relative flex min-h-[70vh] items-center justify-center overflow-hidden",N.className,_),j[3]=_,j[4]=N.className,j[5]=s):s=j[5],j[6]!==N.announcement?(l=N.announcement&&(0,t.jsx)(i.motion.div,{...u(0),className:"mb-8",children:(0,t.jsxs)(n.Link,{href:N.announcement.url||"",target:N.announcement.target||"_self",className:"hover:bg-background dark:hover:border-t-border bg-muted group mx-auto flex w-fit items-center gap-4 roun
9ded-full border p-1 pl-4 shadow-md shadow-zinc-950/5 transition-colors duration-300 dark:border-t-white/5 dark:shadow-zinc-950",children:[(0,t.jsx)("span",{className:"text-foreground text-sm",children:N.announcement.title}),(0,t.jsx)("span",{className:"dark:border-background block h-4 w-0.5 border-l bg-white dark:bg-zinc-700"}),(0,t.jsx)("div",{className:"bg-background group-hover:bg-muted size-6 overflow-hidden rounded-full duration-500",children:(0,t.jsxs)("div",{className:"flex w-12 -translate-x-1/2 duration-500 ease-in-out group-hover:translate-x-0",children:[(0,t.jsx)("span",{className:"flex size-6",children:(0,t.jsx)(a.default,{className:"m-auto size-3"})}),(0,t.jsx)("span",{className:"flex size-6",children:(0,t.jsx)(a.default,{className:"m-auto size-3"})})]})})]})}),j[6]=N.announcement,j[7]=l):l=j[7],j[8]===Symbol.for("react.memo_cache_sentinel")?(m=u(.15),j[8]=m):m=j[8],j[9]!==S||j[10]!==N.title||j[11]!==k?(p=(0,t.jsx)(i.motion.div,{...m,children:k&&k.length>0?(0,t.jsxs)("h1",{className:"text-foreground mx-auto max-w-6xl text-4xl font-bold tracking-tight text-balance sm:text-5xl md:text-6xl lg:text-7xl",children:[k[0],(0,t.jsx)(o.Highlighter,{action:"underline",color:"#FF9800",children:S}),k[1]]}):(0,t.jsx)("h1",{className:"text-foreground mx-auto max-w-6xl text-4xl font-bold tracking-tight text-balance sm:text-5xl md:text-6xl lg:text-7xl",children:N.title})}),j[9]=S,j[10]=N.title,j[11]=k,j[12]=p):p=j[12],j[13]===Symbol.for("react.memo_cache_sentinel")?(f=u(.3),j[13]=f):f=j[13];let E=N.description??"";return j[14]!==E?(x=(0,t.jsx)(i.motion.p,{...f,className:"text-muted-foreground mx-auto mt-6 max-w-6xl text-lg text-balance line-clamp-2 md:text-xl",dangerouslySetInnerHTML:{__html:E}}),j[14]=E,j[15]=x):x=j[15],j[16]!==N.buttons?(g=N.buttons&&N.buttons.length>0&&(0,t.jsx)(i.motion.div,{...u(.45),className:"mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row",children:N.buttons.map(h)}),j[16]=N.buttons,j[17]=g):g=j[17],j[18]!==N.tip?(v=N.tip&&(0,t.jsx)(i.motion.p,{...u(.6),className:"text-muted-foreground mt-8 text-sm",dangerouslySetInnerHTML:{__html:N.tip??""}}),j[18]=N.tip,j[19]=v):v=j[19],j[20]!==N.avatars_tip||j[21]!==N.show_avatars?(b=N.show_avatars&&(0,t.jsx)(i.motion.div,{...u(.75),className:"mt-8",children:(0,t.jsx)(d.SocialAvatars,{tip:N.avatars_tip||""})}),j[20]=N.avatars_tip,j[21]=N.show_avatars,j[22]=b):b=j[22],j[23]!==v||j[24]!==b||j[25]!==l||j[26]!==p||j[27]!==x||j[28]!==g?(w=(0,t.jsx)("div",{className:"relative z-10 container px-4 pb-12 md:pb-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl text-center",children:[l,p,x,g,v,b]})}),j[23]=v,j[24]=b,j[25]=l,j[26]=p,j[27]=x,j[28]=g,j[29]=w):w=j[29],j[30]!==N.id||j[31]!==w||j[32]!==s?(y=(0,t.jsx)("section",{id:C,className:s,children:w}),j[30]=N.id,j[31]=w,j[32]=s,j[33]=y):y=j[33],y}function h(e,r){return(0,t.jsx)(l.Button,{asChild:!0,size:"lg",variant:e.variant||"default",className:(0,c.cn)("min-w-[180px] rounded-full px-8 text-base font-semibold shadow-lg transition-all duration-300 hover:scale-105","outline"===e.variant?"bg-background/60 border-2 backdrop-blur-sm":""),children:(0,t.jsxs)(n.Link,{href:e.url??"",target:e.target??"_self",children:[e.icon&&(0,t.jsx)(s.SmartIcon,{name:e.icon,className:"mr-2"}),(0,t.jsx)("span",{children:e.title})]})},r)}e.s(["HomepageHero",()=>m],239050)},943592,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(176342);let n="http://www.w3.org/2000/svg";class s{constructor(e){this.seed=e}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function l(e,t,r,i,a){return{type:"path",ops:h(e,t,r,i,a)}}function o(e,t,r){let i=(e||[]).length;if(i>2){let a=[];for(let t=0;t<i-1;t++)a.push(...h(e[t][0],e[t][1],e[t+1][0],e[t+1][1],r));return t&&a.push(...h(e[i-1][0],e[i-1][1],e[0][0],e[0][1],r)),{type:"path",ops:a}}return 2===i?l(e[0][0],e[0][1],e[1][0],e[1][1],r):{type:"path",ops:[]}}function c(e,t,r,i,a){let n,s,l,o,c;return function(e,t,r,i){let[a,n]=x(i.increment,e,t,i.rx,i.ry,1,i.increment*u(.1,u(.4,1,r),r),r),s=f(a,null,r);if(!r.disableMultiStroke){let[a]=x(i.increment,e,t,i.rx,i.ry,1.5,0,r),n=f(a,null,r);s=s.concat(n)}return{estimatedPoints:n,opset:{type:"path",ops:s}}}(e,t,a,(n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(r/2,2)+Math.pow(i/2,2))/2)),s=2*Math.PI/Math.max(a.curveStepCount,a.curveStepCount/Math.sqrt(200)*n),l=Math.abs(r/2),o=Math.abs(i/2),c=1-a.curveFitting,l+=m(l*c,a),o+=m(o*c,a),{increment:s,rx:l,ry:o})).opset}function d(e){return e.randomizer||(e.randomizer=new s(e.seed||0)),e.randomizer.next()}function u(e,t,r,i=1){return r.roughness*i*(d(r)*(t-e)+e)}function m(e,t,r=1){return u(-e,e,t,r)}function h(e,t,r,i,a,n=!1){let s=n?a.disableMultiStrokeFill:a.disableMultiStroke,l=p(e,t,r,i,a,!0,!1);if(s)return l;let o=p(e,t,r,i,a,!0,!0);return l.concat(o)}function p(e,t,r,i,a,n,s){let l=Math.pow(e-r,2)+Math.pow(t-i,2),o=Math.sqrt(l),c=1;c=o<200?1:o>500?.4:-.0016668*o+1.233334;let u=a.maxRandomnessOffset||0;u*u*100>l&&(u=o/10);let h=u/2,p=.2+.2*d(a),f=a.bowing*a.maxRandomnessOffset*(i-t)/200,x=a.bowing*a.maxRandomnessOffset*(e-r)/200;f=m(f,a,c),x=m(x,a,c);let g=[];return n&&(s?g.push({op:"move",data:[e+m(h,a,c),t+m(h,a,c)]}):g.push({op:"move",data:[e+m(u,a,c),t+m(u,a,c)]})),s?g.push({op:"bcurveTo",data:[f+e+(r-e)*p+m(h,a,c),x+t+(i-t)*p+m(h,a,c),f+e+2*(r-e)*p+m(h,a,c),x+t+2*(i-t)*p+m(h,a,c),r+m(h,a,c),i+m(h,a,c)]}):g.push({op:"bcurveTo",data:[f+e+(r-e)*p+m(u,a,c),x+t+(i-t)*p+m(u,a,c),f+e+2*(r-e)*p+m(u,a,c),x+t+2*(i-t)*p+m(u,a,c),r+m(u,a,c),i+m(u,a,c)]}),g}function f(e,t,r){let i=e.length,a=[];if(i>3){let n=[],s=1-r.curveTightness;a.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<i;t++){let r=e[t];n[0]=[r[0],r[1]],n[1]=[r[0]+(s*e[t+1][0]-s*e[t-1][0])/6,r[1]+(s*e[t+1][1]-s*e[t-1][1])/6],n[2]=[e[t+1][0]+(s*e[t][0]-s*e[t+2][0])/6,e[t+1
9][1]+(s*e[t][1]-s*e[t+2][1])/6],n[3]=[e[t+1][0],e[t+1][1]],a.push({op:"bcurveTo",data:[n[1][0],n[1][1],n[2][0],n[2][1],n[3][0],n[3][1]]})}if(t&&2===t.length){let e=r.maxRandomnessOffset;a.push({op:"lineTo",data:[t[0]+m(e,r),t[1]+m(e,r)]})}}else 3===i?(a.push({op:"move",data:[e[1][0],e[1][1]]}),a.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===i&&a.push(...h(e[0][0],e[0][1],e[1][0],e[1][1],r));return a}function x(e,t,r,i,a,n,s,l){let o=[],c=[],d=m(.5,l)-Math.PI/2;c.push([m(n,l)+t+.9*i*Math.cos(d-e),m(n,l)+r+.9*a*Math.sin(d-e)]);for(let s=d;s<2*Math.PI+d-.01;s+=e){let e=[m(n,l)+t+i*Math.cos(s),m(n,l)+r+a*Math.sin(s)];o.push(e),c.push(e)}return c.push([m(n,l)+t+i*Math.cos(d+2*Math.PI+.5*s),m(n,l)+r+a*Math.sin(d+2*Math.PI+.5*s)]),c.push([m(n,l)+t+.98*i*Math.cos(d+s),m(n,l)+r+.98*a*Math.sin(d+s)]),c.push([m(n,l)+t+.9*i*Math.cos(d+.5*s),m(n,l)+r+.9*a*Math.sin(d+.5*s)]),[c,o]}function g(e,t){return{maxRandomnessOffset:2,roughness:"highlight"===e?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==e,disableMultiStrokeFill:!1,seed:t}}class v{constructor(e,t){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}let e=this._svg=document.createElementNS(n,"svg");e.setAttribute("class","rough-annotation");let t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";let r="highlight"===this._config.type;if(this._e.insertAdjacentElement(r?"beforebegin":"afterend",e),this._state="not-showing",r){let e=window.getComputedStyle(this._e).position;e&&"static"!==e||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}return!1}isSameRect(e,t){let r=(e,t)=>Math.round(e)===Math.round(t);return r(e.x,t.x)&&r(e.y,t.y)&&r(e.w,t.w)&&r(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
9hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let r=this._config;t&&((r=JSON.parse(JSON.stringify(this._config))).animate=!1);let i=this.rects(),a=0;i.forEach(e=>a+=e.w);let s=r.animationDuration||800,d=0;for(let t=0;t<i.length;t++){let u=s*(i[t].w/a);(function(e,t,r,i,a,s){let d=[],u=r.strokeWidth||2,m=function(e){let t=e.padding;if(t||0===t){if("number"==typeof t)return[t,t,t,t];if(Array.isArray(t)&&t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}return[5,5,5,5]}(r),h=void 0===r.animate||!!r.animate,p=r.iterations||2,f=+!!r.rtl,x=g("single",s);switch(r.type){case"underline":{let e=t.y+t.h+m[2];for(let r=f;r<p+f;r++)r%2?d.push(l(t.x+t.w,e,t.x,e,x)):d.push(l(t.x,e,t.x+t.w,e,x));break}case"strike-through":{let e=t.y+t.h/2;for(let r=f;r<p+f;r++)r%2?d.push(l(t.x+t.w,e,t.x,e,x)):d.push(l(t.x,e,t.x+t.w,e,x));break}case"box":{let e=t.x-m[3],r=t.y-m[0],i=t.w+(m[1]+m[3]),a=t.h+(m[0]+m[2]);for(let t=0;t<p;t++){var v,b,w,y;d.push(o([[v=e,b=r],[v+(w=i),b],[v+w,b+(y=a)],[v,b+y]],!0,x))}break}case"bracket":{let e=Array.isArray(r.brackets)?r.brackets:r.brackets?[r.brackets]:["right"],i=t.x-2*m[3],a=t.x+t.w+2*m[1],n=t.y-2*m[0],s=t.y+t.h+2*m[2];for(let r of e){let e;switch(r){case"bottom":e=[[i,t.y+t.h],[i,s],[a,s],[a,t.y+t.h]];break;case"top":e=[[i,t.y],[i,n],[a,n],[a,t.y]];break;case"left":e=[[t.x,n],[i,n],[i,s],[t.x,s]];break;case"right":e=[[t.x+t.w,n],[a,n],[a,s],[t.x+t.w,s]]}e&&d.push(o(e,!1,x))}break}case"crossed-off":{let e=t.x,r=t.y,i=e+t.w,a=r+t.h;for(let t=f;t<p+f;t++)t%2?d.push(l(i,a,e,r,x)):d.push(l(e,r,i,a,x));for(let t=f;t<p+f;t++)t%2?d.push(l(e,a,i,r,x)):d.push(l(i,r,e,a,x));break}case"circle":{let e=g("double",s),r=t.w+(m[1]+m[3]),i=t.h+(m[0]+m[2]),a=t.x-m[3]+r/2,n=t.y-m[0]+i/2,l=Math.floor(p/2),o=p-2*l;for(let t=0;t<l;t++)d.push(c(a,n,r,i,e));for(let e=0;e<o;e++)d.push(c(a,n,r,i,x));break}case"highlight":{let e=g("highlight",s);u=.95*t.h;let r=t.y+t.h/2;for(let i=f;i<p+f;i++)i%2?d.push(l(t.x+t.w,r,t.x,r,e)):d.push(l(t.x,r,t.x+t.w,r,e))}}if(d.length){let t=function(e){let t=[];for(let r of e){let e="";for(let i of r.ops){let r=i.data;switch(i.op){case"move":e.trim()&&t.push(e.trim()),e=`M${r[0]} ${r[1]} `;break;case"bcurveTo":e+=`C${r[0]} ${r[1]}, ${r[2]} ${r[3]}, ${r[4]} ${r[5]} `;break;case"lineTo":e+=`L${r[0]} ${r[1]} `}}e.trim()&&t.push(e.trim())}return t}(d),s=[],l=[],o=0,c=(e,t,r)=>e.setAttribute(t,r);for(let i of t){let t=document.createElementNS(n,"path");if(c(t,"d",i),c(t,"fill","none"),c(t,"stroke",r.color||"currentColor"),c(t,"stroke-width",""+u),h){let e=t.getTotalLength();s.push(e),o+=e}e.appendChild(t),l.push(t)}if(h){let e=0;for(let t=0;t<l.length;t++){let r=l[t],n=s[t],c=o?n/o*a:0,d=i+e,u=r.style;u.strokeDashoffset=""+n,u.strokeDasharray=""+n,u.animation=`rough-notation-dash ${c}ms ease-out ${d}ms forwards`,e+=c}}}})(e,i[t],r,d+this._animationDelay,u,this._seed),d+=u}this._lastSizes=i,this._state="showing"}rects(){let e=[];
9if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let r=0;r<t.length;r++)e.push(this.svgRect(this._svg,t[r]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let r=e.getBoundingClientRect();return{x:(t.x||t.left)-(r.x||r.left),y:(t.y||t.top)-(r.y||r.top),w:t.width,h:t.height}}}function b(e){let n,s,l,o,c=(0,r.c)(13),{children:d,action:u,color:m,strokeWidth:h,animationDuration:p,iterations:f,padding:x,multiline:g,isView:b}=e,w=void 0===u?"highlight":u,y=void 0===m?"#ffd1dc":m,j=void 0===h?1.5:h,N=void 0===p?600:p,_=void 0===f?2:f,S=void 0===x?2:x,k=void 0===g||g,C=(0,i.useRef)(null),E=(0,i.useRef)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(n={once:!0,margin:"-10%"},c[0]=n):n=c[0];let R=(0,a.useInView)(C,n),T=!(void 0!==b&&b)||R;return c[1]!==w||c[2]!==N||c[3]!==y||c[4]!==_||c[5]!==k||c[6]!==S||c[7]!==T||c[8]!==j?(s=()=>{if(!T)return;let e=C.current;if(!e)return;let t=new v(e,{type:w,color:y,strokeWidth:j,animationDuration:N,iterations:_,padding:S,multiline:k});E.current=t,E.current.show();let r=null,i=new ResizeObserver(()=>{r&&clearTimeout(r),r=setTimeout(()=>{t.hide(),t.show()},150)});return i.observe(e),()=>{r&&clearTimeout(r),e&&(new v(e,{type:w}).remove(),i.disconnect())}},l=[T,w,y,j,N,_,S,k],c[1]=w,c[2]=N,c[3]=y,c[4]=_,c[5]=k,c[6]=S,c[7]=T,c[8]=j,c[9]=s,c[10]=l):(s=c[9],l=c[10]),(0,i.useEffect)(s,l),c[11]!==d?(o=(0,t.jsx)("span",{ref:C,className:"relative inline-block bg-transparent",children:d}),c[11]=d,c[12]=o):o=c[12],o}e.s(["Highlighter",()=>b],943592)},167730,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(103979),a=e.i(891397),a=a,n=e.i(890210);let s=["/imgs/avatars/1.png","/imgs/avatars/2.png","/imgs/avatars/3.png","/imgs/avatars/4.png","/imgs/avatars/5.png","/imgs/avatars/6.png"];function l(e){let i,a,n,l=(0,r.c)(4),{tip:d}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("span",{className:"mx-4 inline-flex items-center -space-x-2",children:s.map(c)}),l[0]=i):i=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("div",{className:"flex items-center gap-1",children:Array.from({length:5}).map(o)}),l[1]=a):a=l[1],l[2]!==d?(n=(0,t.jsxs)("div",{className:"mx-auto mt-8 flex w-fit flex-col items-center gap-2 sm:flex-row",children:[i,(0,t.jsxs)("div",{className:"flex flex-col items-center gap-1 md:items-start",children:[a,(0,t.jsx)("p",{className:"text-muted-foreground text-left text-sm font-normal",children:d})]})]}),l[2]=d,l[3]=n):n=l[3],n}function o(e,r){return(0,t.jsx)(a.default,{className:"size-4 fill-yellow-400 text-yellow-400"},r)}function c(e,r){return(0,t.jsx)(n.Avatar,{className:"size-10 border",children:(0,t.jsx)(i.default,{width:40,height:40,src:e,alt:`User avatar ${r+1}`,loading:"lazy"})},r)}e.s(["SocialAvatars",()=>l],167730)},425871,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let i=e.r(165892);function a({reason:e,children:t}){if("undefined"==typeof window)throw Object.defineProperty(new i.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},938383,(e,t,r)=>{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return i}})},567298,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let i=e.r(466471),a=e.r(847257),n=e.r(559537),s=e.r(938383);function l({moduleIds:e}){if("undefined"!=typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let i=t.reactLoadableManifest;for(let t of e){if(!i[t])continue;let e=i[t].files;r.push(...e)}}return 0===r.length?null:(0,i.jsx)(i.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,a.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},254457,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978),a=e.i(776193),n=e.i(511398),s=e.i(526683);function l(e){let l,c,d,u,m,h,p,f,x,g,v,b,w=(0,r.c)(34),{section:y,className:j}=e;w[0]!==y.items?(l=y.items||[],w[0]=y.items,w[1]=l):l=w[1];let N=l,_=y.cta_button;w[2]!==N?(c=N.map(o),w[2]=N,w[3]=c):c=w[3];let S=c,k=y.id||y.name;if(w[4]!==j||w[5]!==y.className?(d=(0,s.cn)("pt-8 pb-24 md:pt-12 md:pb-36",y.className,j),w[4]=j,w[5]=y.className,w[6]=d):d=w[6],w[7]!==y.sr_only_title?(u=y.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:y.sr_only_title}),w[7]=y.sr_only_title,w[8]=u):u=w[8],w[9]!==y.title?(m=(0,t.jsx)("h2",{className:"mb-4 text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",children:y.title}),w[9]=y.title,w[10]=m):m=w[10],w[11]!==y.description?(h=(0,t.jsx)("p",{className:"text-muted-foreground text-lg",children:y.description}),w[11]=y.description,w[12]=h):h=w[12],w[13]!==u||w[14]!==m||w[15]!==h?(p=(0,t.jsxs)("div",{className:"mx-auto mb-12 max-w-4xl text-center",children:[u,m,h]}),w[13]=u,w[14]=m,w[15]=h,w[16]=p):p=w[16],w[17]!==S||w[18]!==N){let e;w[20]!==S?(e=(e,r)=>(0,t.jsx)(a.MusicShowcaseCard,{id:`track-${r}`,title:e.title??"",duration:e.duration??"00:00",audioUrl:e.audioUrl??"",imageUrl:e.image?.src??"",tags:e.tags??[],allTracks:S},r),w[20]=S,w[21]=e):e=w[21],f=N.map(e),w[17]=S,w[18]=N,w[19]=f}else f=w[19];return w[22]!==f?(x=(0,t.jsx)("div",{className:"mx-auto mb-12 grid max-w-6xl grid-cols-1 gap-6 lg:grid-cols-2",children:f}),w[22]=f,w[23]=x):x=w[23],w[24]!==_?(g=_&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(n.Button,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 h-12 rounded-full px-8 text-base font-semibold transition-colors",children:(0,t.jsxs)(i.Link,{href:_.url??"/ai-face-swap",children:["🎵 ",_.title??"Generate Rap Now"]})})}),w[24]=_,w[25]=g):g=w[25],w[26]!==x||w[27]!==g||w[28]!==p?(v=(0,t.jsxs)("div",{className:"container",children:[p,x,g]}),w[26]=x,w[27]=g,w[28]=p,w[29]=v):v=w[29],w[30]!==v||w[31]!==k||w[32]!==d?(b=(0,t.jsx)("section",{id:k,className:d,children:v}),w[30]=v,w[31]=k,w[32]=d,w[33]=b):b=w[33],b}function o(e,t){return{id:`track-${t}`,title:e.title??"",duration:e.duration??"00:00",audioUrl:e.audioUrl??"",imageUrl:e.image?.src??"",tags:e.tags??[]}}e.s(["ShowcasesAudio",()=>l])},669764,e=>{"use strict";var t,r,i,a,n,s,l=e.i(466471),o=e.i(884702),c=e.i(636680),d=e.i(462297),u=e.i(623099),m=e.i(247835),h=e.i(779342);e.i(741820);var p=e.i(331597),f=e.i(536355),x=e.i(511398),g=e.i(122913),v=e.i(422812),b=e.i(960568),w=e.i(581682),y=e.i(103979),j=e.i(851239),N=e.i(791768),_=e.i(526683);let S="stripe",k="creem",C="paypal",E="nowpayments",R="telegram";function T({callbackUrl:e,loading:t,setLoading:r,pricingItem:i,onCheckout:a,className:n}){let[s,c]=(0,o.useState)(null);if(e){let t=(0,u.useLocale)();t!==j.defaultLocale&&e.startsWith("/")&&!e.startsWith(`/${t}`)&&(e=`/${t}${e}`)}let m=async({provider:e})=>{e?i?a(i,e):h.toast.error("please select a pricing item"):h.toast.error("please select payment method")},p=i?.payment_providers,f=e=>!p||0===p.length||p.includes(e),g=[];return"true"===N.env.NEXT_PUBLIC_STRIPE_ENABLED&&f(S)&&g.push({name:S,title:"Str
9ipe",icon_url:"/imgs/icons/stripe.png",onClick:()=>m({provider:S})}),"true"===N.env.NEXT_PUBLIC_CREEM_ENABLED&&f(k)&&g.push({name:k,title:"Creem",icon_url:"/imgs/icons/creem.png",onClick:()=>m({provider:k})}),"true"===N.env.NEXT_PUBLIC_PAYPAL_ENABLED&&f(C)&&g.push({name:C,title:"Paypal",icon_url:"/imgs/icons/paypal.svg",onClick:()=>m({provider:C})}),"true"===N.env.NEXT_PUBLIC_NOWPAYMENTS_ENABLED&&f(E)&&g.push({name:E,title:"Crypto (NowPayments)",icon_url:"/imgs/icons/nowpayments.svg",onClick:()=>m({provider:E})}),"true"===N.env.NEXT_PUBLIC_TELEGRAM_ENABLED&&f(R)&&g.push({name:R,title:"Telegram Stars",icon_url:"/imgs/icons/telegram.svg",onClick:()=>m({provider:R})}),(0,l.jsx)("div",{className:(0,_.cn)("flex w-full items-center gap-2","flex-col justify-between",n),children:g.map(e=>(0,l.jsxs)(x.Button,{variant:"outline",className:(0,_.cn)("w-full gap-2"),disabled:t,onClick:()=>{e.onClick&&e.name?(c(e.name),e.onClick()):h.toast.error("invalid payment method")},children:[e.icon_url&&(0,l.jsx)(y.default,{src:e.icon_url,alt:e.title||e.name||"",width:24,height:24,className:"rounded-full"}),(0,l.jsx)("h3",{children:e.title}),s===e.name&&t&&(0,l.jsx)(d.Loader2,{className:"size-4 animate-spin"})]},e.name))})}function L(e){let t,r,i,a,n,s,o,c,d,u,h=(0,f.c)(49),{isLoading:p,pricingItem:y,onCheckout:j}=e,N=(0,m.useTranslations)("common.payment"),{isShowPaymentModal:_,setIsShowPaymentModal:S}=(0,b.useAppContext)();if((0,w.useMediaQuery)("(min-width: 768px)")){let e,t,r,i,a,n,s,o;return h[0]!==N?(e=N("choose_payment_method"),h[0]=N,h[1]=e):e=h[1],h[2]!==e?(t=(0,l.jsx)(g.DialogTitle,{children:e}),h[2]=e,h[3]=t):t=h[3],h[4]!==N?(r=N("choose_payment_method_description"),h[4]=N,h[5]=r):r=h[5],h[6]!==r?(i=(0,l.jsx)(g.DialogDescription,{children:r}),h[6]=r,h[7]=i):i=h[7],h[8]!==t||h[9]!==i?(a=(0,l.jsxs)(g.DialogHeader,{children:[t,i]}),h[8]=t,h[9]=i,h[10]=a):a=h[10],h[11]!==p||h[12]!==j||h[13]!==y?(n=(0,l.jsx)(T,{callbackUrl:"/",loading:p,setLoading:M,pricingItem:y,onCheckout:j}),h[11]=p,h[12]=j,h[13]=y,h[14]=n):n=h[14],h[15]!==a||h[16]!==n?(s=(0,l.jsxs)(g.DialogContent,{className:"sm:max-w-[425px]",children:[a,n]}),h[15]=a,h[16]=n,h[17]=s):s=h[17],h[18]!==_||h[19]!==S||h[20]!==s?(o=(0,l.jsx)(g.Dialog,{open:_,onOpenChange:S,children:s}),h[18]=_,h[19]=S,h[20]=s,h[21]=o):o=h[21],o}return h[22]!==N?(t=N("choose_payment_method"),h[22]=N,h[23]=t):t=h[23],h[24]!==t?(r=(0,l.jsx)(v.DrawerTitle,{children:t}),h[24]=t,h[25]=r):r=h[25],h[26]!==N?(i=N("choose_payment_method_description"),h[26]=N,h[27]=i):i=h[27],h[28]!==i?(a=(0,l.jsx)(v.DrawerDescription,{children:i}),h[28]=i,h[29]=a):a=h[29],h[30]!==r||h[31]!==a?(n=(0,l.jsxs)(v.DrawerHeader,{className:"text-left",children:[r,a]}),h[30]=r,h[31]=a,h[32]=n):n=h[32],h[33]!==p||h[34]!==j||h[35]!==y?(s=(0,l.jsx)(T,{callbackUrl:"/",loading:p,setLoading:P,pricingItem:y,onCheckout:j,className:"px-4"}),h[33]=p,h[34]=j,h[35]=y,h[36]=s):s=h[36],h[37]!==N?(o=N("cancel_title"),h[37]=N,h[38]=o):o=h[38],h[39]!==o?(c=(0,l.jsx)(v.DrawerFooter,{className:"pt-4",children:(0,l.jsx)(v.DrawerClose,{asChild:!0,children:(0,l.jsx)(x.Button,{variant:"outline",children:o})})}),h[39]=o,h[40]=c):c=h[40],h[41]!==n||h[42]!==s||h[43]!==c?(d=(0,l.jsxs)(v.DrawerContent,{children:[n,s,c]}),h[41]=n,h[42]=s,h[43]=c,h[44]=d):d=h[44],h[45]!==_||h[46]!==S||h[47]!==d?(u=(0,l.jsx)(v.Drawer,{open:_,onOpenChange:S,children:d}),h[45]=_,h[46]=S,h[47]=d,h[48]=u):u=h[48],u}function P(){}function M(){}(t={}).ONE_TIME="one-time",t.SUBSCRIPTION="subscription",t.RENEW="renew",(r={}).ONE_TIME="one-time",r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year",(i={}).PROCESSING="processing",i.SUCCESS="paid",i.FAILED="failed",i.CANCELED="canceled",(a={}).CREATE="create",a.RENEWAL="renew",(n={}).ACTIVE="active",n.PENDING_CANCEL="pending_cancel",n.CANCELED="canceled",n.TRIALING="trialing",n.EXPIRED="expired",n.PAUSED="paused",(s={}).CHECKOUT_SUCCESS="checkout.success",s.PAYMENT_SUCCESS="payment.success",s.PAYMENT_FAILED="payment.failed",s.PAYMENT_REFUNDED="payment.refunded",s.SUBSCRIBE_UPDATED="subscribe.updated",s.SUBSCRIBE_CANCELED="subscribe.canceled",s.EARLY_FRAUD_WARNING="early_fraud_warning.created";var I=e.i(615978),A=e.i(686247),z=e.i(638678),D=e.i(330771),O=e.i(788250);function H(e){return e&&parseFloat(e.replace(/[^0-9.]/g,""))||0}function F(e,t){return t<=0||e<=0?0:Math.round((1-e/t)*100)}function $(e){if(!e)return[];let t={currency:e.currency,amount:e.amount,price:e.price||"",original_price:e.original_price||""};return e.currencies&&e.currencies.length>0?[t,...e.currencies]:[t]}function B({pricing:e,className:t,currentSubscription:r,showHeader:i=!0}){let a=(0,u.useLocale)(),n=(0,m.useTranslations)("pages.pricing.pricing"),{user:s,isShowPaymentModal:f,setIsShowSignModal:g,setIsShowPaymentModal:v}=(0,b.useAppContext)(),[w,y]=(0,o.useState)(()=>{let t=e.items?.find(e=>e.product_id===r?.productId),i=e.groups?.find(e=>e.is_featured);return t?.group||i?.name||e.groups?.[0]?.name}),[j,S]=(0,o.useState)(null),[k,C]=(0,o.useState)(!1),[E,R]=(0,o.useState)(null),[T,P]=(0,o.useState)({});(0,o.useEffect)(()=>
9{if(e.items&&e.items.length>0){let t={};e.items.forEach(e=>{let r=$(e),i=function(e,t,r){if(0===e.length)return r;if("zh"===t){let t=e.find(e=>"cny"===e.currency.toLowerCase());if(t)return t.currency}return r}(r,a,e.currency),n=r.find(e=>e.currency.toLowerCase()===i.toLowerCase()),s=n?{...e,currency:n.currency,amount:n.amount,price:n.price,original_price:n.original_price,payment_product_id:n.payment_product_id||e.payment_product_id,payment_providers:n.payment_providers||e.payment_providers}:e;t[e.product_id]={selectedCurrency:i,displayedItem:s}}),P(t)}},[e.items,a]);let M=async e=>{if(!s)return void g(!0);let t=T[e.product_id]?.displayedItem||e;"true"===N.env.NEXT_PUBLIC_SELECT_PAYMENT_ENABLED?(S(t),v(!0)):B(t,N.env.NEXT_PUBLIC_DEFAULT_PAYMENT_PROVIDER)},B=async(e,t)=>{try{if(!s)return void g(!0);let r=(({paymentProvider:e})=>{let t={};return"true"===N.env.NEXT_PUBLIC_AFFONSO_ENABLED&&["stripe","creem"].includes(e)&&(t.affonso_referral=(0,O.getCookie)("affonso_referral")||""),"true"===N.env.NEXT_PUBLIC_PROMOTEKIT_ENABLED&&["stripe"].includes(e)&&(t.promotekit_referral=window.promotekit_referral?window.promotekit_referral:(0,O.getCookie)("promotekit_referral")||""),t})({paymentProvider:t||""}),i={product_id:e.product_id,currency:e.currency,locale:a||"en",payment_provider:t||"",metadata:r};C(!0),R(e.product_id);let n=await fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(401===n.status){C(!1),R(null),S(null),g(!0);return}if(!n.ok)throw Error(`request failed with status ${n.status}`);let{code:l,message:o,data:c}=await n.json();if(0!==l)throw Error(o);let{checkoutUrl:d}=c;if(!d)throw Error("checkout url not found");window.location.href=d}catch(e){h.toast.error("checkout failed: "+e.message),C(!1),R(null)}};return(0,o.useEffect)(()=>{if(e.items){let t=e.items.find(e=>e.is_featured);R(t?.product_id||e.items[0]?.product_id),C(!1)}},[e.items]),(0,l.jsxs)("section",{id:e.id,className:(0,_.cn)(i?"py-24 md:py-36":"pb-24 md:pb-36",e.className,t),children:[i&&(0,l.jsxs)("div",{className:"mx-auto mb-12 px-4 text-center md:px-8",children:[e.sr_only_title&&(0,l.jsx)("h1",{className:"sr-only",children:e.sr_only_title}),(0,l.jsx)("h2",{className:"mb-6 text-3xl font-bold text-pretty lg:text-4xl",children:e.title}),(0,l.jsx)("p",{className:"text-muted-foreground mx-auto mb-4 max-w-xl lg:max-w-none lg:text-lg",children:e.description})]}),(0,l.jsxs)("div",{className:"container",children:[e.groups&&e.groups.length>0&&(0,l.jsx)("div",{className:"mx-auto mb-8 flex w-full justify-center md:max-w-lg",children:(0,l.jsx)(D.Tabs,{value:w,onValueChange:y,children:(0,l.jsx)(D.TabsList,{className:"bg-muted/60 h-12 gap-1 rounded-xl p-1.5 backdrop-blur-sm",children:e.groups.map((t,r)=>{let i=w===t.name,a=(()=>{var r;if(!t.label)return null;if(!t.label.includes("{discount}"))return t.label;let i=e.items?.filter(e=>e.group===t.name)||[];if(0===i.length)return t.label;let a=function(e){if(!e||0===e.length)return 0;let t=0,r=0;return e.forEach(e=>{let i=H(e.price),a=H(e.original_price);a>0&&i>0&&(t+=F(i,a),r++)}),r>0?Math.round(t/r):0}(i.map(e=>({price:e.price,original_price:e.original_price})));return r=t.label,r.replace(/\{discount\}/g,`${a}`)})();return(0,l.jsx)(D.TabsTrigger,{value:t.name||"",className:(0,_.cn)("relative h-9 rounded-lg px-6 text-sm font-medium transition-all duration-300","data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-primary/25 data-[state=active]:shadow-lg","data-[state=inactive]:hover:bg-muted-foreground/10","focus-visible:ring-primary/50"),children:(0,l.jsxs)("span",{className:"relative z-10 flex items-center gap-2",children:[t.title,a&&(0,l.jsx)(I.Badge,{className:(0,_.cn)("ml-1 transition-colors duration-300",i?"bg-primary-foreground/20 text-primary-foreground":""),children:a})]})},r)})})})}),(0,l.jsx)("div",{className:`mx-auto mt-0 grid w-full gap-6 md:grid-cols-${e.items?.filter(e=>!e.group||e.group===w)?.length}`,children:e.items?.map((t,i)=>{var a;let s,o;if(t.group&&t.group!==w)return null;let u=!1;r&&r.productId===t.product_id&&(u=!0);let m=T[t.product_id],h=m?.displayedItem||t,f=m?.selectedCurrency||t.currency,g=$(t);return(0,l.jsxs)(A.Card,{className:"relative",children:[t.label&&(0,l.jsx)("span",{className:"absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full bg-linear-to-br/increasing from-purple-400 to-amber-300 px-3 py-1 text-xs font-medium text-amber-950 ring-1 ring-white/20 ring-offset-1 ring-offset-gray-950/5 ring-inset",children:t.label}),(0,l.jsxs)(A.CardHeader,{children:[(0,l.jsx)(A.CardTitle,{className:"font-medium",children:(0,l.jsx)("h3",{className:"text-sm font-medium",children:t.title})}),(0,l.jsxs)("div",{className:"my-3 flex items-baseline gap-2",children:[h.original_price&&(0,l.jsx)("span",{className:"text-muted-foreground text-sm line-through",children:h.original_price}),(0,l.jsxs)("div",{className:"my-3 block text-2xl font-semibold",children:[(0,l.jsx)("span",{className:"text-primary",children:h.price})," ",h.unit?(0,l.jsx)("span",{className:"text-muted-foreground text-sm font-normal",children:h.unit}):""]}),g.length>1&&(0,l.jsxs)(z.Select,{value:f,onValueChange:r=>((t,r)=>{let i=e.items?.find(e=>e.product_id===t);if(!i)return;let a=$(i).find(e=>e.currency.toLowerCase()===r.toLowerCase());if(a){let e={...i,currency:a.currency,amount:a.amount,price:a.price,original_price:a.original_price,payment_product_id:a.payment_product_id||i.payment_product_id,payment_providers:a.payment_providers||i.payment_providers};P(i=>({...i,[t]:{selectedCurrency:r,displayedItem:e}}))}})(t.product_id,r),children:[(0,l.jsx)(z.SelectTrigger,{size:"sm",className:"border-muted-foreground
9/30 bg-background/50 h-6 min-w-[60px] px-2 text-xs",children:(0,l.jsx)(z.SelectValue,{placeholder:"Currency"})}),(0,l.jsx)(z.SelectContent,{children:g.map(e=>(0,l.jsx)(z.SelectItem,{value:e.currency,className:"text-xs",children:e.currency.toUpperCase()},e.currency))})]})]}),(0,l.jsx)(A.CardDescription,{className:"text-sm",children:t.description}),t.tip&&(0,l.jsx)("span",{className:"text-muted-foreground text-sm",children:(s="year"===t.interval,o=function(e,t,r=!1){let i=H(e),a=H(t),n=function(e){if(!e)return"$";let t=e.match(/[^0-9.]/);return t?t[0]:"$"}(e);return{discount:F(i,a),annualTotal:r?(12*i).toFixed(1):"0",currencySymbol:n}}(h.price,h.original_price,s),a=t.tip,a.replace(/\{discount\}/g,`${o.discount}`).replace(/\{annual_total\}/g,`${o.currencySymbol}${o.annualTotal}`).replace(/\{currency\}/g,o.currencySymbol))}),u?(0,l.jsx)(x.Button,{variant:"outline",className:"mt-4 h-9 w-full px-4 py-2",disabled:!0,children:(0,l.jsx)("span",{className:"hidden text-sm md:block",children:n("current_plan")})}):(0,l.jsx)(x.Button,{onClick:()=>M(t),disabled:k,className:(0,_.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","mt-4 h-9 w-full px-4 py-2","bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md shadow-black/20"),children:k&&t.product_id===E?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Loader2,{className:"size-4 animate-spin"}),(0,l.jsx)("span",{className:"block",children:n("processing")})]}):(0,l.jsxs)(l.Fragment,{children:[t.button?.icon&&(0,l.jsx)(p.SmartIcon,{name:t.button?.icon,className:"size-4"}),(0,l.jsx)("span",{className:"block",children:t.button?.title})]})})]}),(0,l.jsxs)(A.CardContent,{className:"space-y-4",children:[(0,l.jsx)("hr",{className:"border-dashed"}),t.features_title&&(0,l.jsx)("p",{className:"text-sm font-medium",children:t.features_title}),(0,l.jsx)("ul",{className:"list-outside space-y-3 text-sm",children:t.features?.map((e,t)=>(0,l.jsxs)("li",{className:"flex items-center gap-2",children:[(0,l.jsx)(c.Check,{className:"size-3"}),e]},t))})]})]},i)})})]}),(0,l.jsx)(L,{isLoading:k,pricingItem:j,onCheckout:(e,t)=>B(e,t)})]})}e.s(["Pricing",()=>B],669764)},550573,e=>{"use strict";var t=e.i(245193);e.s(["Sparkles",()=>t.default])},822826,e=>{"use strict";var t=e.i(792978);e.s(["Zap",()=>t.default])},158664,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(71131),n=e.i(550573),s=e.i(427777),s=s,l=e.i(822826),o=e.i(371571);let c="pricing_banner_countdown_end_time";function d(e){let n,s,l,d,u,m,h,p,f,x,g,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P,M,I,A,z,D,O,H,F,$=(0,r.c)(72),{countdownLabel:B,banner:W}=e;$[0]===Symbol.for("react.memo_cache_sentinel")?(n={hours:0,minutes:59,seconds:59},$[0]=n):n=$[0];let[U,V]=(0,i.useState)(n),[X,q]=(0,i.useState)(59),[Y,K]=(0,i.useState)(0);$[1]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e,t=(0,o.cacheGet)(c);t?(e=parseInt(t,10))<=Date.now()&&(e=Date.now()+36e5,(0,o.cacheSet)(c,e.toString(),-1)):(e=Date.now()+36e5,(0,o.cacheSet)(c,e.toString(),-1));let r=setInterval(()=>{let t=Date.now(),r=Math.max(0,e-t),i=Math.floor(r/36e5),a=Math.floor(r%36e5/6e4),n=Math.floor(r%6e4/1e3);if(V(e=>(q(e.seconds),{hours:i,minutes:a,seconds:n})),K((1e3-r%1e3)/10),0===r){let t=Date.now()+36e5;(0,o.cacheSet)(c,t.toString(),-1),e=t}},50);return()=>clearInterval(r)},l=[],$[1]=s,$[2]=l):(s=$[1],l=$[2]),(0,i.useEffect)(s,l);let G=0===U.hours&&U.minutes<10,J=U.seconds!==X,Q=`h-5 w-5 transition-all duration-300 ${G?"animate-pulse text-red-400 drop-shadow-[0_0_8px_rgba(248,113,113,0.8)]":"text-white"}`;$[3]!==Q?(d=(0,t.jsx)(a.Clock,{className:Q}),$[3]=Q,$[4]=d):d=$[4],$[5]!==G?(u=G&&(0,t.jsxs)("span",{className:"absolute -top-1 -right-1 flex h-3 w-3",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-red-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex h-3 w-3 rounded-full bg-red-500"})]}),$[5]=G,$[6]=u):u=$[6],$[7]!==d||$[8]!==u?(m=(0,t.jsxs)("div",{className:"relative",children:[d,u]}),$[7]=d,$[8]=u,$[9]=m):m=$[9],$[10]!==B?(h=(0,t.jsx)("span",{className:"text-sm font-semibold tracking-wide uppercase",children:B}),$[10]=B,$[11]=h):h=$[11],$[12]!==m||$[13]!==h?(p=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[m,h]}),$[12]=m,$[13]=h,$[14]=p):p=$[14];let Z=`bg-background/95 relative min-w-[3.5rem] rounded-lg border-2 px-2.5 py-2 text-center shadow-lg backdrop-blur-sm transition-all duration-300 ${G?"animate-pulse border-red-400 shadow-lg shadow-red-500/50":"border-primary/30 hover:border-primary/50 hover:scale-105 hover:shadow-xl"} group`;$[15]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("div",{className:"from-primary/10 absolute inset-0 rounded-lg bg-gradient-to-br to-transparent opacity-0 transition-opacity group-hover:opacity-100"}),$[15]=f):f=$[15];let ee=`text-foreground relative text-2xl font-black tabular-nums transition-all duration-300 ${J?"scale-110":""}`,et=String(U.hours);$[16]!==et?(x=et.padStart(2,"0"),$[16]=et,$[17]=x):x=$[17],$[18]!==ee||$[19]!==x?(g=(0,t.jsx)("div",{className:ee,children:x}),$[18]=ee,$[19]=x,$[20]=g):g=$[20],$[21]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("div",{className:"absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/20 to-transparent transition-transform duration-1000 group-hover:translate-x-full"}),$[21]=v):v=$[21],$[22]!==Z||$[23]!==g?(b=(0,t.jsxs)("div",{className:Z,children:[f,g,v]}),$[22]=Z,$[23]=g,$[24]=b):b=$[24];let er=W.time_units?.hours||"hrs";$[25]!==er?(w=(0,t.jsx)("div",{className:"mt-1 text-[10px] font-bold tracking-wider text-white/80 uppercase",children:er}),$[25]=er,$[26]=w):w=$[26],$[27]!==b||$[28]!==w?(y=(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[b,w]}),$[27]=b,$[28]=w,$[29]=y):y=$[29],$[30]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)("div",{className:"flex items-center pb-5",children:(0,t.jsx)("span",{className:"animate-pulse-slow text-2xl font-bold text-white/80",children:":"})}),$[30]=j):j=$[30];let ei=`bg-background/95 relative min-w-[3.5rem] rounded-lg border-2 px-2.5 py-2 text-center shadow-lg backdrop-blur-sm transition-all duration-300 ${G?"animate-pulse border-red-400 shadow-lg shadow-red-500/50":"border-primary/30 hover:border-primary/50 hover:scale-105 hover:shadow-xl"} group`;$[31]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("div",{className:"from-primary/10 absolute inset-0 rounded-lg bg-gradient-to-br to-transparent opacity-0 transition-opacity group-hover:opacity-100"}),$[31]=N):N=$[31];let ea=`text-foreground relative text-2xl font-black tabular-nums transition-all duration-300 ${J?"scale-110":""}`,en=String(U.minutes);$[32]!==en?(_=en.padStart(2,"0"),$[32]=en,$[33]=_):_=$[33],$[34]!==ea||$[35]!==_?(S=(0,t.jsx)("div",{className:ea,children:_}),$[34]=ea,$[35]=_,$[36]=S):S=$[36],$[37]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("div",{className:"absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/20 to-transparent transition-transform duration-1000 group-hover:translate-x-full"}),$[37]=k):k=$[37],$[38]!==ei||$[39]!==S?(C=(0,t.jsxs)("div",{className:ei,children:[N,S,k]}),$[38]=ei,$[39]=S,$[40]=C):C=$[40];let es=W.time_units?.minutes||"min";$[41]!==es?(E=(0,t.jsx)("div",{className:"mt-1 text-[10px] font-bold tracking-wider text-white/80 uppercase",children:es}),$[41]=es,$[42]=E):E=$[42],$[43]!==C||$[44]!==E?(R=(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[C,E]}),$[43]=C,$[44]=E,$[45]=R):R=$[45],$[46]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("div",{className:"flex items-center pb-5",children:(0,t.jsx)("span",{className:"animate-pulse-slow text-2xl font-bold text-white/80",children:":"})}),$[46]=T):T=$[46];let el=`bg-background/95 relative min-w-[3.5rem] rounded-lg border-2 px-2.5 py-2 text-center shadow-lg backdrop-blur-sm transition-all duration-300 ${G?"animate-pulse border-red-400 shadow-lg shadow-red-500/50":"border-primary/30 hover:border-primary/50 hover:scale-105 hover:shadow-xl"} group`;$[47]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)("div",{className:"from-primary/10 absolute inset-0 rounded-lg bg-gradient-to-br to-transparent opacity-0 transition-opacity group-hover:opacity-100"}),$[47]=L):L=$[47];let eo=`text-foreground relative text-2xl font-black tabular-nums transition-all duration-150 ${J?"animate-flip":""}`,ec=String(U.seconds);$[48]!==ec?(P=ec.padStart(2,"0"),$[48]=ec,$[49]=P):P=$[49],$[50]!==eo||$[51]!==P?(M=(0,t.jsx)("div",{className:eo,children:P}),$[50]=eo,$[51]=P,$[52]=M):M=$[52];let ed=`${Y}%`;$[53]!==ed?(I=(0,t.jsx)("div",{className:"bg-primary/20 absolute right-0 bottom-0 left-0 h-0.5 overflow-hidden rounded-full",children:(0,t.jsx)("div",{className:"from-primary via-primary/80 to-primary/50 h-full bg-gradient-to-r shadow-[0_0_8px_rgba(var(--primary),0.5)] transition-all duration-75 ease-linear",style:{width:ed}})}),$[53]=ed,$[54]=I):I=$[54],$[55]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)("div",{className:"absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/20 to-transparent transition-transform duration-1000 group-hover:translate-x-full"}),$[55]=A):A=$[55],$[56]!==el||$[57]!==M||$[58]!==I?(z=(0,t.jsxs)("div",{className:el,children:[L,M,I,A]}),$[56]=el,$[57]=M,$[58]=I,$[59]=z):z=$[59];let eu=W.time_units?.seconds||"sec";return $[60]!==eu?(D=(0,t.jsx)("div",{className:"mt-1 text-[10px] font-bold tracking-wider text-white/80 uppercase",children:eu}),$[60]=eu,$[61]=D):D=$[61],$[62]!==z||$[63]!==D?(O=(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[z,D]}),$[62]=z,$[63]=D,$[64]=O):O=$[64],$[65]!==y||$[66]!==R||$[67]!==O?(H=(0,t.jsxs)("div",{className:"flex gap-1.5",children:[y,j,R,T,O]}),$[65]=y,$[66]=R,$[67]=O,$[68]=H):H=$[68],$[69]!==H||$[70]!==p?(F=(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 md:flex-row",children:[p,H]}),$[69]=H,$[70]=p,$[71]=F):F=$[71],F}function u(e){let a,o,c,u,h,p,f,x,g,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P,M,I,A,z=(0,r.c)(48),{banner:D,pricingItems:O}=e,[H,F]=(0,i.useState)(!0);z[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=setInterval(()=>{F(m)},2e3);return()=>clearInterval(e)},o=[],z[0]=a,z[1]=o):(a=z[0],o=z[1]),(0,i.useEffect)(a,o),z[2]!==O?(c=function(e){if(!e)return null;let t=0;
9return e.forEach(e=>{let r=function(e,t){if(!e||!t)return null;let r=parseFloat(e.replace(/[^0-9.-]+/g,"")),i=parseFloat(t.replace(/[^0-9.-]+/g,""));return isNaN(r)||isNaN(i)||r<=i?null:Math.round((r-i)/r*100)}(e.original_price,e.price);null!==r&&r>t&&(t=r)}),t>0?t:null}(O),z[2]=O,z[3]=c):c=z[3];let $=c;if(!D?.enabled||!$)return null;let B=`${$}%`;z[4]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("div",{className:"animate-gradient-x absolute inset-0 bg-gradient-to-r from-orange-500 via-red-500 to-pink-500"}),h=(0,t.jsx)("div",{className:"animate-gradient-y absolute inset-0 bg-gradient-to-br from-transparent via-black/10 to-transparent"}),z[4]=u,z[5]=h):(u=z[4],h=z[5]),z[6]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[(0,t.jsx)("div",{className:"animate-float-slow absolute top-1/4 left-1/4 h-2 w-2 rounded-full bg-white/30 blur-sm"}),(0,t.jsx)("div",{className:"animate-float-medium absolute top-1/2 left-3/4 h-3 w-3 rounded-full bg-white/20 blur-sm"}),(0,t.jsx)("div",{className:"animate-float-fast absolute top-3/4 left-1/2 h-2 w-2 rounded-full bg-white/25 blur-sm"}),(0,t.jsx)("div",{className:"animate-float-medium absolute top-1/3 right-1/4 h-2 w-2 rounded-full bg-white/30 blur-sm"}),(0,t.jsx)("div",{className:"animate-float-slow absolute top-2/3 left-1/3 h-1.5 w-1.5 rounded-full bg-yellow-300/40"}),(0,t.jsx)("div",{className:"animate-float-fast absolute top-1/2 right-1/3 h-2 w-2 rounded-full bg-yellow-300/30"})]}),z[6]=p):p=z[6],z[7]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[(0,t.jsx)("div",{className:"animate-shooting-star-1 absolute h-20 w-1 rotate-45 bg-gradient-to-b from-transparent via-white/50 to-transparent"}),(0,t.jsx)("div",{className:"animate-shooting-star-2 absolute h-16 w-1 rotate-45 bg-gradient-to-b from-transparent via-white/40 to-transparent"})]}),z[7]=f):f=z[7];let W=`h-10 w-10 text-yellow-300 transition-all duration-500 ${H?"scale-110 rotate-12":"scale-100 rotate-0"}`;z[8]!==W?(x=(0,t.jsx)(n.Sparkles,{className:W}),z[8]=W,z[9]=x):x=z[9],z[10]!==D.emoji?(g=(0,t.jsx)("span",{className:"animate-bounce-slow absolute -top-1 -right-1 text-4xl",children:D.emoji}),z[10]=D.emoji,z[11]=g):g=z[11],z[12]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("div",{className:"absolute inset-0 animate-pulse rounded-full bg-yellow-300/30 blur-xl"}),z[12]=v):v=z[12],z[13]!==g||z[14]!==x?(b=(0,t.jsx)("div",{className:"animate-bounce-slow flex items-center gap-2",children:(0,t.jsxs)("div",{className:"relative",children:[x,g,v]})}),z[13]=g,z[14]=x,z[15]=b):b=z[15],z[16]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)(l.Zap,{className:"h-5 w-5 animate-bounce text-yellow-300"}),z[16]=w):w=z[16];let U=D.badge_text||"Limited Time Only";z[17]!==U?(y=(0,t.jsx)("span",{className:"animate-pulse-slow rounded-full bg-yellow-300 px-3 py-1 text-xs font-black tracking-widest text-orange-900 uppercase shadow-lg shadow-yellow-300/50",children:U}),z[17]=U,z[18]=y):y=z[18],z[19]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(s.default,{className:"h-4 w-4 animate-bounce text-yellow-300"}),z[19]=j):j=z[19],z[20]!==y?(N=(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-center gap-2 md:justify-start",children:[w,y,j]}),z[20]=y,z[21]=N):N=z[21],z[22]!==D.title||z[23]!==B?(_=D.title?.replace("{discount}",B),z[22]=D.title,z[23]=B,z[24]=_):_=z[24],z[25]!==_?(S=(0,t.jsx)("h3",{className:"mb-1 text-3xl leading-tight font-black tracking-tight md:text-4xl",children:(0,t.jsx)("span",{className:"animate-shimmer inline-block bg-gradient-to-r from-yellow-200 via-white to-yellow-200 bg-clip-text text-transparent drop-shadow-[0_0_10px_rgba(255,255,255,0.5)]",children:_})}),z[25]=_,z[26]=S):S=z[26],z[27]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("span",{className:"inline-block animate-pulse",children:"⚡"}),z[27]=k):k=z[27];let V=D.subtitle||"Don't miss this exclusive deal!";z[28]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)("span",{className:"inline-block animate-pulse",children:"⚡"}),z[28]=C):C=z[28],z[29]!==V?(E=(0,t.jsxs)("p",{className:"mt-1 flex items-center justify-center gap-2 text-sm font-bold text-white/90 md:justify-start md:text-base",children:[k,V,C]}),z[29]=V,z[30]=E):E=z[30],z[31]!==N||z[32]!==S||z[33]!==E?(R=(0,t.jsxs)("div",{className:"text-center md:text-left",children:[N,S,E]}),z[31]=N,z[32]=S,z[33]=E,z[34]=R):R=z[34],z[35]!==b||z[36]!==R?(T=(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-white md:flex-row",children:[b,R]}),z[35]=b,z[36]=R,z[37]=T):T=z[37];let X=D.countdown_label||"Offer ends in:";return z[38]!==D||z[39]!==X?(L=(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(d,{countdownLabel:X,banner:D})}),z[38]=D,z[39]=X,z[40]=L):L=z[40],z[41]!==T||z[42]!==L?(P=(0,t.jsx)("div",{className:"relative rounded-2xl border border-white/10 px-4 py-6 shadow-2xl backdrop-blur-sm",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 lg:flex-row",children:[T,
9L]})})}),z[41]=T,z[42]=L,z[43]=P):P=z[43],z[44]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)("div",{className:"animate-pulse-slow absolute right-0 bottom-0 left-0 h-1 bg-gradient-to-r from-transparent via-yellow-300 to-transparent"}),I=(0,t.jsx)("div",{className:"absolute right-0 bottom-1 left-0 h-px bg-gradient-to-r from-transparent via-white/50 to-transparent"}),z[44]=M,z[45]=I):(M=z[44],I=z[45]),z[46]!==P?(A=(0,t.jsx)("section",{className:"container",children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden",children:[u,h,p,f,P,M,I]})}),z[46]=P,z[47]=A):A=z[47],A}function m(e){return!e}e.s(["PricingBanner",()=>u],158664)},175484,e=>{"use strict";var t=e.i(884702);let r={search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Choose a language",nextPage:"Next Page",previousPage:"Previous Page",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"},i=(0,t.createContext)({text:r});function a(e){let{text:t}=n();return t[e.label]}function n(){return(0,t.useContext)(i)}e.s(["I18nContext",0,i,"I18nLabel",()=>a,"defaultTranslations",0,r,"useI18n",()=>n])},41178,834355,e=>{"use strict";var t=e.i(884702);function r(e,i,a=function e(t,r){return Array.isArray(t)&&Array.isArray(r)?r.length!==t.length||t.some((t,i)=>e(t,r[i])):t!==r}){let[n,s]=(0,t.useState)(e);a(n,e)&&(i(e,n),s(e))}e.s(["useOnChange",()=>r],834355),e.i(368035),e.s([],41178)},187484,e=>{"use strict";let t=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let i,a=getComputedStyle(e,null);return r(a.overflowY,t)||r(a.overflowX,t)||!!(i=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(i.clientHeight<e.scrollHeight||i.clientWidth<e.scrollWidth)}return!1},a=(e,t,r,i,a,n,s,l)=>n<e&&s>t||n>e&&s<t?0:n<=e&&l<=r||s>=t&&l>=r?n-e-i:s>t&&l<r||n<e&&l>r?s-t+a:0,n=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,r)=>{var s,l,o,c;let d;if("undefined"==typeof document)return[];let{scrollMode:u,block:m,inline:h,boundary:p,skipOverflowHiddenElements:f}=r,x="function"==typeof p?p:e=>e!==p;if(!t(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;t(b)&&x(b);){if((b=n(b))===g){v.push(b);break}null!=b&&b===document.body&&i(b)&&!i(document.documentElement)||null!=b&&i(b,f)&&v.push(b)}let w=null!=(l=null==(s=window.visualViewport)?void 0:s.width)?l:innerWidth,y=null!=(c=null==(o=window.visualViewport)?void 0:o.height)?c:innerHeight,{scrollX:j,scrollY:N}=window,{height:_,width:S,top:k,right:C,bottom:E,left:R}=e.getBoundingClientRect(),{top:T,right:L,bottom:P,left:M}={top:parseFloat((d=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(d.scrollMarginRight)||0,bottom:parseFloat(d.scrollMarginBottom)||0,left:parseFloat(d.scrollMarginLeft)||0},I="start"===m||"nearest"===m?k-T:"end"===m?E+P:k+_/2-T+P,A="center"===h?R+S/2-M+L:"end"===h?C+L:R-M,z=[];for(let e=0;e<v.length;e++){let t=v[e],{height:r,width:n,top:s,right:l,bottom:o,left:c}=t.getBoundingClientRect();if("if-needed"===u&&k>=0&&R>=0&&E<=y&&C<=w&&(t===g&&!i(t)||k>=s&&E<=o&&R>=c&&C<=l))break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),f=parseInt(d.borderTopWidth,10),x=parseInt(d.borderRightWidth,10),b=parseInt(d.borderBottomWidth,10),T=0,L=0,P="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-x:0,M="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-b:0,D="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,O="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(g===t)T="start"===m?I:"end"===m?I-y:"nearest"===m?a(N,N+y,y,f,b,N+I,N+I+_,_):I-y/2,L="start"===h?A:"center"===h?A-w/2:"end"===h?A-w:a(j,j+w,w,p,x,j+A,j+A+S,S),T=Math.max(0,T+N),L=Math.max(0,L+j);else{T="start"===m?I-s-f:"end"===m?I-o+b+M:"nearest"===m?a(s,o,r,f,b+M,I,I+_,_):I-(s+r/2)+M/2,L="start"===h?A-c-p:"center"===h?A-(c+n/2)+P/2:"end"===h?A-l+x+P:a(c,l,n,p,x+P,A,A+S,S);let{scrollLeft:e,scrollTop:i}=t;T=0===O?0:Math.max(0,Math.min(i+T/O,t.scrollHeight-r/O+M)),L=0===D?0:Math.max(0,Math.min(e+L/D,t.scrollWidth-n/D+P)),I+=i-T,A+=e-L}z.push({el:t,top:T,left:L})}return z};function l(e,t){let r;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let i={top:parseFloat((r=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||
90,left:parseFloat(r.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let a="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:n,left:l}of s(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=n-i.top+i.bottom,t=l-i.left+i.right;r.scroll({top:e,left:t,behavior:a})}}e.s(["default",()=>l],187484)},147126,254828,818595,e=>{"use strict";var t=e.i(466471),r=e.i(834355);e.i(368035);var i=e.i(884702),a=e.i(187484),n=(0,i.createContext)([]),s=(0,i.createContext)({current:null});function l(){return(0,i.useContext)(n).at(-1)}function o(){return(0,i.useContext)(n)}function c({containerRef:e,children:r}){return(0,t.jsx)(s.Provider,{value:e,children:r})}function d({toc:e,single:r=!0,children:a}){let s=(0,i.useMemo)(()=>e.map(e=>e.url.split("#")[1]),[e]);return(0,t.jsx)(n.Provider,{value:function(e,t){let[r,a]=(0,i.useState)([]);return(0,i.useEffect)(()=>{let r=[],i=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&!r.includes(t.target.id)?r=[...r,t.target.id]:!t.isIntersecting&&r.includes(t.target.id)&&(r=r.filter(e=>e!==t.target.id));r.length>0&&a(r)},{rootMargin:t?"-80px 0% -70% 0%":"-20px 0% -40% 0%",threshold:1});function n(){let r=document.scrollingElement;if(!r)return;let i=r.scrollTop;i<=0&&t?a(e.slice(0,1)):i+r.clientHeight>=r.scrollHeight-6&&a(r=>r.length>0&&!t?e.slice(e.indexOf(r[0])):e.slice(-1))}for(let t of e){let e=document.getElementById(t);e&&i.observe(e)}return n(),window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n),i.disconnect()}},[t,e]),t?r.slice(0,1):r}(s,r),children:a})}var u=(0,i.forwardRef)(({onActiveChange:e,...n},l)=>{let c=(0,i.useContext)(s),d=o(),u=(0,i.useRef)(null),m=function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)})}}(u,l),h=d.includes(n.href.slice(1));return(0,r.useOnChange)(h,t=>{let r=u.current;r&&(t&&c.current&&(0,a.default)(r,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:c.current}),e?.(t))}),(0,t.jsx)("a",{ref:m,"data-active":h,...n,children:n.children})});u.displayName="TOCItem",e.s(["AnchorProvider",()=>d,"ScrollProvider",()=>c,"TOCItem",()=>u,"useActiveAnchor",()=>l,"useActiveAnchors",()=>o],254828),e.i(857073);var m=e.i(266438),h=e.i(175484);e.i(41178);var p=e.i(739188);function f(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let r=Number.MAX_VALUE,i=0;for(let a of t){let t=e.querySelector(`a[href="#${a}"]`);if(!t)continue;let n=getComputedStyle(t);r=Math.min(r,t.offsetTop+parseFloat(n.paddingTop)),i=Math.max(i,t.offsetTop+t.clientHeight-parseFloat(n.paddingBottom))}return[r,i-r]}function x(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}function g({containerRef:e,...a}){let n=o(),s=(0,i.useRef)(null),l=(0,p.useEffectEvent)(()=>{e.current&&s.current&&x(s.current,f(e.current,n))});return(0,i.useEffect)(()=>{if(!e.current)return;let t=e.current;l();let r=new ResizeObserver(l);return r.observe(t),()=>{r.disconnect()}},[e,l]),(0,r.useOnChange)(n,()=>{e.current&&s.current&&x(s.current,f(e.current,n))}),(0,t.jsx)("div",{ref:s,role:"none",...a})}e.s(["TocThumb",()=>g],818595);var v=e.i(315754);let b=(0,i.createContext)([]);function w(){return(0,i.useContext)(b)}function y({toc:e,children:r,...i}){return(0,t.jsx)(b,{value:e,children:(0,t.jsx)(d,{toc:e,...i,children:r})})}function j({ref:e,className:r,...a}){let n=(0,i.useRef)(null);return(0,t.jsx)("div",{ref:(0,v.mergeRefs)(n,e),className:(0,m.cn)("relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",r),...a,children:(0,t.jsx)(c,{containerRef:n,children:a.children})})}function N({ref:e,className:r,...a}){let n=(0,i.useRef)(null),s=w(),{text:l}=(0,h.useI18n)();return 0===s.length?(0,t.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:l.tocNoHeadings}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g,{containerRef:n,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,t.jsx)("div",{ref:(0,v.mergeRefs)(e,n),className:(0,m.cn)("flex flex-col border-s border-fd-foreground
9/10",r),...a,children:s.map(e=>(0,t.jsx)(_,{item:e},e.url))})]})}function _({item:e}){return(0,t.jsx)(u,{href:e.url,className:(0,m.cn)("prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",e.depth<=2&&"ps-3",3===e.depth&&"ps-6",e.depth>=4&&"ps-8"),children:e.title})}e.s(["TOCItems",()=>N,"TOCProvider",()=>y,"TOCScrollArea",()=>j,"useTOCItems",()=>w],147126)},387115,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(103979),a=e.i(147126),n=e.i(475507),n=n,s=e.i(496831),s=s,l=e.i(524666),l=l,o=e.i(247835);e.i(741820);var c=e.i(111643),d=e.i(866273),u=e.i(199978),m=e.i(331597);function h(e){let i,a,n=(0,r.c)(4),{items:s}=e;return n[0]!==s?(i=s.map(p),n[0]=s,n[1]=i):i=n[1],n[2]!==i?(a=(0,t.jsx)("nav",{className:"text-muted-foreground flex items-center text-sm md:px-3",children:i}),n[2]=i,n[3]=a):a=n[3],a}function p(e,r){let i=e.is_active;return(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)(u.Link,{href:e.url||"",className:`hover:text-foreground line-clamp-1 flex min-w-8 items-center gap-2 transition-colors ${i?"text-primary hover:text-primary font-medium":""}`,children:[e.icon&&(0,t.jsx)(m.SmartIcon,{name:e.icon,className:"size-4"}),e.title]}),!i&&(0,t.jsx)(d.ChevronRight,{className:"text-muted-foreground/40 mx-2 h-4 w-4"})]},r)}function f(e){let d,u,m,p,f,x,g,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P=(0,r.c)(59),{post:M}=e,I=(0,o.useTranslations)("pages.blog.messages");P[0]!==I?(d=I("crumb"),P[0]=I,P[1]=d):d=P[1],P[2]!==d?(u={title:d,url:"/blog",icon:"Newspaper",is_active:!1},P[2]=d,P[3]=u):u=P[3];let A=M.title||"",z=`/blog/${M.slug}`;P[4]!==A||P[5]!==z?(m={title:A,url:z,is_active:!0},P[4]=A,P[5]=z,P[6]=m):m=P[6],P[7]!==u||P[8]!==m?(p=[u,m],P[7]=u,P[8]=m,P[9]=p):p=P[9];let D=p,O=M.toc&&M.toc.length>0,H=M.author_name||M.author_image;P[10]!==O?(f=()=>O?"lg:col-span-9":"lg:col-span-12",P[10]=O,P[11]=f):f=P[11];let F=f;P[12]!==M.toc?(x=M.toc||[],P[12]=M.toc,P[13]=x):x=P[13];let $=M.id;P[14]!==D?(g=(0,t.jsx)(h,{items:D}),P[14]=D,P[15]=g):g=P[15],P[16]!==M.title?(v=(0,t.jsx)("h1",{className:"text-foreground mx-auto mb-4 w-full text-3xl font-bold md:max-w-4xl md:text-4xl",children:M.title}),P[16]=M.title,P[17]=v):v=P[17],P[18]!==M.author_image||P[19]!==M.author_name||P[20]!==H||P[21]!==I?(b=H&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[M.author_image?(0,t.jsx)(i.default,{src:M.author_image,alt:M.author_name||"Author",width:24,height:24,className:"size-6 rounded-full object-cover"}):(0,t.jsx)(l.default,{className:"size-4"}),(0,t.jsxs)("span",{children:[I("author"),M.author_name]})]}),P[18]=M.author_image,P[19]=M.author_name,P[20]=H,P[21]=I,P[22]=b):b=P[22],P[23]!==M.created_at||P[24]!==H?(w=H&&M.created_at&&(0,t.jsx)("span",{className:"text-muted-foreground/50",children:"·"}),P[23]=M.created_at,P[24]=H,P[25]=w):w=P[25],P[26]!==M.created_at?(y=M.created_at&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(n.default,{className:"size-4"})," ",M.created_at]}),P[26]=M.created_at,P[27]=y):y=P[27],P[28]!==b||P[29]!==w||P[30]!==y?(j=(0,t.jsxs)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-4",children:[b,w,y]}),P[28]=b,P[29]=w,P[30]=y,P[31]=j):j=P[31],P[32]!==v||P[33]!==j?(N=(0,t.jsxs)("div",{className:"mt-16 text-center",children:[v,j]}),P[32]=v,P[33]=j,P[34]=N):N=P[34],P[35]!==O||P[36]!==I?(_=O&&(0,t.jsx)("div",{className:"lg:col-span-3",children:(0,t.jsx)("div",{className:"sticky top-24 hidden md:block",children:(0,t.jsxs)("div",{className:"bg-muted/30 rounded-lg p-4",children:[(0,t.jsxs)("h2",{className:"text-foreground mb-4 flex items-center gap-2 font-semibold",children:[(0,t.jsx)(s.default,{className:"size-4"})," ",I("toc")]}),(0,t.jsx)(a.TOCItems,{})]})})}),P[35]=O,P[36]=I,P[37]=_):_=P[37];let B=F();return P[38]!==M.body||P[39]!==M.content?(S=M.body?(0,t.jsx)("div",{className:"docs text-foreground text-md space-y-4 font-normal *:leading-relaxed",children:M.body}):M.content&&(0,t.jsx)("div",{className:"prose prose-lg text-muted-foreground max-w-none space-y-6 *:leading-relaxed",children:(0,t.jsx)(c.MarkdownPreview,{content:M.content})}),P[38]=M.body,P[39]=M.content,P[40]=S):S=P[40],P[41]!==S?(k=(0,t.jsx)("article",{className:"p-0",children:S}),P[41]=S,P[42]=k):k=P[42],P[43]!==B||P[44]!==k?(C=(0,t.jsx)("div",{className:B,children:k}),P[43]=B,P[44]=k,P[45]=C):C=P[45],P[46]!==_||P[47]!==C?(E=(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:mt-12 lg:grid-cols-12",children:[_,C]}),P[46]=_,P[47]=C,P[48]=E):E=P[48],P[49]!==g||P[50]!==N||P[51]!==E?(R=(0,t.jsx)("div",{className:"py-4 md:py-6",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-6 md:px-8",children:[g,N,E]})}),P[49]=g,P[50]=N,P[51]=E,P[52]=R):R=P[52],P[53]!==M.id||P[54]!==R?(T=(0,t.jsx)("section",{id:$,children:R}),P[53]=M.id,P[54]=R,P[55]=T):T=P[55],P[56]!==T||P[57]!==x?(L=(0,t.jsx)(a.TOCProvider,{toc:x,children:T}),P[56]=T,P[57]=x,P[58]=L):L=P[58],L}e.s(["BlogDetail",()=>f],387115)},686247,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(526683);function a(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function n(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-header",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function s(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("leading-none font-semibold",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-title",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function l(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("text-muted-foreground text-sm",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-description",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function o(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-action",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function c(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("px-6",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-content",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}function d(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.cn)("flex items-center px-6 [.border-t]:pt-6",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-footer",className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}e.s(["Card",()=>a,"CardAction",()=>o,"CardContent",()=>c,"CardDescription",()=>l,"CardFooter",()=>d,"CardHeader",()=>n,"CardTitle",()=>s])},850260,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(199978),n=e.i(856270),s=e.i(526683);let l=i.forwardRef(({className:e,children:r,...i},a)=>(0,t.jsxs)(n.Root,{ref:a,className:(0,s.cn)("relative overflow-hidden",e),...i,children:[(0,t.jsx)(n.Viewport,{className:"h-full w-full rounded-[inherit]",children:r}),(0,t.jsx)(o,{}),(0,t.jsx)(n.Corner,{})]}));l.displayName=n.Root.displayName;let o=i.forwardRef(({className:e,orientation:r="vertical",...i},a)=>(0,t.jsx)(n.ScrollAreaScrollbar,{ref:a,orientation:r,className:(0,s.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...i,children:(0,t.jsx)(n.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));o.displayName=n.ScrollAreaScrollbar.displayName;var c=e.i(330771);function d(e){let n,d,h,p,f,x,g,v,b,w,y=(0,r.c)(22),{tabs:j,size:N}=e,_=(0,a.useRouter)();y[0]!==j?(n=j?.find(m)?.name||"",y[0]=j,y[1]=n):n=y[1];let[S,k]=(0,i.useState)(n);y[2]===Symbol.for("react.memo_cache_sentinel")?(d={}
9,y[2]=d):d=y[2],(0,i.useState)(d),y[3]!==_||y[4]!==S||y[5]!==j?(h=()=>{if(S){let e=j?.find(e=>e.name===S)||{};e.url&&_.push(e.url)}},y[3]=_,y[4]=S,y[5]=j,y[6]=h):h=y[6],y[7]!==S?(p=[S],y[7]=S,y[8]=p):p=y[8],(0,i.useEffect)(h,p);let C="sm"===N&&"h-8";return y[9]!==C?(f=(0,s.cn)(C),y[9]=C,y[10]=f):f=y[10],y[11]!==j?(x=j.map(u),y[11]=j,y[12]=x):x=y[12],y[13]!==f||y[14]!==x?(g=(0,t.jsx)(c.TabsList,{className:f,children:x}),y[13]=f,y[14]=x,y[15]=g):g=y[15],y[16]!==g||y[17]!==S?(v=(0,t.jsx)("div",{className:"flex items-center space-x-2",children:(0,t.jsx)(c.Tabs,{value:S,onValueChange:k,children:g})}),y[16]=g,y[17]=S,y[18]=v):v=y[18],y[19]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)(o,{orientation:"horizontal",className:"invisible"}),y[19]=b):b=y[19],y[20]!==v?(w=(0,t.jsx)("div",{className:"relative mb-8",children:(0,t.jsxs)(l,{className:"w-full lg:max-w-none",children:[v,b]})}),y[20]=v,y[21]=w):w=y[21],w}function u(e,r){return(0,t.jsx)(c.TabsTrigger,{value:e.name||"",children:e.title},r)}function m(e){return e.is_active}e.s(["Tabs",()=>d],850260)},330771,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(411960),a=e.i(526683);let n=i.Root,s=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(i.List,{ref:n,className:(0,a.cn)("border inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...r}));s.displayName=i.List.displayName;let l=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(i.Trigger,{ref:n,className:(0,a.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...r}));l.displayName=i.Trigger.displayName;let o=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(i.Content,{ref:n,className:(0,a.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...r}));o.displayName=i.Content.displayName,e.s(["Tabs",()=>n,"TabsContent",()=>o,"TabsList",()=>s,"TabsTrigger",()=>l])},856270,e=>{"use strict";var t=e.i(884702),r=e.i(6140),i=e.i(775827),a=e.i(352162),n=e.i(188625),s=e.i(935125),l=e.i(950074),o=e.i(385064),c=e.i(527069),d=e.i(291967),u=e.i(466471),m="ScrollArea",[h,p]=(0,a.createContextScope)(m),[f,x]=h(m),g=t.forwardRef((e,i)=>{let{__scopeScrollArea:a,type:s="hover",dir:o,scrollHideDelay:c=600,...d}=e,[m,h]=t.useState(null),[p,x]=t.useState(null),[g,v]=t.useState(null),[b,w]=t.useState(null),[y,j]=t.useState(null),[N,_]=t.useState(0),[S,k]=t.useState(0),[C,E]=t.useState(!1),[R,T]=t.useState(!1),L=(0,n.useComposedRefs)(i,e=>h(e)),P=(0,l.useDirection)(o);return(0,u.jsx)(f,{scope:a,type:s,dir:P,scrollHideDelay:c,scrollArea:m,viewport:p,onViewportChange:x,content:g,onContentChange:v,scrollbarX:b,onScrollbarXChange:w,scrollbarXEnabled:C,onScrollbarXEnabledChange:E,scrollbarY:y,onScrollbarYChange:j,scrollbarYEnabled:R,onScrollbarYEnabledChange:T,onCornerWidthChange:_,onCornerHeightChange:k,children:(0,u.jsx)(r.Primitive.div,{dir:P,...d,ref:L,style:{position:"relative","--radix-scroll-area-corner-width":N+"px","--radix-scroll-area-corner-height":S+"px",...e.style}})})});g.displayName=m;var v="ScrollAreaViewport",b=t.forwardRef((e,i)=>{let{__scopeScrollArea:a,children:s,nonce:l,...o}=e,c=x(v,a),d=t.useRef(null),m=(0,n.useComposedRefs)(i,d,c.onViewportChange);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,u.jsx)(r.Primitive.div,{"data-radix-scroll-area-viewport":"",...o,ref:m,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,u.jsx)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})});b.displayName=v;var w="ScrollAreaScrollbar",y=t.forwardRef((e,r)=>{let{forceMount:i,...a}=e,n=x(w,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:l}=n,o="horizontal"===e.orientation;return t.useEffect(()=>(o?s(!0):l(!0),()=>{o?s(!1):l(!1)}),[o,s,l]),"hover"===n.type?(0,u.jsx)(j,{...a,ref:r,forceMount:i}):"scroll"===n.type?(0,u.jsx)(N,{...a,ref:r,forceMount:i}):"auto"===n.type?(0,u.jsx)(_,{...a,ref:r,forceMount:i}):"always"===n.type?(0,u.jsx)(S,{...a,ref:r}):null});y.displayName=w;var j=t.forwardRef((e,r)=>{let{forceMount:a,...n}=e,s=x(w,e.__scopeScrollArea),[l,o]=t.useState(!1);return t.useEffect(()=>{let e=s.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),o(!0)},i=()=>{t=window.setTimeout(()=>
9o(!1),s.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",i),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",i)}}},[s.scrollArea,s.scrollHideDelay]),(0,u.jsx)(i.Presence,{present:a||l,children:(0,u.jsx)(_,{"data-state":l?"visible":"hidden",...n,ref:r})})}),N=t.forwardRef((e,r)=>{var a;let{forceMount:n,...s}=e,l=x(w,e.__scopeScrollArea),o="horizontal"===e.orientation,c=W(()=>h("SCROLL_END"),100),[m,h]=(a={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},t.useReducer((e,t)=>a[e][t]??e,"hidden"));return t.useEffect(()=>{if("idle"===m){let e=window.setTimeout(()=>h("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(e)}},[m,l.scrollHideDelay,h]),t.useEffect(()=>{let e=l.viewport,t=o?"scrollLeft":"scrollTop";if(e){let r=e[t],i=()=>{let i=e[t];r!==i&&(h("SCROLL"),c()),r=i};return e.addEventListener("scroll",i),()=>e.removeEventListener("scroll",i)}},[l.viewport,o,h,c]),(0,u.jsx)(i.Presence,{present:n||"hidden"!==m,children:(0,u.jsx)(S,{"data-state":"hidden"===m?"hidden":"visible",...s,ref:r,onPointerEnter:(0,d.composeEventHandlers)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})}),_=t.forwardRef((e,r)=>{let a=x(w,e.__scopeScrollArea),{forceMount:n,...s}=e,[l,o]=t.useState(!1),c="horizontal"===e.orientation,d=W(()=>{if(a.viewport){let e=a.viewport.offsetWidth<a.viewport.scrollWidth,t=a.viewport.offsetHeight<a.viewport.scrollHeight;o(c?e:t)}},10);return U(a.viewport,d),U(a.content,d),(0,u.jsx)(i.Presence,{present:n||l,children:(0,u.jsx)(S,{"data-state":l?"visible":"hidden",...s,ref:r})})}),S=t.forwardRef((e,r)=>{let{orientation:i="vertical",...a}=e,n=x(w,e.__scopeScrollArea),s=t.useRef(null),l=t.useRef(0),[o,c]=t.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=O(o.viewport,o.content),m={...a,sizes:o,onSizesChange:c,hasThumb:!!(d>0&&d<1),onThumbChange:e=>s.current=e,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:e=>l.current=e};function h(e,t){return function(e,t,r,i="ltr"){let a=H(r),n=t||a/2,s=r.scrollbar.paddingStart+n,l=r.scrollbar.size-r.scrollbar.paddingEnd-(a-n),o=r.content-r.viewport;return $([s,l],"ltr"===i?[0,o]:[-1*o,0])(e)}(e,l.current,o,t)}return"horizontal"===i?(0,u.jsx)(k,{...m,ref:r,onThumbPositionChange:()=>{if(n.viewport&&s.current){let e=F(n.viewport.scrollLeft,o,n.dir);s.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{n.viewport&&(n.viewport.scrollLeft=e)},onDragScroll:e=>{n.viewport&&(n.viewport.scrollLeft=h(e,n.dir))}}):"vertical"===i?(0,u.jsx)(C,{...m,ref:r,onThumbPositionChange:()=>{if(n.viewport&&s.current){let e=F(n.viewport.scrollTop,o);s.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{n.viewport&&(n.viewport.scrollTop=e)},onDragScroll:e=>{n.viewport&&(n.viewport.scrollTop=h(e))}}):null}),k=t.forwardRef((e,r)=>{let{sizes:i,onSizesChange:a,...s}=e,l=x(w,e.__scopeScrollArea),[o,c]=t.useState(),d=t.useRef(null),m=(0,n.useComposedRefs)(r,d,l.onScrollbarXChange);return t.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,u.jsx)(T,{"data-orientation":"horizontal",...s,ref:m,sizes:i,style:{bottom:0,left:"rtl"===l.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===l.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":H(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(l.viewport){var i,a;let n=l.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),i=n,a=r,i>0&&i<a&&t.preventDefault()}},onResize:()=>{d.current&&l.viewport&&o&&a({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:D(o.paddingLeft),paddingEnd:D(o.paddingRight)}})}})}),C=t.forwardRef((e,r)=>{let{sizes:i,onSizesChange:a,...s}=e,l=x(w,e.__scopeScrollArea),[o,c]=t.useState(),d=t.useRef(null),m=(0,n.useComposedRefs)(r,d,l.onScrollbarYChange);return t.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),(0,u.jsx)(T,{"data-orientation":"vertical",...s,ref:m,sizes:i,style:{to
9p:0,right:"ltr"===l.dir?0:void 0,left:"rtl"===l.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":H(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(l.viewport){var i,a;let n=l.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),i=n,a=r,i>0&&i<a&&t.preventDefault()}},onResize:()=>{d.current&&l.viewport&&o&&a({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:D(o.paddingTop),paddingEnd:D(o.paddingBottom)}})}})}),[E,R]=h(w),T=t.forwardRef((e,i)=>{let{__scopeScrollArea:a,sizes:l,hasThumb:o,onThumbChange:c,onThumbPointerUp:m,onThumbPointerDown:h,onThumbPositionChange:p,onDragScroll:f,onWheelScroll:g,onResize:v,...b}=e,y=x(w,a),[j,N]=t.useState(null),_=(0,n.useComposedRefs)(i,e=>N(e)),S=t.useRef(null),k=t.useRef(""),C=y.viewport,R=l.content-l.viewport,T=(0,s.useCallbackRef)(g),L=(0,s.useCallbackRef)(p),P=W(v,10);function M(e){S.current&&f({x:e.clientX-S.current.left,y:e.clientY-S.current.top})}return t.useEffect(()=>{let e=e=>{let t=e.target;j?.contains(t)&&T(e,R)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[C,j,R,T]),t.useEffect(L,[l,L]),U(j,P),U(y.content,P),(0,u.jsx)(E,{scope:a,scrollbar:j,hasThumb:o,onThumbChange:(0,s.useCallbackRef)(c),onThumbPointerUp:(0,s.useCallbackRef)(m),onThumbPositionChange:L,onThumbPointerDown:(0,s.useCallbackRef)(h),children:(0,u.jsx)(r.Primitive.div,{...b,ref:_,style:{position:"absolute",...b.style},onPointerDown:(0,d.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),S.current=j.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",y.viewport&&(y.viewport.style.scrollBehavior="auto"),M(e))}),onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,M),onPointerUp:(0,d.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=k.current,y.viewport&&(y.viewport.style.scrollBehavior=""),S.current=null})})})}),L="ScrollAreaThumb",P=t.forwardRef((e,t)=>{let{forceMount:r,...a}=e,n=R(L,e.__scopeScrollArea);return(0,u.jsx)(i.Presence,{present:r||n.hasThumb,children:(0,u.jsx)(M,{ref:t,...a})})}),M=t.forwardRef((e,i)=>{let{__scopeScrollArea:a,style:s,...l}=e,o=x(L,a),c=R(L,a),{onThumbPositionChange:m}=c,h=(0,n.useComposedRefs)(i,e=>c.onThumbChange(e)),p=t.useRef(void 0),f=W(()=>{p.current&&(p.current(),p.current=void 0)},100);return t.useEffect(()=>{let e=o.viewport;if(e){let t=()=>{f(),p.current||(p.current=B(e,m),m())};return m(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[o.viewport,f,m]),(0,u.jsx)(r.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...l,ref:h,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,d.composeEventHandlers)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,i=e.clientY-t.top;c.onThumbPointerDown({x:r,y:i})}),onPointerUp:(0,d.composeEventHandlers)(e.onPointerUp,c.onThumbPointerUp)})});P.displayName=L;var I="ScrollAreaCorner",A=t.forwardRef((e,t)=>{let r=x(I,e.__scopeScrollArea),i=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&i?(0,u.jsx)(z,{...e,ref:t}):null});A.displayName=I;var z=t.forwardRef((e,i)=>{let{__scopeScrollArea:a,...n}=e,s=x(I,a),[l,o]=t.useState(0),[c,d]=t.useState(0),m=!!(l&&c);return U(s.scrollbarX,()=>{let e=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(e),d(e)}),U(s.scrollbarY,()=>{let e=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(e),o(e)}),m?(0,u.jsx)(r.Primitive.div,{...n,ref:i,style:{width:l,height:c,position:"absolute",right:"ltr"===s.dir?0:void 0,left:"rtl"===s.dir?0:void 0,bottom:0,...e.style}}):null});function D(e){return e?parseInt(e,10):0}function O(e,t){let r=e/t;return isNaN(r)?0:r}function H(e){let t=O(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function F(e,t,r="ltr"){let i=H(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,n=t.scrollbar.size-a,s=t.content-t.viewport,l=(0,c.clamp)(e,"ltr"===r?[0,s]:[-1*s,0]);return $([0,s],[0,n-i])(l)}function $(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let i=(t[1]-t[0])/(e[1]-e[0]);return t[0]+i*(r-e[0])}}var B=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},i=0;return!function a(){let n={left:e.scrollLeft,top:e.scrollTop},s=r.left!==n.left,l=r.top!==n.top;(s||l)&&t(),r=n,i=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(i)};function W(e,r){let i=(0,s.useCallbackRef)(e),a=t.useRef(0);return t.useEffect(()=>()=>window.clearTimeout(a.current),[]),t.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(i,r)},[i,r])}function U(e,t){let r=(0,s.useCallbackRef)(t);(0,o.useLayoutEffect)(()=>{let t=0;if(e){let i=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(t),i.unobserve(e)}}},[e,r])}e.s(["Corner",()=>A,"Root",()=>g,"ScrollAreaScrollbar",()=>y,"ScrollAreaThumb",()=>P,"Scrollbar",()=>y,"Viewport",()=>b])},266925,e=>{"use strict";let t=(0,e.i(889522).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["default",()=>t])},71131,e=>{"use strict";var t=e.i(266925);e.s(["Clock",()=>t.default])},435624,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(819023);function a(e){let a,s,l,o,c,d,u,m=(0,r.c)(18),{section:h,className:p}=e,f=`py-12 md:py-24 ${h.className} ${p}`;return m[0]!==h.title?(a=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:h.title}),m[0]=h.title,m[1]=a):a=m[1],m[2]!==h.description?(s=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),m[2]=h.description,m[3]=s):s=m[3],m[4]!==a||m[5]!==s?(l=(0,t.jsx)(i.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"relative z-10 mx-auto max-w-xl space-y-6 text-center",children:[a,s]})}),m[4]=a,m[5]=s,m[6]=l):l=m[6],m[7]!==h.items?(o=h.items?.map(n),m[7]=h.items,m[8]=o):o=m[8],m[9]!==o?(c=(0,t.jsx)(i.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"grid gap-12 divide-y *:text-center md:grid-cols-3 md:gap-2 md:divide-x md:divide-y-0",children:o})}),m[9]=o,m[10]=c):c=m[10],m[11]!==l||m[12]!==c?(d=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[l,c]}),m[11]=l,m[12]=c,m[13]=d):d=m[13],m[14]!==h.id||m[15]!==f||m[16]!==d?(u=(0,t.jsx)("section",{id:h.id,className:f,children:d}),m[14]=h.id,m[15]=f,m[16]=d,m[17]=u):u=m[17],u}function n(e,r){return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("h3",{className:"sr-only",children:[e.title," ",e.description]}),(0,t.jsx)("div",{className:"text-primary text-5xl font-bold",children:e.title}),(0,t.jsx)("p",{children:e.description})]},r)}e.s(["Stats",()=>a])},944560,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978),a=e.i(331597),n=e.i(511398),s=e.i(819023),l=e.i(526683);function o(e){let i,a,n,o,d,u,m,h=(0,r.c)(19),{section:p,className:f}=e,x=p.id;h[0]!==f||h[1]!==p.className?(i=(0,l.cn)("py-16 md:py-24",p.className,f),h[0]=f,h[1]=p.className,h[2]=i):i=h[2],h[3]!==p.title?(a=(0,t.jsx)(s.ScrollAnimation,{children:(0,t.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:p.title})}),h[3]=p.title,h[4]=a):a=h[4];let g=p.description??"";return h[5]!==g?(n=(0,t.jsx)(s.ScrollAnimation,{delay:.15,children:(0,t.jsx)("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:g}})}),h[5]=g,h[6]=n):n=h[6],h[7]!==p.buttons?(o=p.buttons?.map(c),h[7]=p.buttons,h[8]=o):o=h[8],h[9]!==o?(d=(0,t.jsx)(s.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"mt-12 flex flex-wrap justify-center gap-4",children:o})}),h[9]=o,h[10]=d):d=h[10],h[11]!==a||h[12]!==n||h[13]!==d?(u=(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"text-center",children:[a,n,d]})}),h[11]=a,h[12]=n,h[13]=d,h[14]=u):u=h[14],h[15]!==p.id||h[16]!==i||h[17]!==u?(m=(0,t.jsx)("section",{id:x,className:i,children:u}),h[15]=p.id,h[16]=i,h[17]=u,h[18]=m):m=h[18],m}function c(e,r){return(0,t.jsx)(n.Button,{asChild:!0,size:e.size||"default",variant:e.variant||"default",children:(0,t.jsxs)(i.Link,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,t.jsx)(a.SmartIcon,{name:e.icon}),(0,t.jsx)("span",{children:e.title})]})},r)}e.s(["Cta",()=>o])},223833,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978);e.i(741820);var a=e.i(24963),n=e.i(331597),s=e.i(511398),l=e.i(819023),o=e.i(526683);function c(e){let i,n,s,c,m,h,p,f,x,g,v,b=(0,r.c)(29),{section:w,className:y}=e;b[0]!==y||b[1]!==w.className?(i=(0,o.cn)("overflow-hidden py-16 md:py-24",w.className,y),b[0]=y,b[1]=w.className,b[2]=i):i=b[2];let j=w.image?.src??"",N=w.image?.alt??"";return b[3]!==j||b[4]!==N?(n=(0,t.jsx)(l.ScrollAnimation,{direction:"left",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-[500px] flex-shrink-0 md:mx-0",children:(0,t.jsx)(a.LazyImage,{src:j,alt:N,className:"h-auto w-full rounded-lg object-cover"})})}),b[3]=j,b[4]=N,b[5]=n):n=b[5],b[6]!==w.title?(s=(0,t.jsx)(l.ScrollAnimation,{delay:.1,children:(0,t.jsx)("h2",{className:"text-foreground text-4xl font-semibold text-balance break-words",children:w.title})}),b[6]=w.title,b[7]=s):s=b[7],b[8]!==w.description?(c=(0,t.jsx)(l.ScrollAnimation,{delay:.2,children:(0,t.jsx)("p",{className:"text-md text-muted-foreground my-6 text-balance break-words",children:w.description})}),b[8]=w.description,b[9]=c):c=b[9],b[10]!==w.buttons?(m=w.buttons&&w.buttons.length>0&&(0,t.jsx)(l.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-start gap-2",children:w.buttons?.map(u)})}
9),b[10]=w.buttons,b[11]=m):m=b[11],b[12]!==s||b[13]!==c||b[14]!==m?(h=(0,t.jsxs)("div",{className:"w-full min-w-0 flex-1",children:[s,c,m]}),b[12]=s,b[13]=c,b[14]=m,b[15]=h):h=b[15],b[16]!==n||b[17]!==h?(p=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-8 pb-12 md:gap-24",children:[n,h]}),b[16]=n,b[17]=h,b[18]=p):p=b[18],b[19]!==w.items?(f=w.items?.map(d),b[19]=w.items,b[20]=f):f=b[20],b[21]!==f?(x=(0,t.jsx)(l.ScrollAnimation,{delay:.1,children:(0,t.jsx)("div",{className:"relative grid min-w-0 grid-cols-1 gap-x-3 gap-y-6 border-t pt-12 break-words sm:grid-cols-2 sm:gap-6 lg:grid-cols-4",children:f})}),b[21]=f,b[22]=x):x=b[22],b[23]!==x||b[24]!==p?(g=(0,t.jsxs)("div",{className:"container overflow-hidden",children:[p,x]}),b[23]=x,b[24]=p,b[25]=g):g=b[25],b[26]!==i||b[27]!==g?(v=(0,t.jsx)("section",{className:i,children:g}),b[26]=i,b[27]=g,b[28]=v):v=b[28],v}function d(e,r){return(0,t.jsxs)("div",{className:"min-w-0 space-y-3 break-words",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[e.icon&&(0,t.jsx)(n.SmartIcon,{name:e.icon,size:16}),(0,t.jsx)("h3",{className:"min-w-0 text-sm font-medium break-words",children:e.title})]}),(0,t.jsx)("p",{className:"text-muted-foreground min-w-0 text-sm break-words",children:e.description??""})]},r)}function u(e,r){return(0,t.jsx)(s.Button,{asChild:!0,variant:e.variant||"default",size:e.size||"default",children:(0,t.jsxs)(i.Link,{href:e.url??"",target:e.target??"_self",className:(0,o.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-9 px-4 py-2","bg-background ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200"),children:[e.icon&&(0,t.jsx)(n.SmartIcon,{name:e.icon,size:24}),e.title]})},r)}e.s(["FeaturesList",()=>c])},137114,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(79112),i=i;e.i(741820);var a=e.i(331597),n=e.i(819023),s=e.i(526683);function l(e){let l,o,c,d,u,m,h,p,f,x=(0,r.c)(24),{section:g,className:v}=e,b=g.id;return x[0]!==v||x[1]!==g.className?(l=(0,s.cn)("py-16 md:py-24",g.className,v),x[0]=v,x[1]=g.className,x[2]=l):l=x[2],x[3]!==g.label?(o=(0,t.jsx)("span",{className:"text-primary",children:g.label}),x[3]=g.label,x[4]=o):o=x[4],x[5]!==g.title?(c=(0,t.jsx)("h2",{className:"text-foreground mt-4 text-4xl font-semibold",children:g.title}),x[5]=g.title,x[6]=c):c=x[6],x[7]!==g.description?(d=(0,t.jsx)("p",{className:"text-muted-foreground mt-4 text-lg text-balance",children:g.description}),x[7]=g.description,x[8]=d):d=x[8],x[9]!==o||x[10]!==c||x[11]!==d?(u=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[o,c,d]})}),x[9]=o,x[10]=c,x[11]=d,x[12]=u):u=x[12],x[13]!==g.items?(m=g.items?.map((e,r)=>(0,t.jsx)("div",{className:"space-y-6",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("span",{className:"mx-auto flex size-6 items-center justify-center rounded-full bg-zinc-500/15 text-sm font-medium",children:r+1}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"mx-auto my-6 w-fit",children:e.icon&&(0,t.jsx)(a.SmartIcon,{name:e.icon,size:24})}),r<(g.items?.length??0)-1&&(0,t.jsx)(i.default,{className:"fill-muted stroke-primary absolute inset-y-0 right-0 my-auto mt-1 hidden translate-x-[150%] drop-shadow @3xl:block"})]}),(0,t.jsx)("h3",{className:"text-foreground mb-4 text-lg font-semibold",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground text-balance",children:e.description})]})},r)),x[13]=g.items,x[14]=m):m=x[14],x[15]!==m?(h=(0,t.jsx)(n.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"mt-20 grid gap-12 @3xl:grid-cols-4",children:m})}),x[15]=m,x[16]=h):h=x[16],x[17]!==u||x[18]!==h?(p=(0,t.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,t.jsxs)("div",{className:"@container relative container",children:[u,h]})}),x[17]=u,x[18]=h,x[19]=p):p=x[19],x[20]!==g.id||x[21]!==l||x[22]!==p?(f=(0,t.jsx)("section",{id:b,className:l,children:p}),x[20]=g.id,x[21]=l,x[22]=p,x[23]=f):f=x[23],f}e.s(["FeaturesStep",()=>l],137114)},225578,e=>{"use strict";function t(e,t,r){if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let a=r?.[e]??i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}e.s(["resolveElements",()=>t])},176342,e=>{"use strict";var t=e.i(884702),r=e.i(225578);let i={some:0,all:1};function a(e,{root:n,margin:s,amount:l,once:o=!1,initial:c=!1}={}){let[d,u]=(0,t.useState)(c);return(0,t.useEffect)(()=>
9{if(!e.current||o&&d)return;let t={root:n&&n.current||void 0,margin:s,amount:l};return function(e,t,{root:a,margin:n,amount:s="some"}={}){let l=(0,r.resolveElements)(e),o=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=o.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?o.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),o.delete(e.target))})},{root:a,rootMargin:n,threshold:"number"==typeof s?s:i[s]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(u(!0),o?void 0:()=>u(!1)),t)},[n,e,s,o,l]),d}e.s(["useInView",()=>a],176342)},819023,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(98160),n=e.i(176342);e.i(90985);var s=e.i(670983),l=e.i(535505);function o(e){let o,c,d,u,m,h,p,f,x,g,v,b,w,y=(0,r.c)(39),{children:j,className:N,delay:_,direction:S,stagger:k}=e,C=void 0===N?"":N,E=void 0===_?0:_,R=void 0===S?"up":S,T=(0,i.useRef)(null);y[0]===Symbol.for("react.memo_cache_sentinel")?(o={once:!0,margin:"-50px"},y[0]=o):o=y[0];let L=(0,n.useInView)(T,o);if(function(){l.hasReducedMotionListener.current||(0,s.initPrefersReducedMotion)();let[e]=(0,i.useState)(l.prefersReducedMotion.current);return e}()){let e;return y[1]!==j||y[2]!==C?(e=(0,t.jsx)("div",{ref:T,className:C,children:j}),y[1]=j,y[2]=C,y[3]=e):e=y[3],e}y[4]!==R?(c=()=>{switch(R){case"up":default:return{y:30,x:0};case"down":return{y:-30,x:0};case"left":return{x:30,y:0};case"right":return{x:-30,y:0}}},y[4]=R,y[5]=c):c=y[5];let P=c;y[6]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:0},y[6]=d):d=y[6],y[7]!==E?(u={hidden:d,visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:E}}},y[7]=E,y[8]=u):u=y[8];let M=u;y[9]!==P?(m={opacity:0,...P(),filter:"blur(4px)"},y[9]=P,y[10]=m):m=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(h=[.22,1,.36,1],y[11]=h):h=y[11],y[12]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:1,x:0,y:0,filter:"blur(0px)",transition:{duration:.6,ease:h}},y[12]=p):p=y[12],y[13]!==m?(f={hidden:m,visible:p},y[13]=m,y[14]=f):f=y[14];let I=f;if(void 0!==k&&k){let e,r,n=L?"visible":"hidden";if(y[15]!==j||y[16]!==I){let r;y[18]!==I?(r=e=>(0,t.jsx)(a.motion.div,{variants:I,children:e}),y[18]=I,y[19]=r):r=y[19],e=i.default.Children.map(j,r),y[15]=j,y[16]=I,y[17]=e}else e=y[17];return y[20]!==C||y[21]!==M||y[22]!==n||y[23]!==e?(r=(0,t.jsx)(a.motion.div,{ref:T,variants:M,initial:"hidden",animate:n,className:C,children:e}),y[20]=C,y[21]=M,y[22]=n,y[23]=e,y[24]=r):r=y[24],r}return y[25]!==P?(x={opacity:0,...P(),filter:"blur(4px)"},y[25]=P,y[26]=x):x=y[26],y[27]!==P||y[28]!==L?(g=L?{opacity:1,x:0,y:0,filter:"blur(0px)"}:{opacity:0,...P(),filter:"blur(4px)"},y[27]=P,y[28]=L,y[29]=g):g=y[29],y[30]===Symbol.for("react.memo_cache_sentinel")?(v=[.22,1,.36,1],y[30]=v):v=y[30],y[31]!==E?(b={duration:.6,delay:E,ease:v},y[31]=E,y[32]=b):b=y[32],y[33]!==j||y[34]!==C||y[35]!==x||y[36]!==g||y[37]!==b?(w=(0,t.jsx)(a.motion.div,{ref:T,initial:x,animate:g,transition:b,className:C,children:j}),y[33]=j,y[34]=C,y[35]=x,y[36]=g,y[37]=b,y[38]=w):w=y[38],w}e.s(["ScrollAnimation",()=>o],819023)},79112,e=>{"use strict";let t=(0,e.i(889522).default)("arrow-big-right",[["path",{d:"M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"1232du"}]]);e.s(["default",()=>t])},48787,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let i=e.r(466471),a=e.r(884702),n=e.r(425871),s=e.r(567298);function l(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},r=(0,a.lazy)(()=>t.loader().then(l)),c=t.loading;function d(e){let l=c?(0,i.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,d=o?a.Suspense:a.Fragment,u=t.ssr?(0,i.jsxs)(i.Fragment,{children:["undefined"==typeof window?(0,i.jsx)(s.PreloadChunks,{moduleIds:t.modules}):null,(0,i.jsx)(r,{...e})]}):(0,i.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(r,{...e})});return(0,i.jsx)(d,{...o?{fallback:l}:{},children:u})}return d.displayName="LoadableComponent",d}},110450,(e,t,r)=>{"use strict";
9Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let i=e.r(481258)._(e.r(48787));function a(e,t){let r={};"function"==typeof e&&(r.loader=e);let a={...r,...t};return(0,i.default)({...a,modules:a.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},693248,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(110450),a=e.i(103979),n=e.i(199978);e.i(741820);var s=e.i(331597),l=e.i(511398),o=e.i(526683),c=e.i(167730);let d=(0,i.default)(()=>e.A(9780).then(e=>e.Highlighter),{loadableGenerated:{modules:[839444]}}),u=(0,i.default)(()=>e.A(278573),{loadableGenerated:{modules:[33736]},ssr:!1});function m(e){let i,n,s,l,m,p,f,x,g,v,b,w=(0,r.c)(37),{section:y,className:j}=e,N=y.highlight_text??"",_=null;if(N){let e;w[0]!==N||w[1]!==y.title?(e=y.title?.split(N,2),w[0]=N,w[1]=y.title,w[2]=e):e=w[2],_=e}let S=y.image_slider,k=y.id;w[3]!==j||w[4]!==y.className?(i=(0,o.cn)("relative overflow-hidden py-10 md:py-14 lg:py-20",y.className,j),w[3]=j,w[4]=y.className,w[5]=i):i=w[5],w[6]!==N||w[7]!==y.title||w[8]!==_?(n=(0,t.jsx)("div",{className:"w-full",children:_&&_.length>0?(0,t.jsxs)("h1",{className:"text-foreground text-4xl font-bold tracking-tight text-balance sm:text-5xl lg:text-6xl",children:[_[0],(0,t.jsx)(d,{action:"underline",color:"#FF9800",children:N}),_[1]]}):(0,t.jsx)("h1",{className:"text-foreground text-4xl font-bold tracking-tight text-balance sm:text-5xl lg:text-6xl",children:y.title})}),w[6]=N,w[7]=y.title,w[8]=_,w[9]=n):n=w[9];let C=y.description??"";return w[10]!==C?(s=(0,t.jsx)("p",{className:"text-muted-foreground mt-6 max-w-xl text-lg leading-relaxed md:text-xl",dangerouslySetInnerHTML:{__html:C}}),w[10]=C,w[11]=s):s=w[11],w[12]!==y.buttons?(l=y.buttons&&y.buttons.length>0&&(0,t.jsx)("div",{className:"mt-8 flex flex-col gap-4 sm:flex-row",children:y.buttons.map(h)}),w[12]=y.buttons,w[13]=l):l=w[13],w[14]!==y.tip?(m=y.tip&&(0,t.jsx)("p",{className:"text-muted-foreground mt-6 text-sm",dangerouslySetInnerHTML:{__html:y.tip??""}}),w[14]=y.tip,w[15]=m):m=w[15],w[16]!==y.avatars_tip||w[17]!==y.show_avatars?(p=y.show_avatars&&(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(c.SocialAvatars,{tip:y.avatars_tip||""})}),w[16]=y.avatars_tip,w[17]=y.show_avatars,w[18]=p):p=w[18],w[19]!==n||w[20]!==s||w[21]!==l||w[22]!==m||w[23]!==p?(f=(0,t.jsxs)("div",{className:"flex flex-col items-center text-center lg:items-start lg:text-left",children:[n,s,l,m,p]}),w[19]=n,w[20]=s,w[21]=l,w[22]=m,w[23]=p,w[24]=f):f=w[24],w[25]!==S||w[26]!==y.image?(x=S?(0,t.jsx)(u,{beforeImage:S.before_image,afterImage:S.after_image,initialPosition:S.initial_position??50,maxHeight:"520px",containerClassName:"rounded-2xl shadow-2xl"}):y.image?(0,t.jsx)(a.default,{src:y.image.src,alt:y.image.alt||"",width:640,height:480,priority:!0,className:"w-full rounded-2xl shadow-2xl"}):null,w[25]=S,w[26]=y.image,w[27]=x):x=w[27],w[28]!==x?(g=(0,t.jsx)("div",{className:"flex items-center justify-center",children:x}),w[28]=x,w[29]=g):g=w[29],w[30]!==g||w[31]!==f?(v=(0,t.jsx)("div",{className:"container relative z-10 px-4",children:(0,t.jsxs)("div",{className:"mx-auto grid max-w-7xl items-center gap-12 lg:grid-cols-2 lg:gap-16",children:[f,g]})}),w[30]=g,w[31]=f,w[32]=v):v=w[32],w[33]!==y.id||w[34]!==v||w[35]!==i?(b=(0,t.jsx)("section",{id:k,className:i,children:v}),w[33]=y.id,w[34]=v,w[35]=i,w[36]=b):b=w[36],b}function h(e,r){return(0,t.jsx)(l.Button,{asChild:!0,size:"lg",variant:e.variant||"default",className:(0,o.cn)("min-w-[160px] rounded-full px-8 text-base font-semibold shadow-lg transition-all duration-300 hover:scale-105","outline"===e.variant?"bg-background/60 border-2 backdrop-blur-sm":""),children:(0,t.jsxs)(n.Link,{href:e.url??"",target:e.target??"_self",children:[e.icon&&(0,t.jsx)(s.SmartIcon,{name:e.icon,className:"mr-2"}),(0,t.jsx)("span",{children:e.title})]})},r)}e.s(["RightImageHero",()=>m])},421616,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(339191),n=e.i(98160),s=e.i(570172),l=e.i(866273),o=e.i(653668),c=e.i(199978);e.i(741820);var d=e.i(24963),u=e.i(331597),m=e.i(511398),h=e.i(526683);function p(e){let p,v,b,w,y,j,N,_,S,k,C,E,R,T,L,P,M,I,A,z,D,O,H=(0,r.c)(57),{section:F,className:$}=e;H[0]!==F?(p=F.groups||[],H[0]=F,H[1]=p):p=H[1];let B=p,[W,U]=(0,i.useState)(B.length>0?B[0].name:""),[V,X]=(0,i.useState)(null);e:{let e;if(!F.items){let e;H[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],H[2]=e):e=H[2],v=e;break e}if(!W||!B.length||"all"===W){v=F.items;break e}if(H[3]!==F.items||H[4]!==W){let t;H[6]!==W?(t=e=>e.group===W,H[6]=W,H[7]=t):t=H[7],e=F.items.filter(t),H[3]=F.items,H[4]=W,H[5]=e}else e=H[5];v=e}let q=v;H[8]!==q.length?(b=()=>{X(e=>null!==e?0===e?(q.length??1)-1:e-1:null)},H[8]=q.length,H[9]=b):b=H[9];let Y=b;H[10]!==q.length?(w=()=>{X(e=>null!==e?e===(q.length??1)-1?0:e+1:null)},H[10]=q.length,H[11]=w):w=H[11];let K=w;H[12]!==K||H[13]!==Y||H[14]!==V?(y=()=>{let e=e=>{null!==V&&("Escape"===e.key&&X(null),"ArrowLeft"===e.key&&Y(),"ArrowRight"===e.key&&K())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},j=[V,Y,K],H[12]=K,H[13]=Y,H[14]=V,H[15]=y,H[16]=j):(y=H[15],j=H[16]),(0,i.useEffect)(y,j);let G=F.id||F.name;return H[17]!==$||H[18]!==F.className?(N=(0,h.cn)("py-24 md:py-36",F.className,$),H[17]=$,H[18]=F.className,H[19]=N):N=H[19],H[20]===Symbol.for("react.memo_cache_sentinel")?(k={opacity:0,y:20},_={opacity:1,y:0},S={once:!0},H[20]=_,H[21]=S,H[22]=k):(_=H[20],S=H[21],k=H[22]),H[23]===Symbol.for("react.memo_cache_sentinel")?(C=[.22,1,.36,1],H[23]=C):C=H[23],H[24]===Symbol.for("react.memo_cache_sentinel")?(E={duration:.6,ease:C},H[24]=E):E=H[24],H[25]!==F.sr_only_title?(R=F.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:F.sr_only_title}),H[25]=F.sr_only_title,H[26]=R):R=H[26],H[27]!==F.title?(T=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:F.title}),H[27]=F.title,H[28]=T):T=H[28],H[29]!==F.description?(L=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 line-clamp-3 max-w-full md:max-w-5xl",children:F.description}),H[29]=F.description,H[30]=L):L=H[30],H[31]!==F.buttons?(P=F.buttons&&F.buttons.length>0&&(0,t.jsx)("div",{className:"container mx-auto mt-8 mb-12 flex flex-wrap justify-center gap-4",children:F.buttons.map(g)}),H[31]=F.buttons,H[32]=P):P=H[32],H[33]!==R||H[34]!==T||H[35]!==L||H[36]!==P?(M=(0,t.jsxs)(n.motion.div,{className:"container mb-12 text-center",initial:k,whileInView:_,viewport:S,transition:E,children:[R,T,L,P]}),H[33]=R,H[34]=T,H[35]=L,H[36]=P,H[37]=M):M=H[37],H[38]!==B||H[39]!==W?(I=B.length>0&&(0,t.jsx)(n.motion.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:B.map((e,r)=>{let i=W===e.name;return(0,t.jsx)(n.motion.button,{onClick:()=>U(e.name),className:(0,h.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",i?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,t.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,t.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,t.jsx)("span",{children:e.title})},e.name)})}),H[38]=B,H[39]=W,H[40]=I):I=H[40],H[41]!==q?(A=q.length>0?(0,t.jsx)("div",{className:"container mx-auto columns-1 gap-4 space-y-4 sm:columns-2 lg:columns-3 xl:columns-4",children:q.map((e,r)=>(0,t.jsxs)(n.motion.div,{className:"group relative cursor-zoom-in break-inside-avoid overflow-hidden rounded-xl",onClick:()=>X(r),initial:{opacity:0,y:30,scale:.95},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.02},children:[(0,t.jsx)(d.LazyImage,{src:e.image?.src??"",alt:e.image?.alt??"",className:"h-auto w-full transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end bg-black/60 p-6 opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:[(0,t.jsx)("h3",{className:"mb-2 translate-y-4 text-sm font-medium text-white transition-transform duration-300 group-hover:translate-y-0",children:e.title}),e.button&&(0,t.jsx)("div",{className:"mt-3 translate-y-4 transition-transform delay-100 duration-300 group-hover:translate-y-0",onClick:x,children:(0,t.jsx)(m.Button,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 text-primary-foreground h-8 w-full border-0 px-1 py-1.5 text-sm font-medium",children:(0,t.jsxs)(c.Link,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,t.jsx)(u.SmartIcon,{name:e.button.icon}),e.button.title]})})})]})]},r))}):(0,t.jsx)(n.motion.div,{className:"text-muted-foreground container text-center",initial:{opacity:0}
9,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),H[41]=q,H[42]=A):A=H[42],H[43]!==q||H[44]!==K||H[45]!==Y||H[46]!==V?(z=null!==V&&q&&q.length>0&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 p-4 backdrop-blur-sm md:p-8",onClick:()=>X(null),children:[(0,t.jsx)("button",{className:"absolute top-4 right-4 z-50 text-white/70 transition-colors hover:text-white",onClick:()=>X(null),children:(0,t.jsx)(o.X,{className:"size-8"})}),(0,t.jsx)("button",{className:"absolute top-1/2 left-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),Y()},children:(0,t.jsx)(s.ChevronLeft,{className:"size-8 md:size-12"})}),(0,t.jsx)("button",{className:"absolute top-1/2 right-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),K()},children:(0,t.jsx)(l.ChevronRight,{className:"size-8 md:size-12"})}),(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"relative flex h-full w-full items-center justify-center",onClick:f,children:(0,t.jsxs)("div",{className:"relative max-h-full max-w-full overflow-hidden rounded-lg",children:[(0,t.jsx)(d.LazyImage,{src:q[V].image?.src??"",alt:q[V].image?.alt??"",className:"h-auto max-h-[90vh] w-auto max-w-full object-contain"}),(0,t.jsxs)("div",{className:"absolute right-0 bottom-0 left-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent p-6 text-white",children:[(0,t.jsx)("h3",{className:"mb-2 text-2xl font-bold",children:q[V].title}),q[V].description&&(0,t.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:q[V].description}),q[V].button&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(m.Button,{asChild:!0,variant:q[V].button.variant||"default",size:q[V].button.size||"default",className:"bg-primary hover:bg-primary/90 h-8 border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,t.jsxs)(c.Link,{href:q[V].button.url||"",target:q[V].button.target||"_self",children:[q[V].button.icon&&(0,t.jsx)(u.SmartIcon,{name:q[V].button.icon,className:"text-white"}),q[V].button.title]})})})]})]})},V)]}),H[43]=q,H[44]=K,H[45]=Y,H[46]=V,H[47]=z):z=H[47],H[48]!==z?(D=(0,t.jsx)(a.AnimatePresence,{children:z}),H[48]=z,H[49]=D):D=H[49],H[50]!==M||H[51]!==I||H[52]!==A||H[53]!==D||H[54]!==G||H[55]!==N?(O=(0,t.jsxs)("section",{id:G,className:N,children:[M,I,A,D]}),H[50]=M,H[51]=I,H[52]=A,H[53]=D,H[54]=G,H[55]=N,H[56]=O):O=H[56],O}function f(e){return e.stopPropagation()}function x(e){return e.stopPropagation()}function g(e){return(0,t.jsx)(m.Button,{variant:e.variant||"default",size:e.size||"sm",asChild:!0,children:(0,t.jsxs)(c.Link,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,t.jsx)(u.SmartIcon,{name:e.icon}),e.title]})},e.title)}e.s(["ShowcasesFlow",()=>p])},693287,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(331597),a=e.i(819023),n=e.i(526683);function s(e){let i,s,o,c,d,u,m,h,p=(0,r.c)(21),{section:f,className:x}=e,g=f.id;return p[0]!==x||p[1]!==f.className?(i=(0,n.cn)("py-16 md:py-24",f.className,x),p[0]=x,p[1]=f.className,p[2]=i):i=p[2],p[3]!==f.title?(s=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:f.title}),p[3]=f.title,p[4]=s):s=p[4],p[5]!==f.description?(o=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:f.description}),p[5]=f.description,p[6]=o):o=p[6],p[7]!==s||p[8]!==o?(c=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[s,o]})}),p[7]=s,p[8]=o,p[9]=c):c=p[9],p[10]!==f.items?(d=f.items?.map(l),p[10]=f.items,p[11]=d):d=p[11],p[12]!==d?(u=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"relative mx-auto grid divide-x divide-y border *:p-12 sm:grid-cols-2 lg:grid-cols-3",children:d})}),p[12]=d,p[13]=u):u=p[13],p[14]!==c||p[15]!==u?(m=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[c,u]}),p[14]=c,p[15]=u,p[16]=m):m=p[16],p[17]!==f.id||p[18]!==i||p[19]!==m?(h=(0,t.jsx)("section",{id:g,className:i,children:m}),p[17]=f.id,p[18]=i,p[19]=m,p[20]=h):h=p[20],h}function l(e,r){return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.SmartIcon,{name:e.icon,size:24}),(0,t.jsx)("h3",{className:"text-sm font-medium",children:e.title})]}),(0,t.jsx)("p",{className:"text-sm",children:e.description})]},r)}e.s(["Features",()=>s])},654243,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(900972),a=a,n=e.i(6
953668),s=e.i(199978);e.i(741820);var l=e.i(799112),o=e.i(538630),c=e.i(642616),d=e.i(331597),u=e.i(600195),m=e.i(184499),h=e.i(847257),p=e.i(352162),f=e.i(291967),x=e.i(6140),g=e.i(575301),v=e.i(188625),b=e.i(950074),w=e.i(775827),y=e.i(987438),j=e.i(408896),N=e.i(415839),_=e.i(898175),S=e.i(385064),k=e.i(935125),C=e.i(715684),E="NavigationMenu",[R,T,L]=(0,j.createCollection)(E),[P,M,I]=(0,j.createCollection)(E),[A,z]=(0,p.createContextScope)(E,[L,I]),[D,O]=A(E),[H,F]=A(E),$=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:n,onValueChange:s,defaultValue:l,delayDuration:o=200,skipDelayDuration:c=300,orientation:d="horizontal",dir:u,...m}=e,[h,p]=i.useState(null),f=(0,v.useComposedRefs)(r,e=>p(e)),w=(0,b.useDirection)(u),y=i.useRef(0),j=i.useRef(0),N=i.useRef(0),[_,S]=i.useState(!0),[k,C]=(0,g.useControllableState)({prop:n,onChange:e=>{let t=c>0;""!==e?(window.clearTimeout(N.current),t&&S(!1)):(window.clearTimeout(N.current),N.current=window.setTimeout(()=>S(!0),c)),s?.(e)},defaultProp:l??"",caller:E}),R=i.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>C(""),150)},[C]),T=i.useCallback(e=>{window.clearTimeout(j.current),C(e)},[C]),L=i.useCallback(e=>{k===e?window.clearTimeout(j.current):y.current=window.setTimeout(()=>{window.clearTimeout(j.current),C(e)},o)},[k,C,o]);return i.useEffect(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(j.current),window.clearTimeout(N.current)},[]),(0,t.jsx)(W,{scope:a,isRootMenu:!0,value:k,dir:w,orientation:d,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(y.current),_?L(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),R()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:R,onItemSelect:e=>{C(t=>t===e?"":e)},onItemDismiss:()=>C(""),children:(0,t.jsx)(x.Primitive.nav,{"aria-label":"Main","data-orientation":d,dir:w,...m,ref:f})})});$.displayName=E;var B="NavigationMenuSub";i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:a,onValueChange:n,defaultValue:s,orientation:l="horizontal",...o}=e,c=O(B,i),[d,u]=(0,g.useControllableState)({prop:a,onChange:n,defaultProp:s??"",caller:B});return(0,t.jsx)(W,{scope:i,isRootMenu:!1,value:d,dir:c.dir,orientation:l,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,t.jsx)(x.Primitive.div,{"data-orientation":l,...o,ref:r})})}).displayName=B;var W=e=>{let{scope:r,isRootMenu:a,rootNavigationMenu:n,dir:s,orientation:l,children:o,value:c,onItemSelect:d,onItemDismiss:u,onTriggerEnter:m,onTriggerLeave:h,onContentEnter:p,onContentLeave:f}=e,[x,g]=i.useState(null),[v,b]=i.useState(new Map),[w,j]=i.useState(null);return(0,t.jsx)(D,{scope:r,isRootMenu:a,rootNavigationMenu:n,value:c,previousValue:(0,_.usePrevious)(c),baseId:(0,y.useId)(),dir:s,orientation:l,viewport:x,onViewportChange:g,indicatorTrack:w,onIndicatorTrackChange:j,onTriggerEnter:(0,k.useCallbackRef)(m),onTriggerLeave:(0,k.useCallbackRef)(h),onContentEnter:(0,k.useCallbackRef)(p),onContentLeave:(0,k.useCallbackRef)(f),onItemSelect:(0,k.useCallbackRef)(d),onItemDismiss:(0,k.useCallbackRef)(u),onViewportContentChange:i.useCallback((e,t)=>{b(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:i.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(R.Provider,{scope:r,children:(0,t.jsx)(H,{scope:r,items:v,children:o})})})},U="NavigationMenuList",V=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,n=O(U,i),s=(0,t.jsx)(x.Primitive.ul,{"data-orientation":n.orientation,...a,ref:r});return(0,t.jsx)(x.Primitive.div,{style:{position:"relative"},ref:n.onIndicatorTrackChange,children:(0,t.jsx)(R.Slot,{scope:i,children:n.isRootMenu?(0,t.jsx)(ed,{asChild:!0,children:s}):s})})});V.displayName=U;var X="NavigationMenuItem",[q,Y]=A(X),K=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:n,...s}=e,l=(0,y.useId)(),o=i.useRef(null),c=i.useRef(null),d=i.useRef(null),u=i.useRef(()=>{}),m=i.useRef(!1),h=i.useCallback((e="start")=>{if(o.current){u.current();let t=eh(o.current);t.length&&ep("start"===e?t:t.reverse())}},[]),p=i.useCallback(()=>
9{if(o.current){var e;let t=eh(o.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),u.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(q,{scope:a,value:n||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:o,focusProxyRef:d,wasEscapeCloseRef:m,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:p,onContentFocusOutside:p,children:(0,t.jsx)(x.Primitive.li,{...s,ref:r})})});K.displayName=X;var G="NavigationMenuTrigger",J=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,disabled:n,...s}=e,l=O(G,e.__scopeNavigationMenu),o=Y(G,e.__scopeNavigationMenu),c=i.useRef(null),d=(0,v.useComposedRefs)(c,o.triggerRef,r),u=eg(l.baseId,o.value),m=ev(l.baseId,o.value),h=i.useRef(!1),p=i.useRef(!1),g=o.value===l.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R.ItemSlot,{scope:a,value:o.value,children:(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(x.Primitive.button,{id:u,disabled:n,"data-disabled":n?"":void 0,"data-state":ex(g),"aria-expanded":g,"aria-controls":m,...s,ref:d,onPointerEnter:(0,f.composeEventHandlers)(e.onPointerEnter,()=>{p.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:(0,f.composeEventHandlers)(e.onPointerMove,eb(()=>{n||p.current||o.wasEscapeCloseRef.current||h.current||(l.onTriggerEnter(o.value),h.current=!0)})),onPointerLeave:(0,f.composeEventHandlers)(e.onPointerLeave,eb(()=>{n||(l.onTriggerLeave(),h.current=!1)})),onClick:(0,f.composeEventHandlers)(e.onClick,()=>{l.onItemSelect(o.value),p.current=g}),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];g&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())})})})}),g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.Root,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>{let t=o.contentRef.current,r=e.relatedTarget,i=r===c.current,a=t?.contains(r);(i||!a)&&o.onFocusProxyEnter(i?"start":"end")}}),l.viewport&&(0,t.jsx)("span",{"aria-owns":m})]})]})});J.displayName=G;var Q="navigationMenu.linkSelect",Z=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,active:a,onSelect:n,...s}=e;return(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(x.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...s,ref:r,onClick:(0,f.composeEventHandlers)(e.onClick,e=>{let t=e.target,r=new CustomEvent(Q,{bubbles:!0,cancelable:!0});if(t.addEventListener(Q,e=>n?.(e),{once:!0}),(0,x.dispatchDiscreteCustomEvent)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(en,{bubbles:!0,cancelable:!0});(0,x.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});Z.displayName="NavigationMenuLink";var ee="NavigationMenuIndicator";i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,n=O(ee,e.__scopeNavigationMenu),s=!!n.value;return n.indicatorTrack?h.default.createPortal((0,t.jsx)(w.Presence,{present:i||s,children:(0,t.jsx)(et,{...a,ref:r})}),n.indicatorTrack):null}).displayName=ee;var et=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,...n}=e,s=O(ee,a),l=T(a),[o,c]=i.useState(null),[d,u]=i.useState(null),m="horizontal"===s.orientation,h=!!s.value;i.useEffect(()=>{let e=l(),t=e.find(e=>e.value===s.value)?.ref.current;t&&c(t)},[l,s.value]);let p=()=>{o&&u({size:m?o.offsetWidth:o.offsetHeight,offset:m?o.offsetLeft:o.offsetTop})};return ef(o,p),ef(s.indicatorTrack,p),d?(0,t.jsx)(x.Primitive.div,{"aria-hidden":!0,"data-state":h?"visible":"hidden","data-orientation":s.orientation,...n,ref:r,style:{position:"absolute",...m?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...n.style}}):null}),er="NavigationMenuContent",ei=i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,n=O(er,e.__scopeNavigationMenu),s=Y(er,e.__scopeNavigationMenu),l=(0,v.useComposedRefs)(s.contentRef,r),o=s.value===n.value,c={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...a};return n.viewport?(0,t.jsx)(ea,{forceMount:i,...c,ref:l}):(0,t.jsx)(w.Presence,{present:i||o,children:(0,t.jsx)(es,{"data-state":ex(o),...c,ref:l,onPointerEnter:(0,f.composeEventHandlers)(e.onPointerEnter,n.onContentEnter),onPointerLeave:(0,f.composeEventHandlers)(e.onPointerLeave,eb(n.onContentLeave)),style:{pointerEvents:!o&&n.isRootMenu?"none":void 0,...c.style}})})});ei.displayName=er;var ea=i.forwardRef((e,t)=>
9{let{onViewportContentChange:r,onViewportContentRemove:i}=O(er,e.__scopeNavigationMenu);return(0,S.useLayoutEffect)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,S.useLayoutEffect)(()=>()=>i(e.value),[e.value,i]),null}),en="navigationMenu.rootContentDismiss",es=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:n,triggerRef:s,focusProxyRef:l,wasEscapeCloseRef:o,onRootContentClose:c,onContentFocusOutside:d,...u}=e,m=O(er,a),h=i.useRef(null),p=(0,v.useComposedRefs)(h,r),x=eg(m.baseId,n),g=ev(m.baseId,n),b=T(a),w=i.useRef(null),{onItemDismiss:y}=m;i.useEffect(()=>{let e=h.current;if(m.isRootMenu&&e){let t=()=>{y(),c(),e.contains(document.activeElement)&&s.current?.focus()};return e.addEventListener(en,t),()=>e.removeEventListener(en,t)}},[m.isRootMenu,e.value,s,y,c]);let j=i.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===m.dir&&e.reverse();let t=e.indexOf(m.value),r=e.indexOf(m.previousValue),i=n===m.value,a=r===e.indexOf(n);if(!i&&!a)return w.current;let s=(()=>{if(t!==r){if(i&&-1!==r)return t>r?"from-end":"from-start";if(a&&-1!==t)return t>r?"to-start":"to-end"}return null})();return w.current=s,s},[m.previousValue,m.value,m.dir,b,n]);return(0,t.jsx)(ed,{asChild:!0,children:(0,t.jsx)(N.DismissableLayer,{id:g,"aria-labelledby":x,"data-motion":j,"data-orientation":m.orientation,...u,ref:p,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(en,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,f.composeEventHandlers)(e.onFocusOutside,e=>{d();let t=e.target;m.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,f.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,r=b().some(e=>e.ref.current?.contains(t)),i=m.isRootMenu&&m.viewport?.contains(t);(r||i||!m.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eh(e.currentTarget),r=document.activeElement,i=t.findIndex(e=>e===r);ep(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:(0,f.composeEventHandlers)(e.onEscapeKeyDown,e=>{o.current=!0})})})}),el="NavigationMenuViewport",eo=i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,n=!!O(el,e.__scopeNavigationMenu).value;return(0,t.jsx)(w.Presence,{present:i||n,children:(0,t.jsx)(ec,{...a,ref:r})})});eo.displayName=el;var ec=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,children:n,...s}=e,l=O(el,a),o=(0,v.useComposedRefs)(r,l.onViewportChange),c=F(er,e.__scopeNavigationMenu),[d,u]=i.useState(null),[m,h]=i.useState(null),p=d?d?.width+"px":void 0,g=d?d?.height+"px":void 0,b=!!l.value,y=b?l.value:l.previousValue;return ef(m,()=>{m&&u({width:m.offsetWidth,height:m.offsetHeight})}),(0,t.jsx)(x.Primitive.div,{"data-state":ex(b),"data-orientation":l.orientation,...s,ref:o,style:{pointerEvents:!b&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":p,"--radix-navigation-menu-viewport-height":g,...s.style},onPointerEnter:(0,f.composeEventHandlers)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,f.composeEventHandlers)(e.onPointerLeave,eb(l.onContentLeave)),children:Array.from(c.items).map(([e,{ref:r,forceMount:i,...a}])=>{let n=y===e;return(0,t.jsx)(w.Presence,{present:i||n,children:(0,t.jsx)(es,{...a,ref:(0,v.composeRefs)(r,e=>{n&&e&&h(e)})})},e)})})}),ed=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,n=O("FocusGroup",i);return(0,t.jsx)(P.Provider,{scope:i,children:(0,t.jsx)(P.Slot,{scope:i,children:(0,t.jsx)(x.Primitive.div,{dir:n.dir,...a,ref:r})})})}),eu=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],em=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,n=M(i),s=O("FocusGroupItem",i);return(0,t.jsx)(P.ItemSlot,{scope:i,children:(0,t.jsx)(x.Primitive.button,{...a,ref:r,onKeyDown:(0,f.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...eu].includes(e.key)){let t=n().map(e=>e.ref.current);if(["rtl"===s.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eu.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>ep(t)),e.preventDefault()}})})})});function eh(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ep(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ef(e,t){let r=(0,k.useCallbackRef)(t);(0,S.useLayoutEffect)(()=>{let t=0;if(e){let i=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(t),i.unobserve(e)}}},[e,r])}function ex(e){return e?"open":"closed"}function eg(e,t){return`${e}-trigger-${t}`}function ev(e,t){return`${e}-content-${t}`}function eb(e){return t=>
9"mouse"===t.pointerType?e(t):void 0}var ew=e.i(294237),ey=e.i(152378),ej=e.i(526683);let eN=i.forwardRef((e,i)=>{let a,n,s,l,o,c,d,u=(0,r.c)(16);u[0]!==e?({className:n,children:a,viewport:l,...s}=e,u[0]=e,u[1]=a,u[2]=n,u[3]=s,u[4]=l):(a=u[1],n=u[2],s=u[3],l=u[4]);let m=void 0===l||l;return u[5]!==n?(o=(0,ej.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",n),u[5]=n,u[6]=o):o=u[6],u[7]!==m?(c=m&&(0,t.jsx)(eR,{}),u[7]=m,u[8]=c):c=u[8],u[9]!==a||u[10]!==s||u[11]!==i||u[12]!==o||u[13]!==c||u[14]!==m?(d=(0,t.jsxs)($,{ref:i,"data-slot":"navigation-menu","data-viewport":m,role:"navigation",className:o,...s,children:[a,c]}),u[9]=a,u[10]=s,u[11]=i,u[12]=o,u[13]=c,u[14]=m,u[15]=d):d=u[15],d});function e_(e){let i,a,n,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...a}=e,l[0]=e,l[1]=i,l[2]=a):(i=l[1],a=l[2]),l[3]!==i?(n=(0,ej.cn)("group flex flex-1 list-none items-center justify-center gap-1",i),l[3]=i,l[4]=n):n=l[4],l[5]!==a||l[6]!==n?(s=(0,t.jsx)(V,{"data-slot":"navigation-menu-list",className:n,...a}),l[5]=a,l[6]=n,l[7]=s):s=l[7],s}function eS(e){let i,a,n,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...a}=e,l[0]=e,l[1]=i,l[2]=a):(i=l[1],a=l[2]),l[3]!==i?(n=(0,ej.cn)("relative",i),l[3]=i,l[4]=n):n=l[4],l[5]!==a||l[6]!==n?(s=(0,t.jsx)(K,{"data-slot":"navigation-menu-item",className:n,...a}),l[5]=a,l[6]=n,l[7]=s):s=l[7],s}eN.displayName=$.displayName;let ek=(0,ew.cva)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground
9/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function eC(e){let i,a,n,s,l,o,c=(0,r.c)(11);return c[0]!==e?({className:a,children:i,...n}=e,c[0]=e,c[1]=i,c[2]=a,c[3]=n):(i=c[1],a=c[2],n=c[3]),c[4]!==a?(s=(0,ej.cn)(ek(),"group",a),c[4]=a,c[5]=s):s=c[5],c[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(ey.ChevronDownIcon,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5}),c[6]=l):l=c[6],c[7]!==i||c[8]!==n||c[9]!==s?(o=(0,t.jsxs)(J,{"data-slot":"navigation-menu-trigger",className:s,...n,children:[i," ",l]}),c[7]=i,c[8]=n,c[9]=s,c[10]=o):o=c[10],o}function eE(e){let i,a,n,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...a}=e,l[0]=e,l[1]=i,l[2]=a):(i=l[1],a=l[2]),l[3]!==i?(n=(0,ej.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-transparent group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",i),l[3]=i,l[4]=n):n=l[4],l[5]!==a||l[6]!==n?(s=(0,t.jsx)(ei,{"data-slot":"navigation-menu-content",className:n,...a}),l[5]=a,l[6]=n,l[7]=s):s=l[7],s}function eR(e){let i,a,n,s,l,o=(0,r.c)(9);return o[0]!==e?({className:i,...a}=e,o[0]=e,o[1]=i,o[2]=a):(i=o[1],a=o[2]),o[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,ej.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),o[3]=n):n=o[3],o[4]!==i?(s=(0,ej.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-foreground/10 rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-transparent p-0.5 shadow-xl shadow-black/10 ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",i),o[4]=i,o[5]=s):s=o[5],o[6]!==a||o[7]!==s?(l=(0,t.jsx)("div",{className:n,children:(0,t.jsx)(eo,{"data-slot":"navigation-menu-viewport",className:s,...a})}),o[6]=a,o[7]=s,o[8]=l):l=o[8],l}function eT(e){let i,a,n,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...a}=e,l[0]=e,l[1]=i,l[2]=a):(i=l[1],a=l[2]),l[3]!==i?(n=(0,ej.cn)("data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",i),l[3]=i,l[4]=n):n=l[4],l[5]!==a||l[6]!==n?(s=(0,t.jsx)(Z,{"data-slot":"navigation-menu-link",className:n,...a}),l[5]=a,l[6]=n,l[7]=s):s=l[7],s}function eL(e){let a,n,s,l=(0,r.c)(4),[o,c]=(0,i.useState)(!1);return(l[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{c(!0)},n=[],l[0]=a,l[1]=n):(a=l[0],n=l[1]),(0,i.useEffect)(a,n),o)?(l[2]!==e?(s=(0,t.jsx)(eC,{...e}),l[2]=e,l[3]=s):s=l[3],s):null}function eP({header:e}){let[h,p]=(0,i.useState)(!1),[f,x]=(0,i.useState)(!1),g=(0,i.useRef)(!1),v=(0,i.useRef)(null),b=function(e){let t,a,n=(0,r.c)(3),[s,l]=(0,i.useState)(!0);return n[0]!==e?(t=()=>{let t=window.matchMedia(e);l(t.matches);let r=()=>l(t.matches);return t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},a=[e],n[0]=e,n[1]=t,n[2]=a):(t=n[1],a=n[2]),(0,i.useEffect)(t,a),s}("(min-width: 64rem)"),w=(0,s.usePathname)();function y({title:e,description:r,children:i,href:a,target:n,...l}){return(0,t.jsx)("li",{...l,children:(0,t.jsx)(eT,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:a,target:n||"_self",className:"grid grid-cols-[auto_1fr] gap-3.5",children:[(0,t.jsx)("div",{className:"bg-background ring-foreground
9/10 relative flex size-9 items-center justify-center rounded border border-transparent shadow-sm ring-1",children:i}),(0,t.jsxs)("div",{className:"space-y-0.5",children:[(0,t.jsx)("div",{className:"text-foreground text-sm font-medium",children:e}),(0,t.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:r})]})]})})})}return(0,i.useEffect)(()=>{let e=()=>{null==v.current&&(v.current=window.requestAnimationFrame(()=>{v.current=null;let e=window.scrollY>50;e!==g.current&&(g.current=e,x(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=v.current&&(window.cancelAnimationFrame(v.current),v.current=null)}},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("header",{"data-state":h?"active":"inactive",...f&&{"data-scrolled":!0},className:"has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur",children:(0,t.jsx)("div",{className:(0,ej.cn)("border-border/50 bg-background/90 absolute inset-x-0 top-0 z-50 h-18 border-b ring-1 ring-transparent backdrop-blur-md transition-all duration-300","in-data-scrolled:border-foreground
9/10 in-data-scrolled:bg-background/95 in-data-scrolled:shadow-md","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/95 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10","max-lg:in-data-[state=active]:bg-background/95 max-lg:h-14 max-lg:overflow-hidden max-lg:in-data-[state=active]:h-screen"),children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between lg:py-5",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b",children:[e.brand&&(0,t.jsx)(l.BrandLogo,{brand:e.brand}),b&&(0,t.jsx)(()=>(0,t.jsx)("nav",{role:"navigation","aria-label":"Main navigation",className:"max-lg:hidden",children:(0,t.jsx)(eN,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10",children:(0,t.jsx)(e_,{className:"gap-2",children:e.nav?.items?.map((e,r)=>e.children&&0!==e.children.length?(0,t.jsxs)(eS,{children:[(0,t.jsxs)(eL,{className:"flex flex-row items-center gap-2 text-sm",children:[e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon,className:"h-4 w-4"}),e.title]}),(0,t.jsx)(eE,{className:"min-w-2xs origin-top p-0.5",children:(0,t.jsx)("div",{className:"border-foreground
9/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",children:(0,t.jsx)("ul",{className:"mt-1 space-y-2",children:e.children?.map((e,r)=>(0,t.jsx)(y,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",children:e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon})},r))})})})]},r):(0,t.jsx)(eT,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:`flex flex-row items-center gap-2 px-4 py-1.5 text-sm ${e.is_active||w.endsWith(e.url)?"bg-muted/40 text-muted-foreground":""}`,children:[e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon}),e.title]})},r))})})}),{}),(0,t.jsxs)("button",{onClick:()=>p(!h),"aria-label":!0==h?"Close Menu":"Open Menu",className:"relative z-20 -m-2.5 -mr-3 block cursor-pointer p-2.5 lg:hidden",children:[(0,t.jsx)(a.default,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),(0,t.jsx)(n.X,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"})]})]}),!b&&h&&(0,t.jsx)(({closeMenu:r})=>(0,t.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,t.jsx)(m.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:e.nav?.items?.map((e,i)=>(0,t.jsx)(m.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title}),(0,t.jsx)(m.AccordionContent,{className:"pb-5",children:(0,t.jsx)("ul",{children:e.children?.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsxs)(s.Link,{href:e.url||"",onClick:r,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon})}),(0,t.jsx)("div",{className:"text-base",children:e.title})]})},i))})})]}):(0,t.jsx)(s.Link,{href:e.url||"",onClick:r,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title})},i))})}),{closeMenu:()=>p(!1)}),(0,t.jsx)("div",{className:"mb-6 hidden w-full flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,t.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[e.buttons&&e.buttons.map((e,r)=>(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:(0,ej.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon,className:"size-4"}),(0,t.jsx)("span",{children:e.title})]},r)),e.show_theme?(0,t.jsx)(u.ThemeToggler,{}):null,e.show_locale?(0,t.jsx)(o.LocaleSelector,{}):null,(0,t.jsx)("div",{className:"flex-1 md:hidden"}),e.show_sign?(0,t.jsx)(c.SignUser,{userNav:e.user_nav}):null]})})]})})})})})}e.s(["Header",()=>eP],654243)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.