1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,686247,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(526683);function a(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(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]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function s(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(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]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-header",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function n(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.cn)("leading-none font-semibold",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-title",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function l(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.cn)("text-muted-foreground text-sm",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-description",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function o(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-action",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function c(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.cn)("px-6",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-content",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}function d(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.cn)("flex items-center px-6 [.border-t]:pt-6",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{"data-slot":"card-footer",className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}e.s(["Card",()=>a,"CardAction",()=>o,"CardContent",()=>c,"CardDescription",()=>l,"CardFooter",()=>d,"CardHeader",()=>s,"CardTitle",()=>n])},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])},539143,e=>{"use strict";var t=e.i(900972);e.s(["Menu",()=>t.default])},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:s,margin:n,amount:l,once:o=!1,initial:c=!1}={}){let[d,m]=(0,t.useState)(c);return(0,t.useEffect)(()=>{if(!e.current||o&&d)return;let t={root:s&&s.current||void 0,margin:n,amount:l};return function(e,t,{root:a,margin:s,amount:n="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:s,threshold:"number"==typeof n?n:i[n]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(m(!0),o?void 0:()=>m(!1)),t)},[s,e,n,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),s=e.i(176342);e.i(90985);var n=e.i(670983),l=e.i(535505);function o(e){let o,c,d,m,u,h,x,p,f,g,v,b,y,w=(0,r.c)(39),{children:j,className:N,delay:_,direction:k,stagger:C}=e,S=void 0===N?"":N,M=void 0===_?0:_,z=void 0===k?"up":k,E=(0,i.useRef)(null);w[0]===Symbol.for("react.memo_cache_sentinel")?(o={once:!0,margin:"-50px"},w[0]=o):o=w[0];let R=(0,s.useInView)(E,o);if(function(){l.hasReducedMotionListener.current||(0,n.initPrefersReducedMotion)();let[e]=(0,i.useState)(l.prefersReducedMotion.current);return e}()){let e;return w[1]!==j||w[2]!==S?(e=(0,t.jsx)("div",{ref:E,className:S,children:j}),w[1]=j,w[2]=S,w[3]=e):e=w[3],e}w[4]!==z?(c=()=>{switch(z){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}}},w[4]=z,w[5]=c):c=w[5];let L=c;w[6]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:0}
1,w[6]=d):d=w[6],w[7]!==M?(m={hidden:d,visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:M}}},w[7]=M,w[8]=m):m=w[8];let I=m;w[9]!==L?(u={opacity:0,...L(),filter:"blur(4px)"},w[9]=L,w[10]=u):u=w[10],w[11]===Symbol.for("react.memo_cache_sentinel")?(h=[.22,1,.36,1],w[11]=h):h=w[11],w[12]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:1,x:0,y:0,filter:"blur(0px)",transition:{duration:.6,ease:h}},w[12]=x):x=w[12],w[13]!==u?(p={hidden:u,visible:x},w[13]=u,w[14]=p):p=w[14];let T=p;if(void 0!==C&&C){let e,r,s=R?"visible":"hidden";if(w[15]!==j||w[16]!==T){let r;w[18]!==T?(r=e=>(0,t.jsx)(a.motion.div,{variants:T,children:e}),w[18]=T,w[19]=r):r=w[19],e=i.default.Children.map(j,r),w[15]=j,w[16]=T,w[17]=e}else e=w[17];return w[20]!==S||w[21]!==I||w[22]!==s||w[23]!==e?(r=(0,t.jsx)(a.motion.div,{ref:E,variants:I,initial:"hidden",animate:s,className:S,children:e}),w[20]=S,w[21]=I,w[22]=s,w[23]=e,w[24]=r):r=w[24],r}return w[25]!==L?(f={opacity:0,...L(),filter:"blur(4px)"},w[25]=L,w[26]=f):f=w[26],w[27]!==L||w[28]!==R?(g=R?{opacity:1,x:0,y:0,filter:"blur(0px)"}:{opacity:0,...L(),filter:"blur(4px)"},w[27]=L,w[28]=R,w[29]=g):g=w[29],w[30]===Symbol.for("react.memo_cache_sentinel")?(v=[.22,1,.36,1],w[30]=v):v=w[30],w[31]!==M?(b={duration:.6,delay:M,ease:v},w[31]=M,w[32]=b):b=w[32],w[33]!==j||w[34]!==S||w[35]!==f||w[36]!==g||w[37]!==b?(y=(0,t.jsx)(a.motion.div,{ref:E,initial:f,animate:g,transition:b,className:S,children:j}),w[33]=j,w[34]=S,w[35]=f,w[36]=g,w[37]=b,w[38]=y):y=w[38],y}e.s(["ScrollAnimation",()=>o],819023)},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])},463209,e=>{"use strict";var t=e.i(891397);e.s(["Star",()=>t.default])},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"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",()=>t])},550573,e=>{"use strict";var t=e.i(245193);e.s(["Sparkles",()=>t.default])},891686,e=>{"use strict";let t=(0,e.i(889522).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",()=>t])},747026,e=>{"use strict";var t=e.i(891686);e.s(["CheckCircle2",()=>t.default])},467248,e=>{"use strict";let t=(0,e.i(889522).default)("move-horizontal",[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]]);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])},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),s=e.i(526683);function n(e){let i,n,o,c,d,m,u=(0,r.c)(16),{section:h,className:x}=e,p=h.id;return u[0]!==x||u[1]!==h.className?(i=(0,s.cn)("py-16 md:py-24",h.className,x),u[0]=x,u[1]=h.className,u[2]=i):i=u[2],u[3]!==h.title?(n=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsx)("p",{className:"text-md text-center font-medium",children:h.title})}),u[3]=h.title,u[4]=n):n=u[4],u[5]!==h.items?(o=h.items?.map(l),u[5]=h.items,u[6]=o):o=u[6],u[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})}),u[7]=o,u[8]=c):c=u[8],u[9]!==n||u[10]!==c?(d=(0,t.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[n,c]}),u[9]=n,u[10]=c,u[11]=d):d=u[11],u[12]!==h.id||u[13]!==i||u[14]!==d?(m=(0,t.jsx)("section",{id:p,className:i,children:d}),u[12]=h.id,u[13]=i,u[14]=d,u[15]=m):m=u[15],m}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",()=>n])},365196,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(526683);function a(e){let a,n,l,o,c,d,m,u,h=(0,r.c)(21),{section:x,className:p}=e;h[0]!==x.items?(a=x.items||[],h[0]=x.items,h[1]=a):a=h[1];let f=a,g=x.id;return h[2]!==p||h[3]!==x.className?(n=(0,i.cn)("bg-card py-24 px-6",x.className,p),h[2]=p,h[3]=x.className,h[4]=n):n=h[4],h[5]!==x.title?(l=(0,t.jsx)("h2",{className:"text-4xl font-serif font-bold text-center mb-12 text-foreground",children:x.title}),h[5]=x.title,h[6]=l):l=h[6],h[7]!==x.description?(o=x.description&&(0,t.jsx)("p",{className:"text-center text-muted-foreground mb-12",children:x.description}),h[7]=x.description,h[8]=o):o=h[8],h[9]!==f?(c=f.map(s),h[9]=f,h[10]=c):c=h[10],h[11]!==c?(d=(0,t.jsx)("div",{className:"space-y-4",children:c}),h[11]=c,h[12]=d):d=h[12],h[13]!==l||h[14]!==o||h[15]!==d?(m=(0,t.jsxs)("div",{className:"max-w-3xl mx-auto",children:[l,o,d]}),h[13]=l,h[14]=o,h[15]=d,h[16]=m):m=h[16],h[17]!==x.id||h[18]!==n||h[19]!==m?(u=(0,t.jsx)("section",{id:g,className:n,children:m}),h[17]=x.id,h[18]=n,h[19]=m,h[20]=u):u=h[20],u}function s(e,r){return(0,t.jsxs)("div",{className:"border border-border rounded-2xl p-6 hover:border-primary/30 transition-colors bg-background",children:[(0,t.jsxs)("h3",{className:"font-bold text-lg mb-2 text-foreground flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-primary font-serif italic",children:"Q."}),e.question||e.title]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm pl-6 leading-relaxed border-l-2 border-primary/20 ml-1",children:e.answer||e.description})]},r)}e.s(["FaqRose",()=>a])},944560,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978),a=e.i(331597),s=e.i(511398),n=e.i(819023),l=e.i(526683);function o(e){let i,a,s,o,d,m,u,h=(0,r.c)(19),{section:x,className:p}=e,f=x.id;h[0]!==p||h[1]!==x.className?(i=(0,l.cn)("py-16 md:py-24",x.className,p),h[0]=p,h[1]=x.className,h[2]=i):i=h[2],h[3]!==x.title?(a=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:x.title})}),h[3]=x.title,h[4]=a):a=h[4];let g=x.description??"";return h[5]!==g?(s=(0,t.jsx)(n.ScrollAnimation,{delay:.15,children:(0,t.jsx)("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:g}})}),h[5]=g,h[6]=s):s=h[6],h[7]!==x.buttons?(o=x.buttons?.map(c),h[7]=x.buttons,h[8]=o):o=h[8],h[9]!==o?(d=(0,t.jsx)(n.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]!==s||h[13]!==d?(m=(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"text-center",children:[a,s,d]})}),h[11]=a,h[12]=s,h[13]=d,h[14]=m):m=h[14],h[15]!==x.id||h[16]!==i||h[17]!==m?(u=(0,t.jsx)("section",{id:f,className:i,children:m}),h[15]=x.id,h[16]=i,h[17]=m,h[18]=u):u=h[18],u}function c(e,r){return(0,t.jsx)(s.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])},435624,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(819023);function a(e){let a,n,l,o,c,d,m,u=(0,r.c)(18),{section:h,className:x}=e,p=`py-12 md:py-24 ${h.className} ${x}`;return u[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}),u[0]=h.title,u[1]=a):a=u[1],u[2]!==h.description?(n=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),u[2]=h.description,u[3]=n):n=u[3],u[4]!==a||u[5]!==n?(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,n]})}),u[4]=a,u[5]=n,u[6]=l):l=u[6],u[7]!==h.items?(o=h.items?.map(s),u[7]=h.items,u[8]=o):o=u[8],u[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})}),u[9]=o,u[10]=c):c=u[10],u[11]!==l||u[12]!==c?(d=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[l,c]}),u[11]=l,u[12]=c,u[13]=d):d=u[13],u[14]!==h.id||u[15]!==p||u[16]!==d?(m=(0,t.jsx)("section",{id:h.id,className:p,children:d}),u[14]=h.id,u[15]=p,u[16]=d,u[17]=m):m=u[17],m}function s(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])},693287,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(331597),a=e.i(819023),s=e.i(526683);function n(e){let i,n,o,c,d,m,u,h,x=(0,r.c)(21),{section:p,className:f}=e,g=p.id;return x[0]!==f||x[1]!==p.className?(i=(0,s.cn)("py-16 md:py-24",p.className,f),x[0]=f,x[1]=p.className,x[2]=i):i=x[2],x[3]!==p.title?(n=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:p.title}),x[3]=p.title,x[4]=n):n=x[4],x[5]!==p.description?(o=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:p.description}),x[5]=p.description,x[6]=o):o=x[6],x[7]!==n||x[8]!==o?(c=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[n,o]})}),x[7]=n,x[8]=o,x[9]=c):c=x[9],x[10]!==p.items?(d=p.items?.map(l),x[10]=p.items,x[11]=d):d=x[11],x[12]!==d?(m=(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})}),x[12]=d,x[13]=m):m=x[13],x[14]!==c||x[15]!==m?(u=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[c,m]}),x[14]=c,x[15]=m,x[16]=u):u=x[16],x[17]!==p.id||x[18]!==i||x[19]!==u?(h=(0,t.jsx)("section",{id:g,className:i,children:u}),x[17]=p.id,x[18]=i,x[19]=u,x[20]=h):h=x[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",()=>n])},140880,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(184499),a=e.i(819023);function s(e){let s,l,o,c,d,m,u,h,x,p=(0,r.c)(23),{section:f,className:g}=e,v=`py-16 md:py-24 ${g}`;
1p[0]!==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[0]=f.title,p[1]=s):s=p[1],p[2]!==f.description?(l=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:f.description}),p[2]=f.description,p[3]=l):l=p[3],p[4]!==s||p[5]!==l?(o=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[s,l]})}),p[4]=s,p[5]=l,p[6]=o):o=p[6],p[7]!==f.items?(c=f.items?.map(n),p[7]=f.items,p[8]=c):c=p[8],p[9]!==c?(d=(0,t.jsx)(i.Accordion,{type:"single",collapsible:!0,className:"bg-muted dark:bg-muted/50 w-full rounded-2xl p-1",children:c}),p[9]=c,p[10]=d):d=p[10];let b=f.tip||"";return p[11]!==b?(m=(0,t.jsx)("p",{className:"text-muted-foreground mt-6 px-8",dangerouslySetInnerHTML:{__html:b}}),p[11]=b,p[12]=m):m=p[12],p[13]!==d||p[14]!==m?(u=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsxs)("div",{className:"mx-auto mt-12 max-w-full",children:[d,m]})}),p[13]=d,p[14]=m,p[15]=u):u=p[15],p[16]!==o||p[17]!==u?(h=(0,t.jsxs)("div",{className:"mx-auto max-w-full px-4 md:max-w-3xl md:px-8",children:[o,u]}),p[16]=o,p[17]=u,p[18]=h):h=p[18],p[19]!==f.id||p[20]!==v||p[21]!==h?(x=(0,t.jsx)("section",{id:f.id,className:v,children:h}),p[19]=f.id,p[20]=v,p[21]=h,p[22]=x):x=p[22],x}function n(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)}e.s(["Faq",()=>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),s=e.i(526683);function n(e){let a,n,o,c,d,m,u,h,x,p=(0,r.c)(22),{section:f}=e;if(!f.items||0===f.items.length)return null;let g=f.id||f.name;return p[0]!==f.className?(a=(0,s.cn)("py-16 md:py-24",f.className),p[0]=f.className,p[1]=a):a=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(n={initial:{opacity:0,y:20,filter:"blur(6px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:0,ease:[.22,1,.36,1]}},p[2]=n):n=p[2],p[3]!==f.sr_only_title?(o=f.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:f.sr_only_title}),p[3]=f.sr_only_title,p[4]=o):o=p[4],p[5]!==f.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:f.title}),p[5]=f.title,p[6]=c):c=p[6],p[7]!==f.description?(d=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:f.description}),p[7]=f.description,p[8]=d):d=p[8],p[9]!==o||p[10]!==c||p[11]!==d?(m=(0,t.jsxs)(i.motion.div,{className:"container mb-12 text-center",...n,children:[o,c,d]}),p[9]=o,p[10]=c,p[11]=d,p[12]=m):m=p[12],p[13]!==f.items?(u=f.items.map(l),p[13]=f.items,p[14]=u):u=p[14],p[15]!==u?(h=(0,t.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:u}),p[15]=u,p[16]=h):h=p[16],p[17]!==g||p[18]!==a||p[19]!==m||p[20]!==h?(x=(0,t.jsxs)("section",{id:g,className:a,children:[m,h]}),p[17]=g,p[18]=a,p[19]=m,p[20]=h,p[21]=x):x=p[21],x}function l(e,r){let n="right"===e.image_position;return(0,t.jsxs)(i.motion.div,{className:(0,s.cn)("grid items-center gap-6 py-16 sm:grid-cols-2 md:gap-12 lg:gap-24",n&&"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:n?-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",()=>n])},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 s(e){let i,s,l,o,c,d,m,u=(0,r.c)(18),{section:h,className:x}=e,p=`py-16 md:py-24 ${h.className} ${x}`;return u[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}),u[0]=h.title,u[1]=i):i=u[1],u[2]!==h.description?(s=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),u[2]=h.description,u[3]=s):s=u[3],u[4]!==i||u[5]!==s?(l=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[i,s]})}),u[4]=i,u[5]=s,u[6]=l):l=u[6],u[7]!==h.items?(o=h.items?.map((e,r)=>(0,t.jsx)(n,{item:e},r)),u[7]=h.items,u[8]=o):o=u[8],u[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})})}),u[9]=o,u[10]=c):c=u[10],u[11]!==l||u[12]!==c?(d=(0,t.jsxs)("div",{className:"container",children:[l,c]}),u[11]=l,u[12]=c,u[13]=d):d=u[13],u[14]!==h.id||u[15]!==p||u[16]!==d?(m=(0,t.jsx)("section",{id:h.id,className:p,children:d}),u[14]=h.id,u[15]=p,u[16]=d,u[17]=m):m=u[17],m}function n(e){let{item:r}=e;
1return(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",()=>s])},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])},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),s=e.i(819023),n=e.i(526683);function l(e){let l,o,c,d,m,u,h,x,p,f=(0,r.c)(24),{section:g,className:v}=e,b=g.id;return f[0]!==v||f[1]!==g.className?(l=(0,n.cn)("py-16 md:py-24",g.className,v),f[0]=v,f[1]=g.className,f[2]=l):l=f[2],f[3]!==g.label?(o=(0,t.jsx)("span",{className:"text-primary",children:g.label}),f[3]=g.label,f[4]=o):o=f[4],f[5]!==g.title?(c=(0,t.jsx)("h2",{className:"text-foreground mt-4 text-4xl font-semibold",children:g.title}),f[5]=g.title,f[6]=c):c=f[6],f[7]!==g.description?(d=(0,t.jsx)("p",{className:"text-muted-foreground mt-4 text-lg text-balance",children:g.description}),f[7]=g.description,f[8]=d):d=f[8],f[9]!==o||f[10]!==c||f[11]!==d?(m=(0,t.jsx)(s.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[o,c,d]})}),f[9]=o,f[10]=c,f[11]=d,f[12]=m):m=f[12],f[13]!==g.items?(u=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)),f[13]=g.items,f[14]=u):u=f[14],f[15]!==u?(h=(0,t.jsx)(s.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"mt-20 grid gap-12 @3xl:grid-cols-4",children:u})}),f[15]=u,f[16]=h):h=f[16],f[17]!==m||f[18]!==h?(x=(0,t.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,t.jsxs)("div",{className:"@container relative container",children:[m,h]})}),f[17]=m,f[18]=h,f[19]=x):x=f[19],f[20]!==g.id||f[21]!==l||f[22]!==x?(p=(0,t.jsx)("section",{id:b,className:l,children:x}),f[20]=g.id,f[21]=l,f[22]=x,f[23]=p):p=f[23],p}e.s(["FeaturesStep",()=>l],137114)},588629,e=>{"use strict";let t=(0,e.i(889522).default)("sparkle",[["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"}]]);e.s(["default",()=>t])},829534,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(588629),a=a,s=e.i(550573),n=e.i(526683);let l=(0,i.memo)(e=>{let a,n,l,o,c,d,m=(0,r.c)(12),{item:u}=e,[h,x]=(0,i.useState)(!1);if(h)return null;let p=u.image_before?.src||u.image?.src||"",f=u.image_before?.alt||u.title||"Original";m[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>x(!0),m[0]=a):a=m[0],m[1]!==p||m[2]!==f?(n=(0,t.jsx)("img",{src:p,alt:f,className:"w-full h-full object-cover transition-opacity duration-700 ease-in-out absolute inset-0 z-10 group-hover:opacity-0",onError:a}),m[1]=p,m[2]=f,m[3]=n):n=m[3];let g=u.image_after?.src||u.image?.src||"",v=u.image_after?.alt||u.title||"Style";return m[4]===Symbol.for("react.memo_cache_sentinel")?(l=()=>x(!0),m[4]=l):l=m[4],m[5]!==g||m[6]!==v?(o=(0,t.jsx)("div",{className:"absolute inset-0 z-0",children:(0,t.jsx)("img",{src:g,alt:v,className:"w-full h-full object-cover transform scale-100 group-hover:scale-110 transition-transform duration-1000 ease-out",onError:l})}),m[5]=g,m[6]=v,m[7]=o):o=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"absolute top-3 right-3 z-20",children:(0,t.jsx)("div",{className:"w-8 h-8 bg-card/20 backdrop-blur-md rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-500",children:(0,t.jsx)(s.Sparkles,{size:14,className:"text-primary-foreground"})})}),m[8]=c):c=m[8],m[9]!==n||m[10]!==o?(d=(0,t.jsxs)("div",{className:"w-72 aspect-[3/4] mx-4 shrink-0 inline-block relative group rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl transition-shadow duration-500 cursor-pointer bg-card border border-border",children:[n,o,c]}),m[9]=n,m[10]=o,m[11]=d):d=m[11],d});function o(e){let i,s,l,o,d,m,u=(0,r.c)(17),{section:h,className:x}=e;u[0]!==h.items?(i=h.items||[],u[0]=h.items,u[1]=i):i=u[1];let p=i;u[2]!==p?(s=[...p,...p],u[2]=p,u[3]=s):s=u[3];let f=s,g=h.id;return u[4]!==x||u[5]!==h.className?(l=(0,n.cn)("bg-card py-16 relative z-20 overflow-hidden border-b border-border",h.className,x),u[4]=x,u[5]=h.className,u[6]=l):l=u[6],u[7]!==h.description||u[8]!==h.title?(o=h.title&&(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsxs)("h3",{className:"text-2xl font-serif font-bold text-foreground flex items-center justify-center gap-2",children:[(0,t.jsx)(a.default,{size:18,className:"text-primary"}),h.title]}),h.description&&(0,t.jsx)("p",{className:"text-muted-foreground mt-2",children:h.description})]}),u[7]=h.description,u[8]=h.title,u[9]=o):o=u[9],u[10]!==f?(d=(0,t.jsx)("div",{className:"flex whitespace-nowrap animate-marquee items-center",children:f.map(c)}),u[10]=f,u[11]=d):d=u[11],u[12]!==h.id||u[13]!==l||u[14]!==o||u[15]!==d?(m=(0,t.jsxs)("div",{id:g,className:l,children:[o,d]}),u[12]=h.id,u[13]=l,u[14]=o,u[15]=d,u[16]=m):m=u[16],m}function c(e,r){return(0,t.jsx)(l,{item:e},`${e.id||r}-${r}`)}
1l.displayName="RosterItem",e.s(["RosterWall",()=>o],829534)},480870,e=>{"use strict";let t=(0,e.i(889522).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);e.s(["default",()=>t])},767107,e=>{"use strict";var t=e.i(480870);e.s(["Camera",()=>t.default])},899145,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(767107),a=e.i(550573),s=e.i(463209);e.i(741820);var n=e.i(331597),l=e.i(526683);let o=[i.Camera,a.Sparkles,s.Star];function c(e){let i,a,s,n,o,c,m,u,h,x,p=(0,r.c)(24),{section:f,className:g}=e;p[0]!==f.items?(i=f.items||[],p[0]=f.items,p[1]=i):i=p[1];let v=i,b=f.id;return p[2]!==g||p[3]!==f.className?(a=(0,l.cn)("bg-background py-24 px-6 border-t border-border",f.className,g),p[2]=g,p[3]=f.className,p[4]=a):a=p[4],p[5]!==f.title?(s=(0,t.jsx)("h2",{className:"text-4xl md:text-5xl font-serif font-bold text-foreground mb-6",children:f.title}),p[5]=f.title,p[6]=s):s=p[6],p[7]!==f.description?(n=f.description&&(0,t.jsx)("p",{className:"text-muted-foreground mb-4",children:f.description}),p[7]=f.description,p[8]=n):n=p[8],p[9]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{className:"h-1 w-20 bg-primary/50 mx-auto rounded-full"}),p[9]=o):o=p[9],p[10]!==s||p[11]!==n?(c=(0,t.jsxs)("div",{className:"text-center mb-20",children:[s,n,o]}),p[10]=s,p[11]=n,p[12]=c):c=p[12],p[13]!==v?(m=v.map(d),p[13]=v,p[14]=m):m=p[14],p[15]!==m?(u=(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-12",children:m}),p[15]=m,p[16]=u):u=p[16],p[17]!==c||p[18]!==u?(h=(0,t.jsxs)("div",{className:"max-w-6xl mx-auto",children:[c,u]}),p[17]=c,p[18]=u,p[19]=h):h=p[19],p[20]!==f.id||p[21]!==h||p[22]!==a?(x=(0,t.jsx)("section",{id:b,className:a,children:h}),p[20]=f.id,p[21]=h,p[22]=a,p[23]=x):x=p[23],x}function d(e,r){let i=o[r%o.length];return(0,t.jsxs)("div",{className:"bg-card p-10 rounded-[2rem] shadow-sm hover:shadow-xl transition-shadow text-center relative overflow-hidden group border border-border",children:[(0,t.jsx)("div",{className:"w-20 h-20 bg-secondary rounded-full flex items-center justify-center mx-auto mb-8 text-primary group-hover:scale-110 transition-transform duration-300 shadow-sm",children:e.icon?(0,t.jsx)(n.SmartIcon,{name:e.icon,className:"w-8 h-8"}):(0,t.jsx)(i,{size:32})}),(0,t.jsx)("h3",{className:"text-xl font-bold mb-4 text-foreground",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]},r)}e.s(["ProcessFlow",()=>c])},932521,e=>{"use strict";let t=(0,e.i(889522).default)("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);e.s(["default",()=>t])},509563,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(932521),i=i,a=e.i(463209),s=e.i(526683);function n(e){let i,a,n,c,d,m,u,h,x,p,f,g=(0,r.c)(25),{section:v,className:b}=e;g[0]!==v.items?(i=v.items||[],g[0]=v.items,g[1]=i):i=g[1];let y=i,w=v.id;return g[2]!==b||g[3]!==v.className?(a=(0,s.cn)("bg-secondary py-24 px-6 relative overflow-hidden",v.className,b),g[2]=b,g[3]=v.className,g[4]=a):a=g[4],g[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-card/40 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),g[5]=n):n=g[5],g[6]!==v.title?(c=(0,t.jsx)("h2",{className:"text-4xl font-serif font-bold mb-4 text-foreground",children:v.title}),g[6]=v.title,g[7]=c):c=g[7],g[8]!==v.description?(d=v.description&&(0,t.jsx)("p",{className:"text-muted-foreground mb-4",children:v.description}),g[8]=v.description,g[9]=d):d=g[9],g[10]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("div",{className:"flex justify-center gap-1 text-primary",children:[1,2,3,4,5].map(o)}),g[10]=m):m=g[10],g[11]!==c||g[12]!==d?(u=(0,t.jsxs)("div",{className:"text-center mb-16",children:[c,d,m]}),g[11]=c,g[12]=d,g[13]=u):u=g[13],g[14]!==y?(h=y.map(l),g[14]=y,g[15]=h):h=g[15],g[16]!==h?(x=(0,t.jsx)("div",{className:"grid md:grid-cols-3 gap-8",children:h}),g[16]=h,g[17]=x):x=g[17],g[18]!==x||g[19]!==u?(p=(0,t.jsxs)("div",{className:"max-w-6xl mx-auto relative z-10",children:[u,x]}),g[18]=x,g[19]=u,g[20]=p):p=g[20],g[21]!==v.id||g[22]!==p||g[23]!==a?(f=(0,t.jsxs)("section",{id:w,className:a,children:[n,p]}),g[21]=v.id,g[22]=p,g[23]=a,g[24]=f):f=g[24],f}function l(e,r){return(0,t.jsxs)("div",{className:"bg-card p-8 rounded-2xl shadow-sm border border-primary/20 relative hover:-translate-y-1 transition-transform duration-300",children:[(0,t.jsx)(i.default,{className:"text-primary/20 absolute top-6 left-6",size:40}),(0,t.jsxs)("p",{className:"text-muted-foreground relative z-10 mb-6 italic leading-relaxed pt-6",children:['"',e.quote||e.description,'"']}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-secondary rounded-full flex items-center justify-center text-primary font-bold shadow-inner overflow-hidden",children:e.image?.src||e.avatar?.src?(0,t.jsx)("img",{src:e.image?.src||e.avatar?.src,alt:e.name||"",className:"w-full h-full object-cover"}):e.name?.[0]||"?"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-bold text-foreground",children:e.name}),(0,t.jsx)("div",{className:"text-xs text-primary font-medium",children:e.role||e.title})]})]})]},r)}function o(e){return(0,t.jsx)(a.Star,{size:20,fill:"currentColor"},e)}e.s(["TestimonialsRose",()=>n],509563)},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);
1let 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)},471061,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(462297),a=e.i(692604),a=a,s=e.i(117550),s=s,n=e.i(779342),l=e.i(511398),o=e.i(819023),c=e.i(526683);function d({section:e,className:d}){let[m,u]=(0,r.useState)(""),[h,x]=(0,r.useState)(!1),p=async()=>{if(m&&e.submit?.action)try{x(!0);let t=await fetch(e.submit.action,{method:"POST",body:JSON.stringify({email:m})});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);x(!1),i&&n.toast.success(i)}catch(e){x(!1),n.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":!m,"aria-describedby":"email-error",value:m,onChange:e=>u(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:p,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)(s.default,{className:"relative mx-auto size-5 md:hidden",strokeWidth:2})]})})]})})})]})})})}e.s(["Subscribe",()=>d],471061)},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),s=e.i(331597),n=e.i(526683);function l(e){let s,l,c,d,m,u,h,x,p,f,g,v,b,y,w,j,N,_,k,C,S,M,z,E,R,L=(0,r.c)(44),{section:I}=e,T="right"===(I.image_position||"left"),A=I.id||I.name;L[0]!==I.className?(s=(0,n.cn)("py-16 md:py-24",I.className),L[0]=I.className,L[1]=s):s=L[1];let P=T&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1";L[2]!==P?(l=(0,n.cn)("grid items-center gap-6 sm:grid-cols-2 md:gap-12 lg:gap-24",P),L[2]=P,L[3]=l):l=L[3],L[4]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:0,y:30},d={opacity:1,y:0},m={once:!0,margin:"-100px"},L[4]=c,L[5]=d,L[6]=m):(c=L[4],d=L[5],m=L[6]),L[7]===Symbol.for("react.memo_cache_sentinel")?(u=[.22,1,.36,1],L[7]=u):u=L[7],L[8]===Symbol.for("react.memo_cache_sentinel")?(h={duration:.6,ease:u},L[8]=h):h=L[8],L[9]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,scale:.95},p={opacity:1,scale:1},f={once:!0},L[9]=x,L[10]=p,L[11]=f):(x=L[9],p=L[10],f=L[11]),L[12]===Symbol.for("react.memo_cache_sentinel")?(g=[.22,1,.36,1],L[12]=g):g=L[12],L[13]===Symbol.for("react.memo_cache_sentinel")?(v={duration:.5,delay:.2,ease:g},L[13]=v):v=L[13];let F=I.image?.src??"",H=I.image?.alt??"";L[14]!==F||L[15]!==H?(b=(0,t.jsx)(i.motion.div,{initial:x,whileInView:p,viewport:f,transition:v,children:(0,t.jsx)(a.LazyImage,{src:F,className:"rounded-2xl",alt:H})}),L[14]=F,L[15]=H,L[16]=b):b=L[16];let D=T?-20:20;return L[17]!==D?(y={opacity:0,x:D},L[17]=D,L[18]=y):y=L[18],L[19]===Symbol.for("react.memo_cache_sentinel")?(w={opacity:1,x:0},j={once:!0},L[19]=w,L[20]=j):(w=L[19],j=L[20]),L[21]===Symbol.for("react.memo_cache_sentinel")?(N=[.22,1,.36,1],L[21]=N):N=L[21],L[22]===Symbol.for("react.memo_cache_sentinel")?(_={duration:.5,delay:.3,ease:N}
1,L[22]=_):_=L[22],L[23]!==I.title?(k=(0,t.jsx)("h2",{className:"text-xl font-medium md:text-lg lg:text-lg",children:I.title}),L[23]=I.title,L[24]=k):k=L[24],L[25]!==I.description?(C=(0,t.jsx)("p",{className:"text-muted-foreground text-md",children:I.description}),L[25]=I.description,L[26]=C):C=L[26],L[27]!==I.items?(S=I.items?.map(o),L[27]=I.items,L[28]=S):S=L[28],L[29]!==S?(M=(0,t.jsx)("div",{className:"mt-8 flex flex-wrap gap-4",children:S}),L[29]=S,L[30]=M):M=L[30],L[31]!==y||L[32]!==k||L[33]!==C||L[34]!==M?(z=(0,t.jsxs)(i.motion.div,{className:"relative space-y-4",initial:y,whileInView:w,viewport:j,transition:_,children:[k,C,M]}),L[31]=y,L[32]=k,L[33]=C,L[34]=M,L[35]=z):z=L[35],L[36]!==b||L[37]!==z||L[38]!==l?(E=(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:m,transition:h,children:[b,z]})}),L[36]=b,L[37]=z,L[38]=l,L[39]=E):E=L[39],L[40]!==A||L[41]!==s||L[42]!==E?(R=(0,t.jsx)("section",{id:A,className:s,children:E}),L[40]=A,L[41]=s,L[42]=E,L[43]=R):R=L[43],R}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)(s.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])},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),s=e.i(331597),n=e.i(511398),l=e.i(819023),o=e.i(526683);function c(e){let i,s,n,c,u,h,x,p,f,g,v,b=(0,r.c)(29),{section:y,className:w}=e;b[0]!==w||b[1]!==y.className?(i=(0,o.cn)("overflow-x-hidden py-16 md:py-24",y.className,w),b[0]=w,b[1]=y.className,b[2]=i):i=b[2];let j=y.image?.src??"",N=y.image?.alt??"";return b[3]!==j||b[4]!==N?(s=(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]=s):s=b[5],b[6]!==y.title?(n=(0,t.jsx)(l.ScrollAnimation,{delay:.1,children:(0,t.jsx)("h2",{className:"text-foreground text-4xl font-semibold text-balance break-words",children:y.title})}),b[6]=y.title,b[7]=n):n=b[7],b[8]!==y.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:y.description})}),b[8]=y.description,b[9]=c):c=b[9],b[10]!==y.buttons?(u=y.buttons&&y.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:y.buttons?.map(m)})}),b[10]=y.buttons,b[11]=u):u=b[11],b[12]!==n||b[13]!==c||b[14]!==u?(h=(0,t.jsxs)("div",{className:"w-full min-w-0 flex-1",children:[n,c,u]}),b[12]=n,b[13]=c,b[14]=u,b[15]=h):h=b[15],b[16]!==s||b[17]!==h?(x=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-8 pb-12 md:gap-24",children:[s,h]}),b[16]=s,b[17]=h,b[18]=x):x=b[18],b[19]!==y.items?(p=y.items?.map(d),b[19]=y.items,b[20]=p):p=b[20],b[21]!==p?(f=(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:p})}),b[21]=p,b[22]=f):f=b[22],b[23]!==f||b[24]!==x?(g=(0,t.jsxs)("div",{className:"container overflow-x-hidden",children:[x,f]}),b[23]=f,b[24]=x,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)(s.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 m(e,r){return(0,t.jsx)(n.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
1/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)(s.SmartIcon,{name:e.icon,size:24}),e.title]})},r)}e.s(["FeaturesList",()=>c])},706749,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(747026),a=e.i(199978),s=e.i(526683);function n(e){let i,a,n,o,c,d,m,u,h,x,p=(0,r.c)(26),{section:f,className:g}=e;p[0]!==f.items?(i=f.items||[],p[0]=f.items,p[1]=i):i=p[1];let v=i,b=f.id;p[2]!==g||p[3]!==f.className?(a=(0,s.cn)("bg-gradient-to-b from-card to-secondary py-24 px-6 border-t border-border",f.className,g),p[2]=g,p[3]=f.className,p[4]=a):a=p[4],p[5]!==f.title?(n=(0,t.jsx)("h2",{className:"text-4xl font-serif font-bold mb-4 text-foreground",children:f.title}),p[5]=f.title,p[6]=n):n=p[6],p[7]!==f.description?(o=f.description&&(0,t.jsx)("p",{className:"text-muted-foreground",children:f.description}),p[7]=f.description,p[8]=o):o=p[8],p[9]!==n||p[10]!==o?(c=(0,t.jsxs)("div",{className:"text-center mb-16",children:[n,o]}),p[9]=n,p[10]=o,p[11]=c):c=p[11];let y=2===v.length?"md:grid-cols-2":"md:grid-cols-3";return p[12]!==y?(d=(0,s.cn)("grid gap-8 max-w-4xl mx-auto",y),p[12]=y,p[13]=d):d=p[13],p[14]!==v?(m=v.map(l),p[14]=v,p[15]=m):m=p[15],p[16]!==d||p[17]!==m?(u=(0,t.jsx)("div",{className:d,children:m}),p[16]=d,p[17]=m,p[18]=u):u=p[18],p[19]!==u||p[20]!==c?(h=(0,t.jsxs)("div",{className:"max-w-6xl mx-auto",children:[c,u]}),p[19]=u,p[20]=c,p[21]=h):h=p[21],p[22]!==f.id||p[23]!==h||p[24]!==a?(x=(0,t.jsx)("section",{id:b,className:a,children:h}),p[22]=f.id,p[23]=h,p[24]=a,p[25]=x):x=p[25],x}function l(e,r){let n=e.is_popular||e.popular,l=e.features||e.items||[];return(0,t.jsxs)("div",{className:(0,s.cn)("bg-card rounded-[2rem] p-10 flex flex-col",n?"relative shadow-2xl ring-4 ring-secondary/50 transform md:-translate-y-4 border border-primary/20":"border border-primary/10 shadow-xl hover:shadow-2xl transition-shadow"),children:[n&&(0,t.jsx)("div",{className:"absolute top-6 right-6 bg-gradient-to-r from-primary to-primary/80 px-3 py-1 rounded-full text-xs font-bold text-primary-foreground shadow-lg",children:e.badge||"MOST POPULAR"}),(0,t.jsx)("div",{className:(0,s.cn)("text-sm font-bold uppercase tracking-wider mb-2",n?"text-primary":"text-muted-foreground"),children:e.name||e.title}),(0,t.jsxs)("div",{className:"text-4xl font-bold mb-8 text-foreground",children:[e.price,e.period&&(0,t.jsxs)("span",{className:"text-lg font-normal text-muted-foreground",children:[" ","/ ",e.period]})]}),(0,t.jsx)("ul",{className:"space-y-4 mb-12 text-muted-foreground flex-1",children:l.map((e,r)=>{let a="string"==typeof e?e:e.text,l="object"==typeof e&&e.disabled;return(0,t.jsxs)("li",{className:(0,s.cn)("flex gap-3 items-center",l&&"text-muted-foreground/50 line-through"),children:[(0,t.jsx)(i.CheckCircle2,{size:18,className:(0,s.cn)(n?"text-primary":"text-primary/70",l&&"opacity-50")}),a]},r)})}),e.button_url?(0,t.jsx)(a.Link,{href:e.button_url,className:(0,s.cn)("w-full py-4 rounded-xl font-bold transition-all text-center",n?"bg-gradient-to-r from-primary to-primary/90 text-primary-foreground hover:shadow-lg hover:from-primary/90 hover:to-primary shadow-primary/30":"bg-card border-2 border-border text-foreground hover:border-primary/30 hover:text-primary"),children:e.button_text||"Get Started"}):(0,t.jsx)("button",{className:(0,s.cn)("w-full py-4 rounded-xl font-bold transition-all",n?"bg-gradient-to-r from-primary to-primary/90 text-primary-foreground hover:shadow-lg hover:from-primary/90 hover:to-primary shadow-primary/30":"bg-card border-2 border-border text-foreground hover:border-primary/30 hover:text-primary"),children:e.button_text||"Get Started"})]},r)}e.s(["PricingRose",()=>n])},527587,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(463209),a=e.i(526683);function s(e){let i,s,c,d,m,u,h,x,p,f,g,v,b,y,w,j,N,_=(0,r.c)(44),{section:k,className:C}=e,S=k.id;_[0]!==C||_[1]!==k.className?(i=(0,a.cn)("py-24 px-6 bg-card overflow-hidden border-t border-border",k.className,C),_[0]=C,_[1]=k.className,_[2]=i):i=_[2],_[3]!==k.image?(s=k.image?.src&&(0,t.jsx)("img",{src:k.image.src,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105",alt:k.image.alt||"Transformation"}),_[3]=k.image,_[4]=s):s=_[4];let M=k.label_original||"Original";_[5]!==M?(c=(0,t.jsx)("div",{className:"absolute top-8 left-8 bg-card/80 backdrop-blur-md px-5 py-2 rounded-full shadow-lg border border-card/50",children:(0,t.jsx)("span",{className:"text-xs font-bold tracking-widest uppercase text-foreground",children:M})}),_[5]=M,_[6]=c):c=_[6];let z=k.label_vision||"Vision";return _[7]!==z?(d=(0,t.jsx)("div",{className:"absolute bottom-8 right-8 bg-primary/90 backdrop-blur-md px-5 py-2 rounded-full shadow-lg border border-primary/50",children:(0,t.jsx)("span",{className:"text-xs font-serif font-bold tracking-widest uppercase text-primary-foreground italic",children:z})}),_[7]=z,_[8]=d):d=_[8],_[9]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-32 h-32 border border-card/30 rounded-full animate-spin-slow pointer-events-none"}),u=(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-40 h-40 border border-card/10 rounded-full animate-pulse pointer-events-none"}),_[9]=m,_[10]=u):(m=_[9],u=_[10]),_[11]!==s||_[12]!==c||_[13]!==d?(h=(0,t.jsxs)("div",{className:"relative aspect-[4/5] md:aspect-square bg-muted rounded-[2.5rem] overflow-hidden shadow-2xl group border-4 border-card",children:[s,c,d,m,u]}),_[11]=s,_[12]=c,_[13]=d,_[14]=h):h=_[14],_[15]!==k.title_line1?(x=k.title_line1&&(0,t.jsxs)(t.Fragment,{children:[k.title_line1,(0,t.jsx)("br",{})]}),_[15]=k.title_line1,_[16]=x):x=_[16],_[17]!==k.title_highlight?(p=k.title_highlight&&(0,t.jsx)("span",{className:"text-primary italic font-light",children:k.title_highlight}),_[17]=k.title_highlight,_[18]=p):p=_[18],_[19]!==x||_[20]!==p?(f=(0,t.jsxs)("h2",{className:"text-5xl md:text-7xl font-serif font-bold text-foreground mb-8 leading-tight",children:[x,p]}),_[19]=x,_[20]=p,_[21]=f):f=_[21],_[22]!==k.paragraphs?(g=k.paragraphs?.map(o),_[22]=k.paragraphs,_[23]=g):g=_[23],_[24]!==g?(v=(0,t.jsx)("div",{className:"space-y-6 text-lg text-muted-foreground font-medium leading-relaxed",children:g}),_[24]=g,_[25]=v):v=_[25],_[26]!==k.label?(b=k.label&&(0,t.jsxs)("div",{className:"mt-12 flex items-center gap-4 text-sm font-bold tracking-widest uppercase text-primary",children:[(0,t.jsx)("div",{className:"h-px w-12 bg-primary"}),k.label]}),_[26]=k.label,_[27]=b):b=_[27],_[28]!==k.avatars||_[29]!==k.show_trust||_[30]!==k.trust_text?(y=k.show_trust&&(0,t.jsxs)("div",{className:"mt-8 flex gap-4",children:[(0,t.jsx)("div",{className:"flex -sp
1ace-x-2",children:k.avatars?.map(l)}),(0,t.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,t.jsx)("div",{className:"flex text-yellow-400 gap-0.5",children:[1,2,3,4,5].map(n)}),k.trust_text&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground font-medium",children:k.trust_text})]})]}),_[28]=k.avatars,_[29]=k.show_trust,_[30]=k.trust_text,_[31]=y):y=_[31],_[32]!==f||_[33]!==v||_[34]!==b||_[35]!==y?(w=(0,t.jsxs)("div",{className:"md:pl-10",children:[f,v,b,y]}),_[32]=f,_[33]=v,_[34]=b,_[35]=y,_[36]=w):w=_[36],_[37]!==h||_[38]!==w?(j=(0,t.jsxs)("div",{className:"max-w-[1600px] mx-auto grid md:grid-cols-2 gap-16 items-center",children:[h,w]}),_[37]=h,_[38]=w,_[39]=j):j=_[39],_[40]!==k.id||_[41]!==j||_[42]!==i?(N=(0,t.jsx)("section",{id:S,className:i,children:j}),_[40]=k.id,_[41]=j,_[42]=i,_[43]=N):N=_[43],N}function n(e){return(0,t.jsx)(i.Star,{size:14,fill:"currentColor"},e)}function l(e,r){return(0,t.jsx)("div",{className:"w-10 h-10 rounded-full border-2 border-card bg-muted flex items-center justify-center text-xs overflow-hidden",children:e.src?(0,t.jsx)("img",{src:e.src,className:"w-full h-full object-cover",alt:e.alt||""}):(0,t.jsx)("span",{className:"text-muted-foreground",children:e.initial||"?"})},r)}function o(e,r){return(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:e},className:"[&_strong]:text-foreground [&_strong]:font-bold [&_u]:decoration-primary/30 [&_u]:decoration-2 [&_u]:underline-offset-4"},r)}e.s(["FeatureSplit",()=>s])},151580,e=>{"use strict";let t=(0,e.i(889522).default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);e.s(["default",()=>t])},695859,e=>{"use strict";var t=e.i(905342);e.s(["ArrowRight",()=>t.default])},750829,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(695859),s=e.i(151580),s=s,n=e.i(199978),l=e.i(526683);let o=(0,i.memo)(e=>{let i,a,n,l,o,c,d,m=(0,r.c)(16),{style:u,onClick:h}=e,x=u.image?.src||u.thumb||"",p=u.image?.alt||u.name||u.title||"";m[0]!==x||m[1]!==p?(i=(0,t.jsx)("img",{src:x,alt:p,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110",loading:"lazy"}),m[0]=x,m[1]=p,m[2]=i):i=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),m[3]=a):a=m[3];let f=u.name||u.title;return m[4]!==f?(n=(0,t.jsx)("div",{className:"text-primary-foreground font-bold text-lg whitespace-normal leading-tight",children:f}),m[4]=f,m[5]=n):n=m[5],m[6]!==u.category?(l=u.category&&(0,t.jsx)("div",{className:"text-primary/70 text-xs font-medium uppercase tracking-wider mt-1",children:u.category}),m[6]=u.category,m[7]=l):l=m[7],m[8]!==n||m[9]!==l?(o=(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 w-full p-4 transform translate-y-4 group-hover:translate-y-0 transition-transform duration-300",children:[n,l]}),m[8]=n,m[9]=l,m[10]=o):o=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"absolute top-3 right-3 bg-card/90 p-2 rounded-full opacity-0 group-hover:opacity-100 transition-all duration-300 scale-75 group-hover:scale-100 shadow-sm",children:(0,t.jsx)(s.default,{size:14,className:"text-foreground"})}),m[11]=c):c=m[11],m[12]!==h||m[13]!==i||m[14]!==o?(d=(0,t.jsxs)("div",{onClick:h,className:"group relative aspect-[3/4] rounded-2xl overflow-hidden cursor-pointer shadow-md hover:shadow-2xl transition-all duration-500 bg-card",children:[i,a,o,c]}),m[12]=h,m[13]=i,m[14]=o,m[15]=d):d=m[15],d});function c(e){let i,s,o,c,m,u,h,x,p,f=(0,r.c)(42),{section:g,className:v}=e;if(f[0]!==v||f[1]!==g.className||f[2]!==g.description||f[3]!==g.display_count||f[4]!==g.id||f[5]!==g.items||f[6]!==g.title||f[7]!==g.view_all_text||f[8]!==g.view_all_url){let e,r,h,x,p=g.items||[],b=g.display_count||12,y=p.slice(0,b);m=g.id,f[15]!==v||f[16]!==g.className?(u=(0,l.cn)("bg-card py-24 px-6 border-t border-border",g.className,v),f[15]=v,f[16]=g.className,f[17]=u):u=f[17],o="max-w-[1600px] mx-auto",f[18]!==g.title?(e=(0,t.jsx)("h2",{className:"text-4xl md:text-5xl font-serif font-bold text-foreground mb-4",children:g.title}),f[18]=g.title,f[19]=e):e=f[19],f[20]!==g.description?(r=g.description&&(0,t.jsx)("p",{className:"text-muted-foreground",children:g.description}),f[20]=g.description,f[21]=r):r=f[21],f[22]!==e||f[23]!==r?(h=(0,t.jsxs)("div",{children:[e,r]}),f[22]=e,f[23]=r,f[24]=h):h=f[24],f[25]!==g.view_all_text||f[26]!==g.view_all_url?(x=g.view_all_url&&(0,t.jsxs)(n.Link,{href:g.view_all_url,className:"group flex items-center gap-2 text-primary font-bold hover:gap-4 transition-all mt-6 md:mt-0",children:[g.view_all_text||"View All Styles",(0,t.jsx)(a.ArrowRight,{size:20})]}),f[25]=g.view_all_text,f[26]=g.view_all_url,f[27]=x):x=f[27],f[28]!==x||f[29]!==h?(c=(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-end mb-16 px-4",children:[h,x]}),f[28]=x,f[29]=h,f[30]=c):c=f[30],i="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-6",s=y.map(d),f[0]=v,f[1]=g.className,f[2]=g.description,f[3]=g.display_count,f[4]=g.id,f[5]=g.items,f[6]=g.title,f[7]=g.view_all_text,f[8]=g.view_all_url,f[9]=i,f[10]=s,f[11]=o,f[12]=c,f[13]=m,f[14]=u}else i=f[9],s=f[10],o=f[11],c=f[12],m=f[13],u=f[14];return f[31]!==i||f[32]!==s?(h=(0,t.jsx)("div",{className:i,children:s}),f[31]=i,f[32]=s,f[33]=h):h=f[33],f[34]!==o||f[35]!==c||f[36]!==h?(x=(0,t.jsxs)("div",{className:o,children:[c,h]}),f[34]=o,f[35]=c,f[36]=h,f[37]=x):x=f[37],f[38]!==m||f[39]!==u||f[40]!==x?(p=(0,t.jsx)("section",{id:m,className:u,children:x}),f[38]=m,f[39]=u,f[40]=x,f[41]=p):p=f[41],p}function d(e,r){return(0,t.jsx)(o,{style:e},e.slug||e.id||r)}
1o.displayName="CatalogCard",e.s(["StyleCatalog",()=>c],750829)},417374,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(103979),s=e.i(98160),n=e.i(199978),l=e.i(331597),o=e.i(511398),c=e.i(686247),d=e.i(526683);function m(e){let a,n,l,o,c,m,h,x,p,f,g,v,b,y,w,j,N=(0,r.c)(39),{section:_,className:k}=e;N[0]!==_?(a=_.groups||[],N[0]=_,N[1]=a):a=N[1];let C=a,[S,M]=(0,i.useState)(C.length>0?C[0].name:"");e:{let e;if(!_.items){let e;N[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],N[2]=e):e=N[2],n=e;break e}if(!S||!C.length||"all"===S){n=_.items;break e}if(N[3]!==_.items||N[4]!==S){let t;N[6]!==S?(t=e=>e.group===S,N[6]=S,N[7]=t):t=N[7],e=_.items.filter(t),N[3]=_.items,N[4]=S,N[5]=e}else e=N[5];n=e}let z=n,E=_.id||_.name;return N[8]!==k||N[9]!==_.className?(l=(0,d.cn)("py-24 md:py-36",_.className,k),N[8]=k,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},m={once:!0},N[11]=o,N[12]=c,N[13]=m):(o=N[11],c=N[12],m=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")?(x={duration:.6,ease:h},N[15]=x):x=N[15],N[16]!==_.sr_only_title?(p=_.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:_.sr_only_title}),N[16]=_.sr_only_title,N[17]=p):p=N[17],N[18]!==_.title?(f=(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]=f):f=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]!==p||N[23]!==f||N[24]!==g?(v=(0,t.jsxs)(s.motion.div,{className:"container mb-12 text-center",initial:o,whileInView:c,viewport:m,transition:x,children:[p,f,g]}),N[22]=p,N[23]=f,N[24]=g,N[25]=v):v=N[25],N[26]!==C||N[27]!==S?(b=C.length>0&&(0,t.jsx)(s.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:C.map((e,r)=>{let i=S===e.name;return(0,t.jsx)(s.motion.button,{onClick:()=>M(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]=C,N[27]=S,N[28]=b):b=N[28],N[29]!==z?(y=z.length>0?z.map(u):(0,t.jsx)(s.motion.div,{className:"text-muted-foreground col-span-full text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),N[29]=z,N[30]=y):y=N[30],N[31]!==y?(w=(0,t.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:y}),N[31]=y,N[32]=w):w=N[32],N[33]!==v||N[34]!==b||N[35]!==w||N[36]!==E||N[37]!==l?(j=(0,t.jsxs)("section",{id:E,className:l,children:[v,b,w]}),N[33]=v,N[34]=b,N[35]=w,N[36]=E,N[37]=l,N[38]=j):j=N[38],j}function u(e,r){let i=!!e.button,d=(0,t.jsx)(s.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)(s.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)(n.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)(n.Link,{href:e.url||"",target:e.target,children:d},r)}e.s(["Showcases",()=>m])},755529,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978);e.i(741820);var a=e.i(799112),s=e.i(998559),n=e.i(538630),l=e.i(600195),o=e.i(331597);let c=["/","/about","/contact","/styles","/privacy","/terms","/cookies","/pricing"],d=["/blog"];function m(e){let o,m,p,f,g,v,b,y,w,j,N,_,k,C,S,M,z,E,R=(0,r.c)(43),{footer:L}=e,I=(0,i.usePathname)(),T=c.includes(I)||d.some(e=>I===e||I.startsWith(`${e}/`));if(L.hidden||T)return null;let A=`py-8 sm:py-8 ${L.className||""} overflow-x-hidden`;return R[0]!==L.brand?(o=L.brand?(0,t.jsx)(a.BrandLogo,{brand:L.brand}):null,R[0]=L.brand,R[1]=o):o=R[1],R[2]!==L.brand?(m=L.brand?.description?(0,t.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:L.brand.description}}):null,R[2]=L.brand,R[3]=m):m=R[3],R[4]!==o||R[5]!==m?(p=(0,t.jsxs)("div",{className:"min-w-0 space-y-4 break-words md:col-span-2 md:space-y-6",children:[o,m]}),R[4]=o,R[5]=m,R[6]=p):p=R[6],R[7]!==L.nav?.items?(f=L.nav?.items.map(x),R[7]=L.nav?.items,R[8]=f):f=R[8],R[9]!==f?(g=(0,t.jsx)("div",{className:"col-span-3 grid min-w-0 gap-6 sm:grid-cols-3",children:f}),R[9]=f,R[10]=g):g=R[10],R[11]!==p||R[12]!==g?(v=(0,t.jsxs)("div",{className:"grid min-w-0 gap-12 md:grid-cols-5",children:[p,g]}),R[11]=p,R[12]=g,R[13]=v):v=R[13],R[14]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("div",{className:"min-w-0 flex-1"}),R[14]=b):b=R[14],R[15]!==L.show_theme?(y=!1!==L.show_theme?(0,t.jsx)(l.ThemeToggler,{type:"toggle"}):null,R[15]=L.show_theme,R[16]=y):y=R[16],R[17]!==L.show_locale?(w=!1!==L.show_locale?(0,t.jsx)(n.LocaleSelector,{type:"button"}):null,R[17]=L.show_locale,R[18]=w):w=R[18],R[19]!==w||R[20]!==y?(j=(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-4 sm:gap-8",children:[b,y,w]}),R[19]=w,R[20]=y,R[21]=j):j=R[21],R[22]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("div",{"aria-hidden":!0,className:"h-px min-w-0 [background-image:linear-gradient(90deg,var(--color-foreground)_1px,transparent_1px)] bg-[length:6px_1px] bg-repeat-x opacity-25"}),R[22]=N):N=R[22],R[23]!==L.brand||R[24]!==L.copyright?(_=L.copyright?(0,t.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:L.copyright}}):L.brand?(0,t.jsx)(s.Copyright,{brand:L.brand}):null,R[23]=L.brand,R[24]=L.copyright,R[25]=_):_=R[25],R[26]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("div",{className:"min-w-0 flex-1"}),R[26]=k):k=R[26],R[27]!==L.agreement?(C=L.agreement?(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-4",children:L.agreement?.items.map(h)}):null,R[27]=L.agreement,R[28]=C):C=R[28],R[29]!==L.social?(S=L.social?(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:L.social?.items.map(u)}):null,R[29]=L.social,R[30]=S):S=R[30],R[31]!==_||R[32]!==C||R[33]!==S?(M=(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap justify-between gap-8",children:[_,k,C,S]}),R[31]=_,R[32]=C,R[33]=S,R[34]=M):M=R[34],R[35]!==j||R[36]!==M||R[37]!==v?(z=(0,t.jsxs)("div",{className:"container space-y-8 overflow-x-hidden",children:[v,j,N,M]}),R[35]=j,R[36]=M,R[37]=v,R[38]=z):z=R[38],R[39]!==L.id||R[40]!==A||R[41]!==z?(E=(0,t.jsx)("footer",{id:L.id,className:A,children:z}),R[39]=L.id,R[40]=A,R[41]=z,R[42]=E):E=R[42],E}function u(e,r){return(0,t.jsx)(i.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary bg-background block cursor-pointer rounded-full p-2 duration-150","aria-label":e.title||"Social media link",children:e.icon&&(0,t.jsx)(o.SmartIcon,{name:e.icon,size:20})},r)}function h(e,r){return(0,t.jsx)(i.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary block text-xs break-words underline duration-150",children:e.title||""},r)}function x(e,r){return(0,t.jsxs)("div",{className:"min-w-0 space-y-4 text-sm break-words",children:[(0,t.jsx)("span",{className:"block font-medium break-words",children:e.title}),(0,t.jsx)("div",{className:"flex min-w-0 flex-wrap gap-4 sm:flex-col",children:e.children?.map(p)})]},r)}function p(e,r){return(0,t.jsx)(i.Link,{href:e.url||"",target:e.target||"",className:"text-muted-foreground hover:text-primary block break-words duration-150",children:(0,t.jsx)("span",{className:"break-words",children:e.title||""})},r)}e.s(["Footer",()=>m])},490033,e=>{"use strict";var t=e.i(467248);e.s(["MoveHorizontal",()=>t.default])},235382,e=>{"use strict";
1var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(490033),s=e.i(526683);function n(e){let n,l,o,c,d,m,u,h,x,p,f,g,v,b,y,w,j,N,_,k,C,S,M,z=(0,r.c)(51),{section:E,className:R}=e,[L,I]=(0,i.useState)(20),T=(0,i.useRef)(null);(0,i.useRef)(!1),z[0]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{if(!T.current)return;let t=T.current.getBoundingClientRect();I(Math.min(100,Math.max(0,(e-t.left)/t.width*100)))},z[0]=n):n=z[0];let A=n;z[1]===Symbol.for("react.memo_cache_sentinel")?(l=e=>{A(e.clientX)},z[1]=l):l=z[1];let P=l;z[2]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{e.touches.length>0&&A(e.touches[0].clientX)},z[2]=o):o=z[2];let F=o,H=E.id;z[3]!==R||z[4]!==E.className?(c=(0,s.cn)("relative h-[90vh] w-full overflow-hidden bg-background cursor-ew-resize mt-16 group z-30",E.className,R),z[3]=R,z[4]=E.className,z[5]=c):c=z[5],z[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-secondary to-background opacity-50"}),z[6]=d):d=z[6],z[7]!==E.image_before?(m=E.image_before?.src&&(0,t.jsx)("img",{src:E.image_before.src,className:"absolute inset-0 w-full h-full object-cover opacity-80 grayscale-[20%]",alt:E.image_before.alt||"Before"}),z[7]=E.image_before,z[8]=m):m=z[8];let D=E.label_before||"BEFORE";z[9]!==D?(u=(0,t.jsx)("div",{className:"absolute top-1/2 left-10 transform -translate-y-1/2 text-foreground/10 text-9xl font-serif font-black pointer-events-none select-none",children:D}),z[9]=D,z[10]=u):u=z[10],z[11]!==m||z[12]!==u?(h=(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"w-full h-full max-w-[1200px] mx-auto relative overflow-hidden",children:[m,u]})}),z[11]=m,z[12]=u,z[13]=h):h=z[13];let $=`${L}%`;z[14]!==$?(x={width:$,transition:"width 0.05s linear"},z[14]=$,z[15]=x):x=z[15],z[16]!==E.image_after?(p=E.image_after?.src&&(0,t.jsx)("img",{src:E.image_after.src,className:"absolute inset-0 w-full h-full object-cover contrast-105 saturate-110",alt:E.image_after.alt||"After"}),z[16]=E.image_after,z[17]=p):p=z[17],z[18]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/10 to-transparent mix-blend-overlay"}),z[18]=f):f=z[18];let O=E.label_after||"AFTER";z[19]!==O?(g=(0,t.jsx)("div",{className:"absolute top-1/2 right-10 transform -translate-y-1/2 text-primary-foreground/20 text-9xl font-serif font-black pointer-events-none select-none",children:O}),z[19]=O,z[20]=g):g=z[20],z[21]!==p||z[22]!==g?(v=(0,t.jsxs)("div",{className:"w-screen h-full max-w-[1200px] mx-auto relative overflow-hidden",children:[p,f,g]}),z[21]=p,z[22]=g,z[23]=v):v=z[23],z[24]!==x||z[25]!==v?(b=(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden",style:x,children:v}),z[24]=x,z[25]=v,z[26]=b):b=z[26];let V=`${L}%`;return z[27]!==V?(y={left:V},z[27]=V,z[28]=y):y=z[28],z[29]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-12 h-12 bg-card rounded-full flex items-center justify-center shadow-xl text-primary",children:(0,t.jsx)(a.MoveHorizontal,{size:20})}),z[29]=w):w=z[29],z[30]!==y?(j=(0,t.jsx)("div",{className:"absolute top-0 bottom-0 w-[1px] bg-card z-40 pointer-events-none shadow-[0_0_20px_rgba(0,0,0,0.2)]",style:y,children:w}),z[30]=y,z[31]=j):j=z[31],z[32]!==E.title_prefix?(N=E.title_prefix&&(0,t.jsxs)("span",{children:[E.title_prefix," "]}),z[32]=E.title_prefix,z[33]=N):N=z[33],z[34]!==E.title_highlight?(_=E.title_highlight&&(0,t.jsx)("span",{className:"text-primary italic",children:E.title_highlight}),z[34]=E.title_highlight,z[35]=_):_=z[35],z[36]!==N||z[37]!==_?(k=(0,t.jsxs)("h1",{className:"text-5xl md:text-6xl text-foreground font-serif font-bold mb-2",children:[N,_]}),z[36]=N,z[37]=_,z[38]=k):k=z[38],z[39]!==E.description?(C=E.description&&(0,t.jsx)("p",{className:"text-muted-foreground font-medium tracking-wide",children:E.description}),z[39]=E.description,z[40]=C):C=z[40],z[41]!==k||z[42]!==C?(S=(0,t.jsx)("div",{className:"absolute bottom-20 left-0 right-0 text-center pointer-events-none z-30",children:(0,t.jsxs)("div",{className:"inline-block bg-card/80 backdrop-blur-md px-8 py-6 rounded-3xl shadow-2xl border border-card/50",children:[k,C]})}),z[41]=k,z[42]=C,z[43]=S):S=z[43],z[44]!==E.id||z[45]!==h||z[46]!==b||z[47]!==j||z[48]!==S||z[49]!==c?(M=(0,t.jsxs)("section",{id:H,ref:T,onMouseMove:P,onTouchMove:F,className:c,children:[d,h,b,j,S]}),z[44]=E.id,z[45]=h,z[46]=b,z[47]=j,z[48]=S,z[49]=c,z[50]=M):M=z[50],M}e.s(["HeroHair",()=>n])},943592,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(176342);let s="http://www.w3.org/2000/svg";class n{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 s,n,l,o,c;return function(e,t,r,i){let[a,s]=f(i.increment,e,t,i.rx,i.ry,1,i.increment*m(.1,m(.4,1,r),r),r),n=p(a,null,r);if(!r.disableMultiStroke){let[a]=f(i.increment,e,t,i.rx,i.ry,1.5,0,r),s=p(a,null,r);n=n.concat(s)}return{estimatedPoints:s,opset:{type:"path",ops:n}}}(e,t,a,(s=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(r/2,2)+Math.pow(i/2,2))/2)),n=2*Math.PI/Math.max(a.curveStepCount,a.curveStepCount/Math.sqrt(200)*s),l=Math.abs(r/2),o=Math.abs(i/2),c=1-a.curveFitting,l+=u(l*c,a),o+=u(o*c,a),{increment:n,rx:l,ry:o})).opset}function d(e){return e.randomizer||(e.randomizer=new n(e.seed||0)),e.randomizer.next()}function m(e,t,r,i=1){return r.roughness*i*(d(r)*(t-e)+e)}function u(e,t,r=1){return m(-e,e,t,r)}function h(e,t,r,i,a,s=!1){let n=s?a.disableMultiStrokeFill:a.disableMultiStroke,l=x(e,t,r,i,a,!0,!1);if(n)return l;let o=x(e,t,r,i,a,!0,!0);return l.concat(o)}function x(e,t,r,i,a,s,n){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 m=a.maxRandomnessOffset||0;m*m*100>
1l&&(m=o/10);let h=m/2,x=.2+.2*d(a),p=a.bowing*a.maxRandomnessOffset*(i-t)/200,f=a.bowing*a.maxRandomnessOffset*(e-r)/200;p=u(p,a,c),f=u(f,a,c);let g=[];return s&&(n?g.push({op:"move",data:[e+u(h,a,c),t+u(h,a,c)]}):g.push({op:"move",data:[e+u(m,a,c),t+u(m,a,c)]})),n?g.push({op:"bcurveTo",data:[p+e+(r-e)*x+u(h,a,c),f+t+(i-t)*x+u(h,a,c),p+e+2*(r-e)*x+u(h,a,c),f+t+2*(i-t)*x+u(h,a,c),r+u(h,a,c),i+u(h,a,c)]}):g.push({op:"bcurveTo",data:[p+e+(r-e)*x+u(m,a,c),f+t+(i-t)*x+u(m,a,c),p+e+2*(r-e)*x+u(m,a,c),f+t+2*(i-t)*x+u(m,a,c),r+u(m,a,c),i+u(m,a,c)]}),g}function p(e,t,r){let i=e.length,a=[];if(i>3){let s=[],n=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];s[0]=[r[0],r[1]],s[1]=[r[0]+(n*e[t+1][0]-n*e[t-1][0])/6,r[1]+(n*e[t+1][1]-n*e[t-1][1])/6],s[2]=[e[t+1][0]+(n*e[t][0]-n*e[t+2][0])/6,e[t+1][1]+(n*e[t][1]-n*e[t+2][1])/6],s[3]=[e[t+1][0],e[t+1][1]],a.push({op:"bcurveTo",data:[s[1][0],s[1][1],s[2][0],s[2][1],s[3][0],s[3][1]]})}if(t&&2===t.length){let e=r.maxRandomnessOffset;a.push({op:"lineTo",data:[t[0]+u(e,r),t[1]+u(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 f(e,t,r,i,a,s,n,l){let o=[],c=[],d=u(.5,l)-Math.PI/2;c.push([u(s,l)+t+.9*i*Math.cos(d-e),u(s,l)+r+.9*a*Math.sin(d-e)]);for(let n=d;n<2*Math.PI+d-.01;n+=e){let e=[u(s,l)+t+i*Math.cos(n),u(s,l)+r+a*Math.sin(n)];o.push(e),c.push(e)}return c.push([u(s,l)+t+i*Math.cos(d+2*Math.PI+.5*n),u(s,l)+r+a*Math.sin(d+2*Math.PI+.5*n)]),c.push([u(s,l)+t+.98*i*Math.cos(d+n),u(s,l)+r+.98*a*Math.sin(d+n)]),c.push([u(s,l)+t+.9*i*Math.cos(d+.5*n),u(s,l)+r+.9*a*Math.sin(d+.5*n)]),[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(s,"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)}}
1hide(){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 n=r.animationDuration||800,d=0;for(let t=0;t<i.length;t++){let m=n*(i[t].w/a);(function(e,t,r,i,a,n){let d=[],m=r.strokeWidth||2,u=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,x=r.iterations||2,p=+!!r.rtl,f=g("single",n);switch(r.type){case"underline":{let e=t.y+t.h+u[2];for(let r=p;r<x+p;r++)r%2?d.push(l(t.x+t.w,e,t.x,e,f)):d.push(l(t.x,e,t.x+t.w,e,f));break}case"strike-through":{let e=t.y+t.h/2;for(let r=p;r<x+p;r++)r%2?d.push(l(t.x+t.w,e,t.x,e,f)):d.push(l(t.x,e,t.x+t.w,e,f));break}case"box":{let e=t.x-u[3],r=t.y-u[0],i=t.w+(u[1]+u[3]),a=t.h+(u[0]+u[2]);for(let t=0;t<x;t++){var v,b,y,w;d.push(o([[v=e,b=r],[v+(y=i),b],[v+y,b+(w=a)],[v,b+w]],!0,f))}break}case"bracket":{let e=Array.isArray(r.brackets)?r.brackets:r.brackets?[r.brackets]:["right"],i=t.x-2*u[3],a=t.x+t.w+2*u[1],s=t.y-2*u[0],n=t.y+t.h+2*u[2];for(let r of e){let e;switch(r){case"bottom":e=[[i,t.y+t.h],[i,n],[a,n],[a,t.y+t.h]];break;case"top":e=[[i,t.y],[i,s],[a,s],[a,t.y]];break;case"left":e=[[t.x,s],[i,s],[i,n],[t.x,n]];break;case"right":e=[[t.x+t.w,s],[a,s],[a,n],[t.x+t.w,n]]}e&&d.push(o(e,!1,f))}break}case"crossed-off":{let e=t.x,r=t.y,i=e+t.w,a=r+t.h;for(let t=p;t<x+p;t++)t%2?d.push(l(i,a,e,r,f)):d.push(l(e,r,i,a,f));for(let t=p;t<x+p;t++)t%2?d.push(l(e,a,i,r,f)):d.push(l(i,r,e,a,f));break}case"circle":{let e=g("double",n),r=t.w+(u[1]+u[3]),i=t.h+(u[0]+u[2]),a=t.x-u[3]+r/2,s=t.y-u[0]+i/2,l=Math.floor(x/2),o=x-2*l;for(let t=0;t<l;t++)d.push(c(a,s,r,i,e));for(let e=0;e<o;e++)d.push(c(a,s,r,i,f));break}case"highlight":{let e=g("highlight",n);m=.95*t.h;let r=t.y+t.h/2;for(let i=p;i<x+p;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),n=[],l=[],o=0,c=(e,t,r)=>e.setAttribute(t,r);for(let i of t){let t=document.createElementNS(s,"path");if(c(t,"d",i),c(t,"fill","none"),c(t,"stroke",r.color||"currentColor"),c(t,"stroke-width",""+m),h){let e=t.getTotalLength();n.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],s=n[t],c=o?s/o*a:0,d=i+e,m=r.style;m.strokeDashoffset=""+s,m.strokeDasharray=""+s,m.animation=`rough-notation-dash ${c}ms ease-out ${d}ms forwards`,e+=c}}}})(e,i[t],r,d+this._animationDelay,m,this._seed),d+=m}this._lastSizes=i,this._state="showing"}rects(){let e=[];
1if(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 s,n,l,o,c=(0,r.c)(13),{children:d,action:m,color:u,strokeWidth:h,animationDuration:x,iterations:p,padding:f,multiline:g,isView:b}=e,y=void 0===m?"highlight":m,w=void 0===u?"#ffd1dc":u,j=void 0===h?1.5:h,N=void 0===x?600:x,_=void 0===p?2:p,k=void 0===f?2:f,C=void 0===g||g,S=(0,i.useRef)(null),M=(0,i.useRef)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(s={once:!0,margin:"-10%"},c[0]=s):s=c[0];let z=(0,a.useInView)(S,s),E=!(void 0!==b&&b)||z;return c[1]!==y||c[2]!==N||c[3]!==w||c[4]!==_||c[5]!==C||c[6]!==k||c[7]!==E||c[8]!==j?(n=()=>{if(!E)return;let e=S.current;if(!e)return;let t=new v(e,{type:y,color:w,strokeWidth:j,animationDuration:N,iterations:_,padding:k,multiline:C});M.current=t,M.current.show();let r=new ResizeObserver(()=>{t.hide(),t.show()});return r.observe(e),r.observe(document.body),()=>{e&&(new v(e,{type:y}).remove(),r.disconnect())}},l=[E,y,w,j,N,_,k,C],c[1]=y,c[2]=N,c[3]=w,c[4]=_,c[5]=C,c[6]=k,c[7]=E,c[8]=j,c[9]=n,c[10]=l):(n=c[9],l=c[10]),(0,i.useEffect)(n,l),c[11]!==d?(o=(0,t.jsx)("span",{ref:S,className:"relative inline-block bg-transparent",children:d}),c[11]=d,c[12]=o):o=c[12],o}e.s(["Highlighter",()=>b],943592)},421616,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(339191),s=e.i(98160),n=e.i(570172),l=e.i(866273),o=e.i(653668),c=e.i(199978);e.i(741820);var d=e.i(24963),m=e.i(331597),u=e.i(511398),h=e.i(526683);function x(e){let x,v,b,y,w,j,N,_,k,C,S,M,z,E,R,L,I,T,A,P,F,H,D=(0,r.c)(57),{section:$,className:O}=e;D[0]!==$?(x=$.groups||[],D[0]=$,D[1]=x):x=D[1];let V=x,[W,q]=(0,i.useState)(V.length>0?V[0].name:""),[B,K]=(0,i.useState)(null);e:{let e;if(!$.items){let e;D[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],D[2]=e):e=D[2],v=e;break e}if(!W||!V.length||"all"===W){v=$.items;break e}if(D[3]!==$.items||D[4]!==W){let t;D[6]!==W?(t=e=>e.group===W,D[6]=W,D[7]=t):t=D[7],e=$.items.filter(t),D[3]=$.items,D[4]=W,D[5]=e}else e=D[5];v=e}let U=v;D[8]!==U.length?(b=()=>{K(e=>null!==e?0===e?(U.length??1)-1:e-1:null)},D[8]=U.length,D[9]=b):b=D[9];let G=b;D[10]!==U.length?(y=()=>{K(e=>null!==e?e===(U.length??1)-1?0:e+1:null)},D[10]=U.length,D[11]=y):y=D[11];let X=y;D[12]!==X||D[13]!==G||D[14]!==B?(w=()=>{let e=e=>{null!==B&&("Escape"===e.key&&K(null),"ArrowLeft"===e.key&&G(),"ArrowRight"===e.key&&X())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},j=[B,G,X],D[12]=X,D[13]=G,D[14]=B,D[15]=w,D[16]=j):(w=D[15],j=D[16]),(0,i.useEffect)(w,j);let J=$.id||$.name;return D[17]!==O||D[18]!==$.className?(N=(0,h.cn)("py-24 md:py-36",$.className,O),D[17]=O,D[18]=$.className,D[19]=N):N=D[19],D[20]===Symbol.for("react.memo_cache_sentinel")?(C={opacity:0,y:20},_={opacity:1,y:0},k={once:!0},D[20]=_,D[21]=k,D[22]=C):(_=D[20],k=D[21],C=D[22]),D[23]===Symbol.for("react.memo_cache_sentinel")?(S=[.22,1,.36,1],D[23]=S):S=D[23],D[24]===Symbol.for("react.memo_cache_sentinel")?(M={duration:.6,ease:S},D[24]=M):M=D[24],D[25]!==$.sr_only_title?(z=$.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:$.sr_only_title}),D[25]=$.sr_only_title,D[26]=z):z=D[26],D[27]!==$.title?(E=(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}),D[27]=$.title,D[28]=E):E=D[28],D[29]!==$.description?(R=(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:$.description}),D[29]=$.description,D[30]=R):R=D[30],D[31]!==$.buttons?(L=$.buttons&&$.buttons.length>0&&(0,t.jsx)("div",{className:"container mx-auto mt-8 mb-12 flex flex-wrap justify-center gap-4",children:$.buttons.map(g)}),D[31]=$.buttons,D[32]=L):L=D[32],D[33]!==z||D[34]!==E||D[35]!==R||D[36]!==L?(I=(0,t.jsxs)(s.motion.div,{className:"container mb-12 text-center",initial:C,whileInView:_,viewport:k,transition:M,children:[z,E,R,L]}),D[33]=z,D[34]=E,D[35]=R,D[36]=L,D[37]=I):I=D[37],D[38]!==V||D[39]!==W?(T=V.length>0&&(0,t.jsx)(s.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:V.map((e,r)=>{let i=W===e.name;return(0,t.jsx)(s.motion.button,{onClick:()=>q(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)})}),D[38]=V,D[39]=W,D[40]=T):T=D[40],D[41]!==U?(A=U.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:U.map((e,r)=>(0,t.jsxs)(s.motion.div,{className:"group relative cursor-zoom-in break-inside-avoid overflow-hidden rounded-xl",onClick:()=>K(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:f,children:(0,t.jsx)(u.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)(m.SmartIcon,{name:e.button.icon}),e.button.title]})})})]})]},r))}):(0,t.jsx)(s.motion.div,{className:"text-muted-foreground container text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),D[41]=U,D[42]=A):A=D[42],D[43]!==U||D[44]!==X||D[45]!==G||D[46]!==B?(P=null!==B&&U&&U.length>0&&(0,t.jsxs)(s.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:()=>K(null),children:[(0,t.jsx)("button",{className:"absolute top-4 right-4 z-50 text-white/70 transition-colors hover:text-white",onClick:()=>K(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(),G()},children:(0,t.jsx)(n.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(),X()},children:(0,t.jsx)(l.ChevronRight,{className:"size-8 md:size-12"})}),(0,t.jsx)(s.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:p,children:(0,t.jsxs)("div",{className:"relative max-h-full max-w-full overflow-hidden rounded-lg",children:[(0,t.jsx)(d.LazyImage,{src:U[B].image?.src??"",alt:U[B].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:U[B].title}),U[B].description&&(0,t.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:U[B].description}),U[B].button&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(u.Button,{asChild:!0,variant:U[B].button.variant||"default",size:U[B].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:U[B].button.url||"",target:U[B].button.target||"_self",children:[U[B].button.icon&&(0,t.jsx)(m.SmartIcon,{name:U[B].button.icon,className:"text-white"}),U[B].button.title]})})})]})]})},B)]}),D[43]=U,D[44]=X,D[45]=G,D[46]=B,D[47]=P):P=D[47],D[48]!==P?(F=(0,t.jsx)(a.AnimatePresence,{children:P}),D[48]=P,D[49]=F):F=D[49],D[50]!==I||D[51]!==T||D[52]!==A||D[53]!==F||D[54]!==J||D[55]!==N?(H=(0,t.jsxs)("section",{id:J,className:N,children:[I,T,A,F]}),D[50]=I,D[51]=T,D[52]=A,D[53]=F,D[54]=J,D[55]=N,D[56]=H):H=D[56],H}function p(e){return e.stopPropagation()}function f(e){return e.stopPropagation()}function g(e){return(0,t.jsx)(u.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)(m.SmartIcon,{name:e.icon}),e.title]})},e.title)}e.s(["ShowcasesFlow",()=>x])},339191,e=>{"use strict";e.i(90985);var t=e.i(466471),r=e.i(884702),i=e.i(991531),a=e.i(94158),s=e.i(649163),n=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 m({children:e,isPresent:r,anchorX:i,root:a}){let s=(0,o.useId)(),n=(0,o.useRef)(null),l=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=(0,o.useContext)(c.MotionConfigContext);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:o,left:c,right:d}=l.current;if(r||!n.current||!e||!t)return;let u="left"===i?`left: ${c}`:`right: ${d}`;n.current.dataset.motionPopId=s;let h=document.createElement("style");m&&(h.nonce=m);let x=a??document.head;return x.appendChild(h),h.sheet&&h.sheet.insertRule(` 2 [data-motion-pop-id="${s}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${u}px !important; 7 top: ${o}px !important; 8 } 9 `),()=>{x.contains(h)&&x.removeChild(h)}},[r]),(0,t.jsx)(d,{isPresent:r,childRef:n,sizeRef:l,children:o.cloneElement(e,{ref:n})})}let u=({children:e,initial:i,isPresent:s,onExitComplete:l,custom:o,presenceAffectsLayout:c,mode:d,anchorX:u,root:x})=>{let p=(0,a.useConstant)(h),f=(0,r.useId)(),g=!0,v=(0,r.useMemo)(()=>(g=!1,{id:f,initial:i,isPresent:s,custom:o,onExitComplete:e=>
9{for(let t of(p.set(e,!0),p.values()))if(!t)return;l&&l()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[s,p,l]);return c&&g&&(v={...v}),(0,r.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[s]),r.useEffect(()=>{s||p.size||!l||l()},[s]),"popLayout"===d&&(e=(0,t.jsx)(m,{isPresent:s,anchorX:u,root:x,children:e})),(0,t.jsx)(n.PresenceContext.Provider,{value:v,children:e})};function h(){return new Map}var x=e.i(635149);let p=e=>e.key||"";function f(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:n,initial:l=!0,onExitComplete:o,presenceAffectsLayout:c=!0,mode:d="sync",propagate:m=!1,anchorX:h="left",root:g})=>{let[v,b]=(0,x.usePresence)(m),y=(0,r.useMemo)(()=>f(e),[e]),w=m&&!v?[]:y.map(p),j=(0,r.useRef)(!0),N=(0,r.useRef)(y),_=(0,a.useConstant)(()=>new Map),[k,C]=(0,r.useState)(y),[S,M]=(0,r.useState)(y);(0,s.useIsomorphicLayoutEffect)(()=>{j.current=!1,N.current=y;for(let e=0;e<S.length;e++){let t=p(S[e]);w.includes(t)?_.delete(t):!0!==_.get(t)&&_.set(t,!1)}},[S,w.length,w.join("-")]);let z=[];if(y!==k){let e=[...y];for(let t=0;t<S.length;t++){let r=S[t],i=p(r);w.includes(i)||(e.splice(t,0,r),z.push(r))}return"wait"===d&&z.length&&(e=z),M(f(e)),C(y),null}let{forceRender:E}=(0,r.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:S.map(e=>{let r=p(e),i=(!m||!!v)&&(y===S||w.includes(r));return(0,t.jsx)(u,{isPresent:i,initial:(!j.current||!!l)&&void 0,custom:n,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&&(E?.(),M(N.current),m&&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),s=e.i(98160);e.i(741820);var n=e.i(24963),l=e.i(331597),o=e.i(526683);let c=e=>{let i,a,n,l,c,d,m,u,h=(0,r.c)(28),{className:x,size:p,delay:f,duration:g,colorFrom:v,colorTo:b,transition:y,style:w,reverse:j,initialOffset:N,borderWidth:_}=e,k=void 0===p?50:p,C=void 0===g?6:g,S=void 0===v?"#ffaa40":v,M=void 0===b?"#9c40ff":b,z=void 0!==j&&j,E=void 0===N?0:N,R=`${void 0===_?1:_}px`;h[0]!==R?(i={"--border-beam-width":R},h[0]=R,h[1]=i):i=h[1];let L=i;h[2]!==x?(a=(0,o.cn)("absolute aspect-square","bg-gradient-to-l from-[var(--color-from)] via-[var(--color-to)] to-transparent",x),h[2]=x,h[3]=a):a=h[3];let I=`rect(0 auto auto 0 round ${k}px)`;h[4]!==S||h[5]!==M||h[6]!==k||h[7]!==w||h[8]!==I?(n={width:k,offsetPath:I,"--color-from":S,"--color-to":M,...w},h[4]=S,h[5]=M,h[6]=k,h[7]=w,h[8]=I,h[9]=n):n=h[9];let T=n,A=`${E}%`;h[10]!==A?(l={offsetDistance:A},h[10]=A,h[11]=l):l=h[11],h[12]!==E||h[13]!==z?(c={offsetDistance:z?[`${100-E}%`,`${-E}%`]:[`${E}%`,`${100+E}%`]},h[12]=E,h[13]=z,h[14]=c):c=h[14];let P=-(void 0===f?0:f);return h[15]!==C||h[16]!==P||h[17]!==y?(d={repeat:1/0,ease:"linear",duration:C,delay:P,...y},h[15]=C,h[16]=P,h[17]=y,h[18]=d):d=h[18],h[19]!==a||h[20]!==T||h[21]!==l||h[22]!==c||h[23]!==d?(m=(0,t.jsx)(s.motion.div,{className:a,style:T,initial:l,animate:c,transition:d}),h[19]=a,h[20]=T,h[21]=l,h[22]=c,h[23]=d,h[24]=m):m=h[24],h[25]!==L||h[26]!==m?(u=(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:L,children:m}),h[25]=L,h[26]=m,h[27]=u):u=h[27],u};var d=e.i(184499),m=e.i(819023);function u(e){let l,u,x,p,f,g,v,b,y,w,j,N,_,k,C,S,M,z,E,R,L=(0,r.c)(41),{section:I,className:T}=e,[A,P]=(0,i.useState)("item-1");L[0]!==I.items?(l={},I.items?.forEach((e,t)=>{l[`item-${t+1}`]={image:e.image?.src??"",alt:e.image?.alt||e.title||""}}),L[0]=I.items,L[1]=l):l=L[1],L[2]!==T||L[3]!==I.className?(u=(0,o.cn)("overflow-x-hidden py-16 md:py-24",I.className,T),L[2]=T,L[3]=I.className,L[4]=u):u=L[4],L[5]!==I.title?(x=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:I.title}),L[5]=I.title,L[6]=x):x=L[6],L[7]!==I.description?(p=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:I.description}),L[7]=I.description,L[8]=p):p=L[8],L[9]!==x||L[10]!==p?(f=(0,t.jsx)(m.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[x,p]})}),L[9]=x,L[10]=p,L[11]=f):f=L[11],L[12]===Symbol.for("react.memo_cache_sentinel")?(g=e=>P(e),L[12]=g):g=L[12],L[13]!==I.items?(v=I.items?.map(h),L[13]=I.items,L[14]=v):v=L[14],L[15]!==A||L[16]!==v?(b=(0,t.jsx)(m.ScrollAnimation,{delay:.1,direction:"left",children:(0,t.jsx)(d.Accordion,{type:"single",value:A,onValueChange:g,className:"w-full",children:v})}),L[15]=A,L[16]=v,L[17]=b):b=L[17],L[18]===Symbol.for("react.memo_cache_sentinel")?(y=(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)]"}),L[18]=y):y=L[18];let F=`${A}-id`;L[19]===Symbol.for("react.memo_cache_sentinel")?(w={opacity:0,y:6,scale:.98},j={opacity:1,y:0,scale:1},N={opacity:0,y:6,scale:.98},_={duration:.2},L[19]=w,L[20]=j,L[21]=N,L[22]=_):(w=L[19],j=L[20],N=L[21],_=L[22]);let H=l[A],D=l[A];return L[23]!==H.image||L[24]!==D.alt?(k=(0,t.jsx)(n.LazyImage,{src:H.image,className:"size-full object-cover object-left-top dark:mix-blend-lighten",alt:D.alt}),L[23]=H.image,L[24]=D.alt,L[25]=k):k=L[25],L[26]!==k||L[27]!==F?(C=(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)(s.motion.div,{initial:w,animate:j,exit:N,transition:_,className:"size-full overflow-hidden rounded-2xl border shadow-md",children:k},F)})}),L[26]=k,L[27]=F,L[28]=C):C=L[28],L[29]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(c,{duration:6,size:200,className:"from-transparent via-yellow-700 to-transparent dark:via-white/50"}),L[29]=S):S=L[29],L[30]!==C?(M=(0,t.jsx)(m.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:[y,C,S]})}),L[30]=C,L[31]=M):M=L[31],L[32]!==M||L[33]!==b?(z=(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,M]}),L[32]=M,L[33]=b,L[34]=z):z=L[34],L[35]!==z||L[36]!==f?(E=(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:[f,z]}),L[35]=z,L[36]=f,L[37]=E):E=L[37],L[38]!==u||L[39]!==E?(R=(0,t.jsx)("section",{className:u,children:E}),L[38]=u,L[39]=E,L[40]=R):R=L[40],R}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",()=>u],550974)},669764,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(636680),a=e.i(462297),s=e.i(623099),n=e.i(247835),l=e.i(779342);e.i(741820);var o=e.i(331597),c=e.i(536355),d=e.i(511398),m=e.i(122913),u=e.i(422812),h=e.i(960568),x=e.i(581682),p=e.i(103979),f=e.i(199978),g=e.i(851239),v=e.i(526683);
9function b({configs:e,callbackUrl:i,loading:o,setLoading:c,pricingItem:m,onCheckout:u,className:x}){(0,n.useTranslations)("common.payment"),(0,f.useRouter)();let{setIsShowPaymentModal:b}=(0,h.useAppContext)(),[y,w]=(0,r.useState)(null);if(i){let e=(0,s.useLocale)();e!==g.defaultLocale&&i.startsWith("/")&&!i.startsWith(`/${e}`)&&(i=`/${e}${i}`)}let j=async({provider:e})=>{e?m?u(m,e):l.toast.error("please select a pricing item"):l.toast.error("please select payment method")},N=m?.payment_providers,_=e=>!N||0===N.length||N.includes(e),k=[];return"true"===e.stripe_enabled&&_("stripe")&&k.push({name:"stripe",title:"Stripe",icon_url:"/imgs/icons/stripe.png",onClick:()=>j({provider:"stripe"})}),"true"===e.creem_enabled&&_("creem")&&k.push({name:"creem",title:"Creem",icon_url:"/imgs/icons/creem.png",onClick:()=>j({provider:"creem"})}),"true"===e.paypal_enabled&&_("paypal")&&k.push({name:"paypal",title:"Paypal",icon_url:"/imgs/icons/paypal.svg",onClick:()=>j({provider:"paypal"})}),"true"===e.waffo_enabled&&_("waffo")&&k.push({name:"waffo",title:"Waffo Pancake",icon_url:"/imgs/icons/waffo.svg",onClick:()=>j({provider:"waffo"})}),(0,t.jsx)("div",{className:(0,v.cn)("flex w-full items-center gap-2","flex-col justify-between",x),children:k.map(e=>(0,t.jsxs)(d.Button,{variant:"outline",className:(0,v.cn)("w-full gap-2"),disabled:o,onClick:()=>{e.onClick&&e.name?(w(e.name),e.onClick()):l.toast.error("invalid payment method")},children:[e.icon_url&&(0,t.jsx)(p.default,{src:e.icon_url,alt:e.title||e.name||"",width:24,height:24,className:"rounded-full"}),(0,t.jsx)("h3",{children:e.title}),y===e.name&&o&&(0,t.jsx)(a.Loader2,{className:"size-4 animate-spin"})]},e.name))})}function y(e){let r,i,a,s,l,o,p,f,g,v,y=(0,c.c)(51),{isLoading:N,pricingItem:_,onCheckout:k}=e,C=(0,n.useTranslations)("common.payment"),{isShowPaymentModal:S,setIsShowPaymentModal:M}=(0,h.useAppContext)(),{configs:z}=(0,h.useAppContext)();if((0,x.useMediaQuery)("(min-width: 768px)")){let e,r,i,a,s,n,l,o;return y[0]!==C?(e=C("choose_payment_method"),y[0]=C,y[1]=e):e=y[1],y[2]!==e?(r=(0,t.jsx)(m.DialogTitle,{children:e}),y[2]=e,y[3]=r):r=y[3],y[4]!==C?(i=C("choose_payment_method_description"),y[4]=C,y[5]=i):i=y[5],y[6]!==i?(a=(0,t.jsx)(m.DialogDescription,{children:i}),y[6]=i,y[7]=a):a=y[7],y[8]!==r||y[9]!==a?(s=(0,t.jsxs)(m.DialogHeader,{children:[r,a]}),y[8]=r,y[9]=a,y[10]=s):s=y[10],y[11]!==z||y[12]!==N||y[13]!==k||y[14]!==_?(n=(0,t.jsx)(b,{callbackUrl:"/",configs:z,loading:N,setLoading:j,pricingItem:_,onCheckout:k}),y[11]=z,y[12]=N,y[13]=k,y[14]=_,y[15]=n):n=y[15],y[16]!==s||y[17]!==n?(l=(0,t.jsxs)(m.DialogContent,{className:"sm:max-w-[425px]",children:[s,n]}),y[16]=s,y[17]=n,y[18]=l):l=y[18],y[19]!==S||y[20]!==M||y[21]!==l?(o=(0,t.jsx)(m.Dialog,{open:S,onOpenChange:M,children:l}),y[19]=S,y[20]=M,y[21]=l,y[22]=o):o=y[22],o}return y[23]!==C?(r=C("choose_payment_method"),y[23]=C,y[24]=r):r=y[24],y[25]!==r?(i=(0,t.jsx)(u.DrawerTitle,{children:r}),y[25]=r,y[26]=i):i=y[26],y[27]!==C?(a=C("choose_payment_method_description"),y[27]=C,y[28]=a):a=y[28],y[29]!==a?(s=(0,t.jsx)(u.DrawerDescription,{children:a}),y[29]=a,y[30]=s):s=y[30],y[31]!==i||y[32]!==s?(l=(0,t.jsxs)(u.DrawerHeader,{className:"text-left",children:[i,s]}),y[31]=i,y[32]=s,y[33]=l):l=y[33],y[34]!==z||y[35]!==N||y[36]!==k||y[37]!==_?(o=(0,t.jsx)(b,{callbackUrl:"/",configs:z,loading:N,setLoading:w,pricingItem:_,onCheckout:k,className:"px-4"}),y[34]=z,y[35]=N,y[36]=k,y[37]=_,y[38]=o):o=y[38],y[39]!==C?(p=C("cancel_title"),y[39]=C,y[40]=p):p=y[40],y[41]!==p?(f=(0,t.jsx)(u.DrawerFooter,{className:"pt-4",children:(0,t.jsx)(u.DrawerClose,{asChild:!0,children:(0,t.jsx)(d.Button,{variant:"outline",children:p})})}),y[41]=p,y[42]=f):f=y[42],y[43]!==l||y[44]!==o||y[45]!==f?(g=(0,t.jsxs)(u.DrawerContent,{children:[l,o,f]}),y[43]=l,y[44]=o,y[45]=f,y[46]=g):g=y[46],y[47]!==S||y[48]!==M||y[49]!==g?(v=(0,t.jsx)(u.Drawer,{open:S,onOpenChange:M,children:g}),y[47]=S,y[48]=M,y[49]=g,y[50]=v):v=y[50],v}function w(){}function j(){}var N=e.i(615978),_=e.i(686247),k=e.i(638678),C=e.i(330771);function S(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 M({section:e,className:c,currentSubscription:m}){let u=(0,s.useLocale)(),x=(0,n.useTranslations)("pages.pricing.messages"),{user:p,isShowPaymentModal:f,setIsShowSignModal:g,setIsShowPaymentModal:b,configs:w}=(0,h.useAppContext)(),[j,M]=(0,r.useState)(()=>{let t=e.items?.find(e=>e.product_id===m?.productId),r=e.groups?.find(e=>e.is_featured);return t?.group||r?.name||e.groups?.[0]?.name}),[z,E]=(0,r.useState)(null),[R,L]=(0,r.useState)(!1),[I,T]=(0,r.useState)(null),[A,P]=(0,r.useState)({});(0,r.useEffect)(()=>
9{if(e.items&&e.items.length>0){let t={};e.items.forEach(e=>{let r=S(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,u,e.currency),a=r.find(e=>e.currency.toLowerCase()===i.toLowerCase()),s=a?{...e,currency:a.currency,amount:a.amount,price:a.price,original_price:a.original_price,payment_product_id:a.payment_product_id||e.payment_product_id,payment_providers:a.payment_providers||e.payment_providers}:e;t[e.product_id]={selectedCurrency:i,displayedItem:s}}),P(t)}},[e.items,u]);let F=async e=>{try{window.gtag?.("event","pricing_cta_click",{product_id:e.product_id,product_name:e.title,signed_in:!!p})}catch{}if(!p)return void g(!0);let t=A[e.product_id]?.displayedItem||e;"true"===w.select_payment_enabled?(E(t),b(!0)):H(t,w.default_payment_provider)},H=async(e,t)=>{try{if(!p)return void g(!0);let r={product_id:e.product_id,currency:e.currency,locale:u||"en",payment_provider:t||""};L(!0),T(e.product_id);let i=await fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(401===i.status){L(!1),T(null),E(null),g(!0);return}if(!i.ok)throw Error(`request failed with status ${i.status}`);let{code:a,message:s,data:n}=await i.json();if(0!==a)throw Error(s);let{checkoutUrl:l}=n;if(!l)throw Error("checkout url not found");window.location.href=l}catch(e){console.log("checkout failed: ",e),l.toast.error("checkout failed: "+e.message),L(!1),T(null)}};return(0,r.useEffect)(()=>{if(e.items){let t=e.items.find(e=>e.is_featured);T(t?.product_id||e.items[0]?.product_id),L(!1)}},[e.items]),(0,t.jsxs)("section",{id:e.id,className:(0,v.cn)("py-24 md:py-36",e.className,c),children:[(e.sr_only_title||e.title||e.description)&&(0,t.jsxs)("div",{className:"mx-auto mb-12 px-4 text-center md:px-8",children:[e.sr_only_title&&(0,t.jsx)("h2",{className:"sr-only",children:e.sr_only_title}),e.title&&(0,t.jsx)("h2",{className:"mb-6 text-3xl font-bold text-pretty lg:text-4xl",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-muted-foreground mx-auto mb-4 max-w-xl lg:max-w-none lg:text-lg",children:e.description})]}),(0,t.jsxs)("div",{className:"container",children:[e.groups&&e.groups.length>0&&(0,t.jsx)("div",{className:"mx-auto mt-8 mb-16 flex w-full justify-center md:max-w-lg",children:(0,t.jsx)(C.Tabs,{value:j,onValueChange:M,className:"",children:(0,t.jsx)(C.TabsList,{children:e.groups.map((e,r)=>(0,t.jsxs)(C.TabsTrigger,{value:e.name||"",children:[e.title,e.label&&(0,t.jsx)(N.Badge,{className:"ml-2",children:e.label})]},r))})})}),(0,t.jsx)("div",{className:`mx-auto mt-0 grid w-full gap-6 md:grid-cols-${e.items?.filter(e=>!e.group||e.group===j)?.length}`,children:e.items?.map((r,s)=>{if(r.group&&r.group!==j)return null;let n=!1;m&&m.productId===r.product_id&&(n=!0);let l=A[r.product_id],c=l?.displayedItem||r,u=l?.selectedCurrency||r.currency,h=S(r);return(0,t.jsxs)(_.Card,{className:"relative",children:[r.label&&(0,t.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-indigo-500 to-blue-400 px-3 py-1 text-xs font-medium text-white ring-1 ring-white/20 ring-offset-1 ring-offset-gray-950/5 ring-inset",children:r.label}),(0,t.jsxs)(_.CardHeader,{children:[(0,t.jsx)(_.CardTitle,{className:"font-medium",children:(0,t.jsx)("h3",{className:"text-sm font-medium",children:r.title})}),(0,t.jsxs)("div",{className:"my-3 flex items-baseline gap-2",children:[c.original_price&&(0,t.jsx)("span",{className:"text-muted-foreground text-sm line-through",children:c.original_price}),(0,t.jsxs)("div",{className:"my-3 block text-2xl font-semibold",children:[(0,t.jsx)("span",{className:"text-primary",children:c.price})," ",c.unit?(0,t.jsx)("span",{className:"text-muted-foreground text-sm font-normal",children:c.unit}):""]}),h.length>1&&(0,t.jsxs)(k.Select,{value:u,onValueChange:t=>((t,r)=>{let i=e.items?.find(e=>e.product_id===t);if(!i)return;let a=S(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}}))}})(r.product_id,t),children:[(0,t.jsx)(k.SelectTrigger,{size:"sm",className:"border-muted-foreground
9/30 bg-background/50 h-6 min-w-[60px] px-2 text-xs",children:(0,t.jsx)(k.SelectValue,{placeholder:"Currency"})}),(0,t.jsx)(k.SelectContent,{children:h.map(e=>(0,t.jsx)(k.SelectItem,{value:e.currency,className:"text-xs",children:e.currency.toUpperCase()},e.currency))})]})]}),(0,t.jsx)(_.CardDescription,{className:"text-sm",children:r.description}),r.tip&&(0,t.jsx)("span",{className:"text-muted-foreground text-sm",children:r.tip}),n?(0,t.jsx)(d.Button,{variant:"outline",className:"mt-4 h-9 w-full px-4 py-2",disabled:!0,children:(0,t.jsx)("span",{className:"hidden text-sm md:block",children:x("current_plan")})}):0===r.amount?(0,t.jsx)(d.Button,{asChild:!0,variant:"outline",className:"mt-4 h-9 w-full px-4 py-2",children:(0,t.jsxs)("a",{href:r.button?.url||"/",children:[r.button?.icon&&(0,t.jsx)(o.SmartIcon,{name:r.button?.icon,className:"size-4"}),(0,t.jsx)("span",{className:"block",children:r.button?.title})]})}):(0,t.jsx)(d.Button,{onClick:()=>F(r),disabled:R,className:(0,v.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:R&&r.product_id===I?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Loader2,{className:"size-4 animate-spin"}),(0,t.jsx)("span",{className:"block",children:x("processing")})]}):(0,t.jsxs)(t.Fragment,{children:[r.button?.icon&&(0,t.jsx)(o.SmartIcon,{name:r.button?.icon,className:"size-4"}),(0,t.jsx)("span",{className:"block",children:r.button?.title})]})})]}),(0,t.jsxs)(_.CardContent,{className:"space-y-4",children:[(0,t.jsx)("hr",{className:"border-dashed"}),r.features_title&&(0,t.jsx)("p",{className:"text-sm font-medium",children:r.features_title}),(0,t.jsx)("ul",{className:"list-outside space-y-3 text-sm",children:r.features?.map((e,r)=>(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.Check,{className:"size-3"}),e]},r))})]})]},s)})})]}),(0,t.jsx)(y,{isLoading:R,pricingItem:z,onCheckout:(e,t)=>H(e,t)})]})}e.s(["Pricing",()=>M],669764)},475507,496831,e=>{"use strict";var t=e.i(889522);let r=(0,t.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",()=>r],475507);let i=(0,t.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",()=>i],496831)},387115,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702);function a(e,t,r=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[s,n]=(0,i.useState)(e);r(s,e)&&(t(e,s),n(e))}e.i(368035);let s=e=>"object"==typeof e&&null!=e&&1===e.nodeType,n=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r,i=getComputedStyle(e,null);return n(i.overflowY,t)||n(i.overflowX,t)||!!(r=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(r.clientHeight<e.scrollHeight||r.clientWidth<e.scrollWidth)}return!1},o=(e,t,r,i,a,s,n,l)=>s<e&&n>t||s>e&&n<t?0:s<=e&&l<=r||n>=t&&l>=r?s-e-i:n>t&&l<r||s<e&&l>r?n-t+a:0,c=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},d=(e,t)=>{var r,i,a,n;let d;if("undefined"==typeof document)return[];let{scrollMode:m,block:u,inline:h,boundary:x,skipOverflowHiddenElements:p}=t,f="function"==typeof x?x:e=>e!==x;if(!s(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;s(b)&&f(b);){if((b=c(b))===g){v.push(b);break}null!=b&&b===document.body&&l(b)&&!l(document.documentElement)||null!=b&&l(b,p)&&v.push(b)}
9let y=null!=(i=null==(r=window.visualViewport)?void 0:r.width)?i:innerWidth,w=null!=(n=null==(a=window.visualViewport)?void 0:a.height)?n:innerHeight,{scrollX:j,scrollY:N}=window,{height:_,width:k,top:C,right:S,bottom:M,left:z}=e.getBoundingClientRect(),{top:E,right:R,bottom:L,left:I}={top:parseFloat((d=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(d.scrollMarginRight)||0,bottom:parseFloat(d.scrollMarginBottom)||0,left:parseFloat(d.scrollMarginLeft)||0},T="start"===u||"nearest"===u?C-E:"end"===u?M+L:C+_/2-E+L,A="center"===h?z+k/2-I+R:"end"===h?S+R:z-I,P=[];for(let e=0;e<v.length;e++){let t=v[e],{height:r,width:i,top:a,right:s,bottom:n,left:c}=t.getBoundingClientRect();if("if-needed"===m&&C>=0&&z>=0&&M<=w&&S<=y&&(t===g&&!l(t)||C>=a&&M<=n&&z>=c&&S<=s))break;let d=getComputedStyle(t),x=parseInt(d.borderLeftWidth,10),p=parseInt(d.borderTopWidth,10),f=parseInt(d.borderRightWidth,10),b=parseInt(d.borderBottomWidth,10),E=0,R=0,L="offsetWidth"in t?t.offsetWidth-t.clientWidth-x-f:0,I="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-b:0,F="offsetWidth"in t?0===t.offsetWidth?0:i/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(g===t)E="start"===u?T:"end"===u?T-w:"nearest"===u?o(N,N+w,w,p,b,N+T,N+T+_,_):T-w/2,R="start"===h?A:"center"===h?A-y/2:"end"===h?A-y:o(j,j+y,y,x,f,j+A,j+A+k,k),E=Math.max(0,E+N),R=Math.max(0,R+j);else{E="start"===u?T-a-p:"end"===u?T-n+b+I:"nearest"===u?o(a,n,r,p,b+I,T,T+_,_):T-(a+r/2)+I/2,R="start"===h?A-c-x:"center"===h?A-(c+i/2)+L/2:"end"===h?A-s+f+L:o(c,s,i,x,f+L,A,A+k,k);let{scrollLeft:e,scrollTop:l}=t;E=0===H?0:Math.max(0,Math.min(l+E/H,t.scrollHeight-r/H+I)),R=0===F?0:Math.max(0,Math.min(e+R/F,t.scrollWidth-i/F+L)),T+=l-E,A+=e-R}P.push({el:t,top:E,left:R})}return P};var m=(0,i.createContext)([]),u=(0,i.createContext)({current:null});function h(){return(0,i.useContext)(m)}function x({toc:e,single:r=!0,children:a}){let s=(0,i.useMemo)(()=>e.map(e=>e.url.split("#")[1]),[e]);return(0,t.jsx)(m.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 s(){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 s(),window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s),i.disconnect()}},[t,e]),t?r.slice(0,1):r}(s,r),children:a})}var p=(0,i.forwardRef)(({onActiveChange:e,...r},s)=>{let n=(0,i.useContext)(u),l=h(),o=(0,i.useRef)(null),c=function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)})}}(o,s),m=l.includes(r.href.slice(1));return a(m,t=>{let r=o.current;r&&(t&&n.current&&function(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)||0,left:parseFloat(r.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(d(e,t));let a="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:s,left:n}of d(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=s-i.top+i.bottom,t=n-i.left+i.right;r.scroll({top:e,left:t,behavior:a})}}(r,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:n.current}),e?.(t))}),(0,t.jsx)("a",{ref:c,"data-active":m,...r,children:r.children})});p.displayName="TOCItem",e.i(857073);var f=e.i(266438);let g=(0,i.createContext)({text:{search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Cho
9ose a language",nextPage:"Next Page",previousPage:"Previous Page",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"}});var v=e.i(739188);function b(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 s=getComputedStyle(t);r=Math.min(r,t.offsetTop+parseFloat(s.paddingTop)),i=Math.max(i,t.offsetTop+t.clientHeight-parseFloat(s.paddingBottom))}return[r,i-r]}function y(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}function w({containerRef:e,...r}){let s=h(),n=(0,i.useRef)(null),l=(0,v.useEffectEvent)(()=>{e.current&&n.current&&y(n.current,b(e.current,s))});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]),a(s,()=>{e.current&&n.current&&y(n.current,b(e.current,s))}),(0,t.jsx)("div",{ref:n,role:"none",...r})}var j=e.i(315754);let N=(0,i.createContext)([]);function _({toc:e,children:r,...i}){return(0,t.jsx)(N,{value:e,children:(0,t.jsx)(x,{toc:e,...i,children:r})})}function k({ref:e,className:r,...a}){let s=(0,i.useRef)(null),n=(0,i.useContext)(N),{text:l}=(0,i.useContext)(g);return 0===n.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)(w,{containerRef:s,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,t.jsx)("div",{ref:(0,j.mergeRefs)(e,s),className:(0,f.cn)("flex flex-col border-s border-fd-foreground/10",r),...a,children:n.map(e=>(0,t.jsx)(C,{item:e},e.url))})]})}function C({item:e}){return(0,t.jsx)(p,{href:e.url,className:(0,f.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})}var S=e.i(475507),S=S,M=e.i(496831),M=M,z=e.i(247835);e.i(741820);var E=e.i(111643),R=e.i(866273),L=e.i(199978),I=e.i(331597);function T(e){let i,a,s=(0,r.c)(4),{items:n}=e;return s[0]!==n?(i=n.map(A),s[0]=n,s[1]=i):i=s[1],s[2]!==i?(a=(0,t.jsx)("nav",{className:"text-muted-foreground flex items-center text-sm md:px-3",children:i}),s[2]=i,s[3]=a):a=s[3],a}function A(e,r){let i=e.is_active;return(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)(L.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)(I.SmartIcon,{name:e.icon,className:"size-4"}),e.title]}),!i&&(0,t.jsx)(R.ChevronRight,{className:"text-muted-foreground/40 mx-2 h-4 w-4"})]},r)}function P(e){let i,a,s,n,l,o,c,d,m,u,h,x,p,f,g,v,b,y,w,j,N=(0,r.c)(56),{post:C}=e,R=(0,z.useTranslations)("pages.blog.messages");N[0]!==R?(i=R("crumb"),N[0]=R,N[1]=i):i=N[1],N[2]!==i?(a={title:i,url:"/blog",icon:"Newspaper",is_active:!1},N[2]=i,N[3]=a):a=N[3];let L=C.title||"",I=`/blog/${C.slug}`;N[4]!==L||N[5]!==I?(s={title:L,url:I,is_active:!0},N[4]=L,N[5]=I,N[6]=s):s=N[6],N[7]!==a||N[8]!==s?(n=[a,s],N[7]=a,N[8]=s,N[9]=n):n=N[9];let A=n,P=C.toc&&C.toc.length>0,F=C.author_name||C.author_image||C.author_role;N[10]!==F||N[11]!==P?(l=()=>P&&F?"lg:col-span-6":P||F?"lg:col-span-9":"lg:col-span-12",N[10]=F,N[11]=P,N[12]=l):l=N[12];let H=l;N[13]!==C.toc?(o=C.toc||[],N[13]=C.toc,N[14]=o):o=N[14];let D=C.id;N[15]!==A?(c=(0,t.jsx)(T,{items:A}),N[15]=A,N[16]=c):c=N[16],N[17]!==C.title?(d=(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:C.title}),N[17]=C.title,N[18]=d):d=N[18],N[19]!==C.created_at?(m=C.created_at&&(0,t.jsxs)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-2",children:[(0,t.jsx)(S.default,{className:"size-4"})," ",C.created_at]}),N[19]=C.created_at,N[20]=m):m=N[20],N[21]!==m?(u=(0,t.jsx)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-4",children:m}),N[21]=m,N[22]=u):u=N[22],N[23]!==d||N[24]!==u?(h=(0,t.jsxs)("div",{className:"mt-16 text-center",children:[d,u]}),N[23]=d,N[24]=u,N[25]=h):h=N[25],N[26]!==P||N[27]!==R?(x=P&&(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)(M.default,{className:"size-4"})," ",R("toc")]}),(0,t.jsx)(k,{})]})})}),N[26]=P,N[27]=R,N[28]=x):x=N[28];let $=H();return N[29]!==C.body||N[30]!==C.content?(p=C.body?(0,t.jsx)("div",{className:"docs text-foreground text-md space-y-4 font-normal *:leading-relaxed",children:C.body}
9):C.content&&(0,t.jsx)("div",{className:"prose prose-lg text-muted-foreground max-w-none space-y-6 *:leading-relaxed",children:(0,t.jsx)(E.MarkdownPreview,{content:C.content})}),N[29]=C.body,N[30]=C.content,N[31]=p):p=N[31],N[32]!==p?(f=(0,t.jsx)("article",{className:"p-0",children:p}),N[32]=p,N[33]=f):f=N[33],N[34]!==$||N[35]!==f?(g=(0,t.jsx)("div",{className:$,children:f}),N[34]=$,N[35]=f,N[36]=g):g=N[36],N[37]!==C.author_image||N[38]!==C.author_name||N[39]!==C.author_role||N[40]!==F?(v=F&&(0,t.jsx)("div",{className:"lg:col-span-3",children:(0,t.jsx)("div",{className:"sticky top-24",children:(0,t.jsx)("div",{className:"bg-muted/30 rounded-lg p-6",children:(0,t.jsxs)("div",{className:"text-center",children:[C.author_image&&(0,t.jsx)("div",{className:"ring-foreground/10 mx-auto mb-4 aspect-square size-20 overflow-hidden rounded-xl border border-transparent shadow-md ring-1 shadow-black/15",children:(0,t.jsx)("img",{src:C.author_image,alt:C.author_name,className:"h-full w-full object-cover"})}),C.author_name&&(0,t.jsx)("p",{className:"text-foreground mb-1 text-lg font-semibold",children:C.author_name}),C.author_role&&(0,t.jsx)("p",{className:"text-muted-foreground mb-4 text-sm",children:C.author_role})]})})})}),N[37]=C.author_image,N[38]=C.author_name,N[39]=C.author_role,N[40]=F,N[41]=v):v=N[41],N[42]!==x||N[43]!==g||N[44]!==v?(b=(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:mt-12 lg:grid-cols-12",children:[x,g,v]}
9),N[42]=x,N[43]=g,N[44]=v,N[45]=b):b=N[45],N[46]!==c||N[47]!==h||N[48]!==b?(y=(0,t.jsx)("div",{className:"py-24 md:py-32",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-6 md:px-8",children:[c,h,b]})}),N[46]=c,N[47]=h,N[48]=b,N[49]=y):y=N[49],N[50]!==C.id||N[51]!==y?(w=(0,t.jsx)("section",{id:D,children:y}),N[50]=C.id,N[51]=y,N[52]=w):w=N[52],N[53]!==w||N[54]!==o?(j=(0,t.jsx)(_,{toc:o,children:w}),N[53]=w,N[54]=o,N[55]=j):j=N[55],j}e.s(["BlogDetail",()=>P],387115)},654243,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),a=e.i(539143),s=e.i(653668),n=e.i(199978);e.i(741820);var l=e.i(799112),o=e.i(538630),c=e.i(642616),d=e.i(331597),m=e.i(600195),u=e.i(184499),h=e.i(847257),x=e.i(352162),p=e.i(291967),f=e.i(6140),g=e.i(575301),v=e.i(188625),b=e.i(950074),y=e.i(775827),w=e.i(987438),j=e.i(408896),N=e.i(415839),_=e.i(898175),k=e.i(385064),C=e.i(935125),S=e.i(715684),M="NavigationMenu",[z,E,R]=(0,j.createCollection)(M),[L,I,T]=(0,j.createCollection)(M),[A,P]=(0,x.createContextScope)(M,[R,T]),[F,H]=A(M),[D,$]=A(M),O=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,onValueChange:n,defaultValue:l,delayDuration:o=200,skipDelayDuration:c=300,orientation:d="horizontal",dir:m,...u}=e,[h,x]=i.useState(null),p=(0,v.useComposedRefs)(r,e=>x(e)),y=(0,b.useDirection)(m),w=i.useRef(0),j=i.useRef(0),N=i.useRef(0),[_,k]=i.useState(!0),[C,S]=(0,g.useControllableState)({prop:s,onChange:e=>{let t=c>0;""!==e?(window.clearTimeout(N.current),t&&k(!1)):(window.clearTimeout(N.current),N.current=window.setTimeout(()=>k(!0),c)),n?.(e)},defaultProp:l??"",caller:M}),z=i.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>S(""),150)},[S]),E=i.useCallback(e=>{window.clearTimeout(j.current),S(e)},[S]),R=i.useCallback(e=>{C===e?window.clearTimeout(j.current):w.current=window.setTimeout(()=>{window.clearTimeout(j.current),S(e)},o)},[C,S,o]);return i.useEffect(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(j.current),window.clearTimeout(N.current)},[]),(0,t.jsx)(W,{scope:a,isRootMenu:!0,value:C,dir:y,orientation:d,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(w.current),_?R(e):E(e)},onTriggerLeave:()=>{window.clearTimeout(w.current),z()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:z,onItemSelect:e=>{S(t=>t===e?"":e)},onItemDismiss:()=>S(""),children:(0,t.jsx)(f.Primitive.nav,{"aria-label":"Main","data-orientation":d,dir:y,...u,ref:p})})});O.displayName=M;var V="NavigationMenuSub";i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:a,onValueChange:s,defaultValue:n,orientation:l="horizontal",...o}=e,c=H(V,i),[d,m]=(0,g.useControllableState)({prop:a,onChange:s,defaultProp:n??"",caller:V});return(0,t.jsx)(W,{scope:i,isRootMenu:!1,value:d,dir:c.dir,orientation:l,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>m(e),onItemSelect:e=>m(e),onItemDismiss:()=>m(""),children:(0,t.jsx)(f.Primitive.div,{"data-orientation":l,...o,ref:r})})}).displayName=V;var W=e=>{let{scope:r,isRootMenu:a,rootNavigationMenu:s,dir:n,orientation:l,children:o,value:c,onItemSelect:d,onItemDismiss:m,onTriggerEnter:u,onTriggerLeave:h,onContentEnter:x,onContentLeave:p}=e,[f,g]=i.useState(null),[v,b]=i.useState(new Map),[y,j]=i.useState(null);return(0,t.jsx)(F,{scope:r,isRootMenu:a,rootNavigationMenu:s,value:c,previousValue:(0,_.usePrevious)(c),baseId:(0,w.useId)(),dir:n,orientation:l,viewport:f,onViewportChange:g,indicatorTrack:y,onIndicatorTrackChange:j,onTriggerEnter:(0,C.useCallbackRef)(u),onTriggerLeave:(0,C.useCallbackRef)(h),onContentEnter:(0,C.useCallbackRef)(x),onContentLeave:(0,C.useCallbackRef)(p),onItemSelect:(0,C.useCallbackRef)(d),onItemDismiss:(0,C.useCallbackRef)(m),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)(z.Provider,{scope:r,children:(0,t.jsx)(D,{scope:r,items:v,children:o})})})},q="NavigationMenuList",B=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,s=H(q,i),n=(0,t.jsx)(f.Primitive.ul,{"data-orientation":s.orientation,...a,ref:r});return(0,t.jsx)(f.Primitive.div,{style:{position:"relative"},ref:s.onIndicatorTrackChange,children:(0,t.jsx)(z.Slot,{scope:i,children:s.isRootMenu?(0,t.jsx)(ed,{asChild:!0,children:n}):n})})});B.displayName=q;var K="NavigationMenuItem",[U,G]=A(K),X=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,...n}=e,l=(0,w.useId)(),o=i.useRef(null),c=i.useRef(null),d=i.useRef(null),m=i.useRef(()=>{}),u=i.useRef(!1),h=i.useCallback((e="start")=>{if(o.current){m.current();let t=eh(o.current);t.length&&ex("start"===e?t:t.reverse())}},[]),x=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")}),m.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(U,{scope:a,value:s||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:o,focusProxyRef:d,wasEscapeCloseRef:u,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:x,onContentFocusOutside:x,children:(0,t.jsx)(f.Primitive.li,{...n,ref:r})})});X.displayName=K;var J="NavigationMenuTrigger",Y=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,disabled:s,...n}=e,l=H(J,e.__scopeNavigationMenu),o=G(J,e.__scopeNavigationMenu),c=i.useRef(null),d=(0,v.useComposedRefs)(c,o.triggerRef,r),m=eg(l.baseId,o.value),u=ev(l.baseId,o.value),h=i.useRef(!1),x=i.useRef(!1),g=o.value===l.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(z.ItemSlot,{scope:a,value:o.value,children:(0,t.jsx)(eu,{asChild:!0,children:(0,t.jsx)(f.Primitive.button,{id:m,disabled:s,"data-disabled":s?"":void 0,"data-state":ef(g),"aria-expanded":g,"aria-controls":u,...n,ref:d,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,()=>{x.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:(0,p.composeEventHandlers)(e.onPointerMove,eb(()=>{s||x.current||o.wasEscapeCloseRef.current||h.current||(l.onTriggerEnter(o.value),h.current=!0)})),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(()=>{s||(l.onTriggerLeave(),h.current=!1)})),onClick:(0,p.composeEventHandlers)(e.onClick,()=>{l.onItemSelect(o.value),x.current=g}),onKeyDown:(0,p.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)(S.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":u})]})]})});Y.displayName=J;var Q="navigationMenu.linkSelect",Z=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,active:a,onSelect:s,...n}=e;return(0,t.jsx)(eu,{asChild:!0,children:(0,t.jsx)(f.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...n,ref:r,onClick:(0,p.composeEventHandlers)(e.onClick,e=>{let t=e.target,r=new CustomEvent(Q,{bubbles:!0,cancelable:!0});if(t.addEventListener(Q,e=>s?.(e),{once:!0}),(0,f.dispatchDiscreteCustomEvent)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(es,{bubbles:!0,cancelable:!0});(0,f.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});Z.displayName="NavigationMenuLink";var ee="NavigationMenuIndicator";i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,s=H(ee,e.__scopeNavigationMenu),n=!!s.value;return s.indicatorTrack?h.default.createPortal((0,t.jsx)(y.Presence,{present:i||n,children:(0,t.jsx)(et,{...a,ref:r})}),s.indicatorTrack):null}).displayName=ee;var et=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,...s}=e,n=H(ee,a),l=E(a),[o,c]=i.useState(null),[d,m]=i.useState(null),u="horizontal"===n.orientation,h=!!n.value;i.useEffect(()=>{let e=l(),t=e.find(e=>e.value===n.value)?.ref.current;t&&c(t)},[l,n.value]);let x=()=>{o&&m({size:u?o.offsetWidth:o.offsetHeight,offset:u?o.offsetLeft:o.offsetTop})};return ep(o,x),ep(n.indicatorTrack,x),d?(0,t.jsx)(f.Primitive.div,{"aria-hidden":!0,"data-state":h?"visible":"hidden","data-orientation":n.orientation,...s,ref:r,style:{position:"absolute",...u?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...s.style}}):null}),er="NavigationMenuContent",ei=i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,s=H(er,e.__scopeNavigationMenu),n=G(er,e.__scopeNavigationMenu),l=(0,v.useComposedRefs)(n.contentRef,r),o=n.value===s.value,c={value:n.value,triggerRef:n.triggerRef,focusProxyRef:n.focusProxyRef,wasEscapeCloseRef:n.wasEscapeCloseRef,onContentFocusOutside:n.onContentFocusOutside,onRootContentClose:n.onRootContentClose,...a};return s.viewport?(0,t.jsx)(ea,{forceMount:i,...c,ref:l}):(0,t.jsx)(y.Presence,{present:i||o,children:(0,t.jsx)(en,{"data-state":ef(o),...c,ref:l,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(s.onContentLeave)),style:{pointerEvents:!o&&s.isRootMenu?"none":void 0,...c.style}})})});ei.displayName=er;var ea=i.forwardRef((e,t)=>
9{let{onViewportContentChange:r,onViewportContentRemove:i}=H(er,e.__scopeNavigationMenu);return(0,k.useLayoutEffect)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,k.useLayoutEffect)(()=>()=>i(e.value),[e.value,i]),null}),es="navigationMenu.rootContentDismiss",en=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,triggerRef:n,focusProxyRef:l,wasEscapeCloseRef:o,onRootContentClose:c,onContentFocusOutside:d,...m}=e,u=H(er,a),h=i.useRef(null),x=(0,v.useComposedRefs)(h,r),f=eg(u.baseId,s),g=ev(u.baseId,s),b=E(a),y=i.useRef(null),{onItemDismiss:w}=u;i.useEffect(()=>{let e=h.current;if(u.isRootMenu&&e){let t=()=>{w(),c(),e.contains(document.activeElement)&&n.current?.focus()};return e.addEventListener(es,t),()=>e.removeEventListener(es,t)}},[u.isRootMenu,e.value,n,w,c]);let j=i.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===u.dir&&e.reverse();let t=e.indexOf(u.value),r=e.indexOf(u.previousValue),i=s===u.value,a=r===e.indexOf(s);if(!i&&!a)return y.current;let n=(()=>{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 y.current=n,n},[u.previousValue,u.value,u.dir,b,s]);return(0,t.jsx)(ed,{asChild:!0,children:(0,t.jsx)(N.DismissableLayer,{id:g,"aria-labelledby":f,"data-motion":j,"data-orientation":u.orientation,...m,ref:x,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(es,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,p.composeEventHandlers)(e.onFocusOutside,e=>{d();let t=e.target;u.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,p.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,r=b().some(e=>e.ref.current?.contains(t)),i=u.isRootMenu&&u.viewport?.contains(t);(r||i||!u.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,p.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);ex(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:(0,p.composeEventHandlers)(e.onEscapeKeyDown,e=>{o.current=!0})})})}),el="NavigationMenuViewport",eo=i.forwardRef((e,r)=>{let{forceMount:i,...a}=e,s=!!H(el,e.__scopeNavigationMenu).value;return(0,t.jsx)(y.Presence,{present:i||s,children:(0,t.jsx)(ec,{...a,ref:r})})});eo.displayName=el;var ec=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,children:s,...n}=e,l=H(el,a),o=(0,v.useComposedRefs)(r,l.onViewportChange),c=$(er,e.__scopeNavigationMenu),[d,m]=i.useState(null),[u,h]=i.useState(null),x=d?d?.width+"px":void 0,g=d?d?.height+"px":void 0,b=!!l.value,w=b?l.value:l.previousValue;return ep(u,()=>{u&&m({width:u.offsetWidth,height:u.offsetHeight})}),(0,t.jsx)(f.Primitive.div,{"data-state":ef(b),"data-orientation":l.orientation,...n,ref:o,style:{pointerEvents:!b&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":x,"--radix-navigation-menu-viewport-height":g,...n.style},onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(l.onContentLeave)),children:Array.from(c.items).map(([e,{ref:r,forceMount:i,...a}])=>{let s=w===e;return(0,t.jsx)(y.Presence,{present:i||s,children:(0,t.jsx)(en,{...a,ref:(0,v.composeRefs)(r,e=>{s&&e&&h(e)})})},e)})})}),ed=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,s=H("FocusGroup",i);return(0,t.jsx)(L.Provider,{scope:i,children:(0,t.jsx)(L.Slot,{scope:i,children:(0,t.jsx)(f.Primitive.div,{dir:s.dir,...a,ref:r})})})}),em=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eu=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...a}=e,s=I(i),n=H("FocusGroupItem",i);return(0,t.jsx)(L.ItemSlot,{scope:i,children:(0,t.jsx)(f.Primitive.button,{...a,ref:r,onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...em].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===n.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),em.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>ex(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 ex(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ep(e,t){let r=(0,C.useCallbackRef)(t);(0,k.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 ef(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 ey=e.i(294237),ew=e.i(152378),ej=e.i(526683);let eN=i.forwardRef((e,i)=>{let a,s,n,l,o,c,d,m=(0,r.c)(16);m[0]!==e?({className:s,children:a,viewport:l,...n}=e,m[0]=e,m[1]=a,m[2]=s,m[3]=n,m[4]=l):(a=m[1],s=m[2],n=m[3],l=m[4]);let u=void 0===l||l;return m[5]!==s?(o=(0,ej.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",s),m[5]=s,m[6]=o):o=m[6],m[7]!==u?(c=u&&(0,t.jsx)(ez,{}),m[7]=u,m[8]=c):c=m[8],m[9]!==a||m[10]!==n||m[11]!==i||m[12]!==o||m[13]!==c||m[14]!==u?(d=(0,t.jsxs)(O,{ref:i,"data-slot":"navigation-menu","data-viewport":u,role:"navigation",className:o,...n,children:[a,c]}),m[9]=a,m[10]=n,m[11]=i,m[12]=o,m[13]=c,m[14]=u,m[15]=d):d=m[15],d});function e_(e){let i,a,s,n,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?(s=(0,ej.cn)("group flex flex-1 list-none items-center justify-center gap-1",i),l[3]=i,l[4]=s):s=l[4],l[5]!==a||l[6]!==s?(n=(0,t.jsx)(B,{"data-slot":"navigation-menu-list",className:s,...a}),l[5]=a,l[6]=s,l[7]=n):n=l[7],n}function ek(e){let i,a,s,n,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?(s=(0,ej.cn)("relative",i),l[3]=i,l[4]=s):s=l[4],l[5]!==a||l[6]!==s?(n=(0,t.jsx)(X,{"data-slot":"navigation-menu-item",className:s,...a}),l[5]=a,l[6]=s,l[7]=n):n=l[7],n}eN.displayName=O.displayName;let eC=(0,ey.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 eS(e){let i,a,s,n,l,o,c=(0,r.c)(11);return c[0]!==e?({className:a,children:i,...s}=e,c[0]=e,c[1]=i,c[2]=a,c[3]=s):(i=c[1],a=c[2],s=c[3]),c[4]!==a?(n=(0,ej.cn)(eC(),"group",a),c[4]=a,c[5]=n):n=c[5],c[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(ew.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]!==s||c[9]!==n?(o=(0,t.jsxs)(Y,{"data-slot":"navigation-menu-trigger",className:n,...s,children:[i," ",l]}),c[7]=i,c[8]=s,c[9]=n,c[10]=o):o=c[10],o}function eM(e){let i,a,s,n,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?(s=(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]=s):s=l[4],l[5]!==a||l[6]!==s?(n=(0,t.jsx)(ei,{"data-slot":"navigation-menu-content",className:s,...a}),l[5]=a,l[6]=s,l[7]=n):n=l[7],n}function ez(e){let i,a,s,n,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")?(s=(0,ej.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),o[3]=s):s=o[3],o[4]!==i?(n=(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]=n):n=o[5],o[6]!==a||o[7]!==n?(l=(0,t.jsx)("div",{className:s,children:(0,t.jsx)(eo,{"data-slot":"navigation-menu-viewport",className:n,...a})}),o[6]=a,o[7]=n,o[8]=l):l=o[8],l}function eE(e){let i,a,s,n,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?(s=(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]=s):s=l[4],l[5]!==a||l[6]!==s?(n=(0,t.jsx)(Z,{"data-slot":"navigation-menu-link",className:s,...a}),l[5]=a,l[6]=s,l[7]=n):n=l[7],n}let eR=["/","/about","/contact","/styles","/privacy","/terms","/cookies","/pricing"],eL=["/blog"];function eI(e){let a,s,n,l=(0,r.c)(4),[o,c]=(0,i.useState)(!1);return(l[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{c(!0)},s=[],l[0]=a,l[1]=s):(a=l[0],s=l[1]),(0,i.useEffect)(a,s),o)?(l[2]!==e?(n=(0,t.jsx)(eS,{...e}),l[2]=e,l[3]=n):n=l[3],n):null}function eT({header:e}){let[h,x]=(0,i.useState)(!1),[p,f]=(0,i.useState)(!1),g=(0,i.useRef)(!1),v=(0,i.useRef)(null),b=function(e){let t,a,s=(0,r.c)(3),[n,l]=(0,i.useState)(!0);return s[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],s[0]=e,s[1]=t,s[2]=a):(t=s[1],a=s[2]),(0,i.useEffect)(t,a),n}("(min-width: 64rem)"),y=(0,n.usePathname)();if((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,f(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=v.current&&(window.cancelAnimationFrame(v.current),v.current=null)}},[]),eR.includes(y)||eL.some(e=>y===e||y.startsWith(`${e}/`)))return null;function w({title:e,description:r,children:i,href:a,target:s,...l}){return(0,t.jsx)("li",{...l,children:(0,t.jsx)(eE,{asChild:!0,children:(0,t.jsxs)(n.Link,{href:a,target:s||"_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,t.jsx)(t.Fragment,{children:(0,t.jsx)("header",{"data-state":h?"active":"inactive",...p&&{"data-scrolled":!0},className:"has-data-[state=open]:bg-muted/80 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)("absolute inset-x-0 top-0 z-50 h-18 border-transparent ring-1 ring-transparent transition-all duration-300","in-data-scrolled:border-border in-data-scrolled:bg-background/90 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-border has-data-[state=open]:bg-white/90 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/95 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:border-border max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),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)(eN,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,t.jsx)(e_,{className:"gap-2",children:e.nav?.items?.map((e,r)=>e.children&&0!==e.children.length?(0,t.jsxs)(ek,{children:[(0,t.jsxs)(eI,{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)(eM,{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)(w,{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)(eE,{asChild:!0,children:(0,t.jsxs)(n.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||y.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:()=>x(!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.Menu,{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)(s.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)(u.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)(u.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)(u.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)(u.AccordionContent,{className:"pb-5",children:(0,t.jsx)("ul",{children:e.children?.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsxs)(n.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)(n.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:()=>x(!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)(n.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)(m.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",()=>eT],654243)},721590,e=>{e.v(t=>Promise.all(["static/chunks/e7372c3d8ad537ec.js","static/chunks/ee03375177f1f9c0.js"].map(t=>e.l(t))).then(()=>t(617299)))},639058,e=>{e.v(e=>Promise.resolve().then(()=>e(389125)))},748180,e=>{e.v(t=>Promise.all(["static/chunks/5152b2388e94caa0.js"].map(t=>e.l(t))).then(()=>t(167026)))}]);
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.