@ugurdemirel/landcraft 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +41 -22
- package/dist/index.js +2261 -1937
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
- package/src/components/Blog/BlogCard.tsx +12 -0
- package/src/components/Blog/BlogSection.tsx +95 -0
- package/src/components/Blog/index.ts +8 -0
- package/src/components/Blog/parts.tsx +38 -0
- package/src/components/Blog/types.ts +42 -0
- package/src/components/Blog/variants/Card.tsx +62 -0
- package/src/components/Blog/variants/Row.tsx +41 -0
- package/src/components/CTA/CTA.tsx +12 -0
- package/src/components/CTA/index.ts +2 -0
- package/src/components/CTA/parts.tsx +26 -0
- package/src/components/CTA/types.ts +12 -0
- package/src/components/CTA/variants/Inverse.tsx +50 -0
- package/src/components/CTA/variants/Panel.tsx +60 -0
- package/src/components/CTA/variants/Surface.tsx +34 -0
- package/src/components/FAQ/FAQ.tsx +48 -0
- package/src/components/FAQ/index.ts +2 -0
- package/src/components/FAQ/parts.tsx +74 -0
- package/src/components/FAQ/types.ts +18 -0
- package/src/components/FAQ/variants/Accordion.tsx +46 -0
- package/src/components/FAQ/variants/Cards.tsx +40 -0
- package/src/components/FAQ/variants/Split.tsx +44 -0
- package/src/components/Features/FeatureCard.tsx +44 -0
- package/src/components/Features/FeatureGrid.tsx +14 -0
- package/src/components/Features/index.ts +3 -0
- package/src/components/Features/parts.ts +15 -0
- package/src/components/Features/types.ts +25 -0
- package/src/components/Features/variants/Bento.tsx +32 -0
- package/src/components/Features/variants/Columns.tsx +21 -0
- package/src/components/Features/variants/EditorialRows.tsx +38 -0
- package/src/components/Footer/Footer.tsx +11 -0
- package/src/components/Footer/index.ts +2 -0
- package/src/components/Footer/parts.tsx +101 -0
- package/src/components/Footer/types.ts +32 -0
- package/src/components/Footer/variants/Classic.tsx +59 -0
- package/src/components/Footer/variants/Editorial.tsx +47 -0
- package/src/components/Footer/variants/Minimal.tsx +33 -0
- package/src/components/Hero/Hero.tsx +12 -0
- package/src/components/Hero/index.ts +2 -0
- package/src/components/Hero/parts.tsx +29 -0
- package/src/components/Hero/types.ts +20 -0
- package/src/components/Hero/variants/Centered.tsx +54 -0
- package/src/components/Hero/variants/Split.tsx +53 -0
- package/src/components/Hero/variants/Statement.tsx +60 -0
- package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +37 -0
- package/src/components/LanguageSwitcher/index.ts +6 -0
- package/src/components/LanguageSwitcher/parts.tsx +144 -0
- package/src/components/LanguageSwitcher/types.ts +40 -0
- package/src/components/LanguageSwitcher/useLanguageSwitcher.ts +23 -0
- package/src/components/LanguageSwitcher/variants/Dropdown.tsx +88 -0
- package/src/components/LanguageSwitcher/variants/Modal.tsx +56 -0
- package/src/components/LogoCloud/LogoCloud.tsx +14 -0
- package/src/components/LogoCloud/index.ts +2 -0
- package/src/components/LogoCloud/parts.tsx +32 -0
- package/src/components/LogoCloud/types.ts +16 -0
- package/src/components/LogoCloud/variants/Marquee.tsx +30 -0
- package/src/components/LogoCloud/variants/Quiet.tsx +26 -0
- package/src/components/LogoCloud/variants/Strip.tsx +25 -0
- package/src/components/{MegaMenu.tsx → MegaMenu/MegaMenu.tsx} +108 -126
- package/src/components/MegaMenu/index.ts +9 -0
- package/src/components/MegaMenu/types.ts +56 -0
- package/src/components/Modal.tsx +1 -0
- package/src/components/Navbar/Navbar.tsx +185 -0
- package/src/components/Navbar/index.ts +2 -0
- package/src/components/Navbar/types.ts +30 -0
- package/src/components/Newsletter/Newsletter.tsx +12 -0
- package/src/components/Newsletter/index.ts +2 -0
- package/src/components/Newsletter/parts.tsx +23 -0
- package/src/components/Newsletter/types.ts +12 -0
- package/src/components/Newsletter/useNewsletterForm.ts +27 -0
- package/src/components/Newsletter/variants/Card.tsx +62 -0
- package/src/components/Newsletter/variants/Inline.tsx +54 -0
- package/src/components/Newsletter/variants/Underline.tsx +52 -0
- package/src/components/Pricing/Pricing.tsx +37 -0
- package/src/components/Pricing/index.ts +2 -0
- package/src/components/Pricing/parts.tsx +132 -0
- package/src/components/Pricing/types.ts +28 -0
- package/src/components/Pricing/variants/Bento.tsx +72 -0
- package/src/components/Pricing/variants/Cards.tsx +79 -0
- package/src/components/Pricing/variants/Compact.tsx +69 -0
- package/src/components/Stats/Stats.tsx +16 -0
- package/src/components/Stats/index.ts +2 -0
- package/src/components/Stats/parts.tsx +29 -0
- package/src/components/Stats/types.ts +23 -0
- package/src/components/Stats/variants/Cells.tsx +34 -0
- package/src/components/Stats/variants/Editorial.tsx +41 -0
- package/src/components/Stats/variants/Hairline.tsx +31 -0
- package/src/components/Stats/variants/Ticker.tsx +36 -0
- package/src/components/Testimonials/TestimonialCard.tsx +61 -0
- package/src/components/Testimonials/Testimonials.tsx +14 -0
- package/src/components/Testimonials/index.ts +3 -0
- package/src/components/Testimonials/parts.ts +7 -0
- package/src/components/Testimonials/types.ts +24 -0
- package/src/components/Testimonials/variants/Carousel.tsx +94 -0
- package/src/components/Testimonials/variants/Grid.tsx +19 -0
- package/src/components/Testimonials/variants/Marquee.tsx +28 -0
- package/src/utils/useTokenForeground.ts +1 -0
- package/src/components/Blog.tsx +0 -251
- package/src/components/CTA.tsx +0 -155
- package/src/components/FAQ.tsx +0 -163
- package/src/components/Features.tsx +0 -153
- package/src/components/Footer.tsx +0 -185
- package/src/components/Hero.tsx +0 -169
- package/src/components/LanguageSwitcher.tsx +0 -223
- package/src/components/LogoCloud.tsx +0 -100
- package/src/components/Navbar.tsx +0 -195
- package/src/components/Newsletter.tsx +0 -180
- package/src/components/Pricing.tsx +0 -336
- package/src/components/Stats.tsx +0 -181
- package/src/components/Testimonials.tsx +0 -205
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),j=require("react");function Be(r){var t,s,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(t=0;t<i;t++)r[t]&&(s=Be(r[t]))&&(o&&(o+=" "),o+=s)}else for(s in r)r[s]&&(o&&(o+=" "),o+=s);return o}function wr(){for(var r,t,s=0,o="",i=arguments.length;s<i;s++)(r=arguments[s])&&(t=Be(r))&&(o&&(o+=" "),o+=t);return o}const ye="-",Nr=r=>{const t=Cr(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=r;return{getClassGroupId:n=>{const c=n.split(ye);return c[0]===""&&c.length!==1&&c.shift(),Ie(c,t)||kr(n)},getConflictingClassGroupIds:(n,c)=>{const x=s[n]||[];return c&&o[n]?[...x,...o[n]]:x}}},Ie=(r,t)=>{var n;if(r.length===0)return t.classGroupId;const s=r[0],o=t.nextPart.get(s),i=o?Ie(r.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const a=r.join(ye);return(n=t.validators.find(({validator:c})=>c(a)))==null?void 0:n.classGroupId},Se=/^\[(.+)\]$/,kr=r=>{if(Se.test(r)){const t=Se.exec(r)[1],s=t==null?void 0:t.substring(0,t.indexOf(":"));if(s)return"arbitrary.."+s}},Cr=r=>{const{theme:t,prefix:s}=r,o={nextPart:new Map,validators:[]};return Sr(Object.entries(r.classGroups),s).forEach(([a,n])=>{he(n,o,a,t)}),o},he=(r,t,s,o)=>{r.forEach(i=>{if(typeof i=="string"){const a=i===""?t:Re(t,i);a.classGroupId=s;return}if(typeof i=="function"){if(Mr(i)){he(i(o),t,s,o);return}t.validators.push({validator:i,classGroupId:s});return}Object.entries(i).forEach(([a,n])=>{he(n,Re(t,a),s,o)})})},Re=(r,t)=>{let s=r;return t.split(ye).forEach(o=>{s.nextPart.has(o)||s.nextPart.set(o,{nextPart:new Map,validators:[]}),s=s.nextPart.get(o)}),s},Mr=r=>r.isThemeGetter,Sr=(r,t)=>t?r.map(([s,o])=>{const i=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([n,c])=>[t+n,c])):a);return[s,i]}):r,Rr=r=>{if(r<1)return{get:()=>{},set:()=>{}};let t=0,s=new Map,o=new Map;const i=(a,n)=>{s.set(a,n),t++,t>r&&(t=0,o=s,s=new Map)};return{get(a){let n=s.get(a);if(n!==void 0)return n;if((n=o.get(a))!==void 0)return i(a,n),n},set(a,n){s.has(a)?s.set(a,n):i(a,n)}}},Fe="!",Ar=r=>{const{separator:t,experimentalParseClassName:s}=r,o=t.length===1,i=t[0],a=t.length,n=c=>{const x=[];let m=0,g=0,d;for(let h=0;h<c.length;h++){let y=c[h];if(m===0){if(y===i&&(o||c.slice(h,h+a)===t)){x.push(c.slice(g,h)),g=h+a;continue}if(y==="/"){d=h;continue}}y==="["?m++:y==="]"&&m--}const b=x.length===0?c:c.substring(g),f=b.startsWith(Fe),u=f?b.substring(1):b,p=d&&d>g?d-g:void 0;return{modifiers:x,hasImportantModifier:f,baseClassName:u,maybePostfixModifierPosition:p}};return s?c=>s({className:c,parseClassName:n}):n},zr=r=>{if(r.length<=1)return r;const t=[];let s=[];return r.forEach(o=>{o[0]==="["?(t.push(...s.sort(),o),s=[]):s.push(o)}),t.push(...s.sort()),t},Tr=r=>({cache:Rr(r.cacheSize),parseClassName:Ar(r),...Nr(r)}),Lr=/\s+/,Pr=(r,t)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:i}=t,a=[],n=r.trim().split(Lr);let c="";for(let x=n.length-1;x>=0;x-=1){const m=n[x],{modifiers:g,hasImportantModifier:d,baseClassName:b,maybePostfixModifierPosition:f}=s(m);let u=!!f,p=o(u?b.substring(0,f):b);if(!p){if(!u){c=m+(c.length>0?" "+c:c);continue}if(p=o(b),!p){c=m+(c.length>0?" "+c:c);continue}u=!1}const h=zr(g).join(":"),y=d?h+Fe:h,w=y+p;if(a.includes(w))continue;a.push(w);const P=i(p,u);for(let E=0;E<P.length;++E){const C=P[E];a.push(y+C)}c=m+(c.length>0?" "+c:c)}return c};function Er(){let r=0,t,s,o="";for(;r<arguments.length;)(t=arguments[r++])&&(s=Ve(t))&&(o&&(o+=" "),o+=s);return o}const Ve=r=>{if(typeof r=="string")return r;let t,s="";for(let o=0;o<r.length;o++)r[o]&&(t=Ve(r[o]))&&(s&&(s+=" "),s+=t);return s};function Gr(r,...t){let s,o,i,a=n;function n(x){const m=t.reduce((g,d)=>d(g),r());return s=Tr(m),o=s.cache.get,i=s.cache.set,a=c,c(x)}function c(x){const m=o(x);if(m)return m;const g=Pr(x,s);return i(x,g),g}return function(){return a(Er.apply(null,arguments))}}const z=r=>{const t=s=>s[r]||[];return t.isThemeGetter=!0,t},He=/^\[(?:([a-z-]+):)?(.+)\]$/i,Br=/^\d+\/\d+$/,Ir=new Set(["px","full","screen"]),Fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Hr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$r=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=r=>J(r)||Ir.has(r)||Br.test(r),U=r=>Q(r,"length",_r),J=r=>!!r&&!Number.isNaN(Number(r)),ue=r=>Q(r,"number",J),ee=r=>!!r&&Number.isInteger(Number(r)),Ur=r=>r.endsWith("%")&&J(r.slice(0,-1)),N=r=>He.test(r),D=r=>Fr.test(r),Dr=new Set(["length","size","percentage"]),Wr=r=>Q(r,Dr,$e),qr=r=>Q(r,"position",$e),Kr=new Set(["image","url"]),Yr=r=>Q(r,Kr,Qr),Zr=r=>Q(r,"",Jr),re=()=>!0,Q=(r,t,s)=>{const o=He.exec(r);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):s(o[2]):!1},_r=r=>Vr.test(r)&&!Hr.test(r),$e=()=>!1,Jr=r=>$r.test(r),Qr=r=>Or.test(r),Xr=()=>{const r=z("colors"),t=z("spacing"),s=z("blur"),o=z("brightness"),i=z("borderColor"),a=z("borderRadius"),n=z("borderSpacing"),c=z("borderWidth"),x=z("contrast"),m=z("grayscale"),g=z("hueRotate"),d=z("invert"),b=z("gap"),f=z("gradientColorStops"),u=z("gradientColorStopPositions"),p=z("inset"),h=z("margin"),y=z("opacity"),w=z("padding"),P=z("saturate"),E=z("scale"),C=z("sepia"),G=z("skew"),R=z("space"),M=z("translate"),L=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",N,t],A=()=>[N,t],te=()=>["",H,U],W=()=>["auto",J,N],se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],_=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",N],v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[J,N];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[H,U],blur:["none","",D,N],brightness:S(),borderColor:[r],borderRadius:["none","","full",D,N],borderSpacing:A(),borderWidth:te(),contrast:S(),grayscale:K(),hueRotate:S(),invert:K(),gap:A(),gradientColorStops:[r],gradientColorStopPositions:[Ur,U],inset:V(),margin:V(),opacity:S(),padding:A(),saturate:S(),scale:S(),sepia:K(),skew:S(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...se(),N]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ee,N]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",ee,N]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",ee,N]},N]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[ee,N]},N]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",J,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,U]}],"underline-offset":[{"underline-offset":["auto",H,N]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...se(),qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Yr]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[u]}],"gradient-via-pos":[{via:[u]}],"gradient-to-pos":[{to:[u]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:q()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[H,N]}],"outline-w":[{outline:[H,U]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[H,U]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",D,Zr]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[o]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",D,N]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[d]}],saturate:[{saturate:[P]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[s]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[ee,N]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[H,U,ue]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},et=Gr(Xr);function l(...r){return et(wr(r))}function rt(r){return typeof window>"u"?"":window.getComputedStyle(document.documentElement).getPropertyValue(r).trim()}function tt(r){let t=r;const s=t.match(/var\(--[\w-]+/g)??[];for(const o of s){const i=o.replace(/^var\(/,""),a=rt(i);a&&(t=t.split(o).join(a))}return t}function st(r){var x;let t=r.trim();if(/^#([0-9a-f]{3}){1,2}$/i.test(t))return t.length===4&&(t="#"+t.slice(1).split("").map(m=>m+m).join("")),{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)};const i=((x=tt(t).replace(/[()/;,]/g," ").match(/-?\d+(\.\d+)?/g))==null?void 0:x.map(Number))??[];if(i.length<3)return null;const[a,n,c]=i;return{r:Math.max(0,Math.min(255,Math.round(a))),g:Math.max(0,Math.min(255,Math.round(n))),b:Math.max(0,Math.min(255,Math.round(c)))}}function me(r){const t=st(r);if(!t)return 0;const s=[t.r,t.g,t.b].map(o=>o/255).map(o=>o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4));return .2126*s[0]+.7152*s[1]+.0722*s[2]}function Ae(r,t){const[s,o]=r>t?[r,t]:[t,r];return(s+.05)/(o+.05)}function I(r,t="#ffffff",s="#0f172a"){const o=me(r),i=me(t),a=me(s);return Ae(o,i)>=Ae(o,a)?t:s}function ot(r,t){const s={...t};for(const o in t){const i=r[o],a=t[o];/^on[A-Z]/.test(o)?i&&a?s[o]=(...c)=>{a(...c),i(...c)}:i&&(s[o]=i):o==="style"?s[o]={...i,...a}:o==="className"&&(s[o]=l(i,a))}return{...r,...s}}function nt(...r){return t=>{for(const s of r)typeof s=="function"?s(t):s!=null&&(s.current=t)}}const we=j.forwardRef((r,t)=>{const{children:s,...o}=r;if(!j.isValidElement(s))return null;const i=j.Children.only(s),a=nt(t,i.ref);return j.cloneElement(i,{...ot(o,i.props),ref:a})});we.displayName="Slot";const lt={primary:"bg-primary text-on-primary hover:bg-primary-hover",dark:"bg-secondary text-on-secondary hover:bg-secondary-hover",outline:"border border-border bg-transparent text-foreground hover:border-foreground/30 hover:bg-surface",ghost:"text-foreground hover:bg-surface",link:"px-0 h-auto text-primary hover:text-primary-hover"},at={sm:"h-9 px-4 text-[13px] gap-1.5",md:"h-11 px-5 text-sm gap-2",lg:"h-12 px-7 text-[15px] gap-2"},it="group inline-flex select-none items-center justify-center rounded-lg font-medium tracking-tight transition-[background-color,border-color,color,box-shadow] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 cursor-pointer",Oe=j.forwardRef(({className:r,variant:t="primary",size:s="md",iconLeft:o,iconRight:i,customColor:a,fullWidth:n,asChild:c,style:x,type:m="button",children:g,...d},b)=>{const f=a?{...x,backgroundColor:a,color:I(a)}:x,u=t==="link",p=l(it,at[s],a?"hover:brightness-95":lt[t],u&&"underline-offset-4 hover:underline",n&&"w-full",r);return c?e.jsx(we,{ref:b,style:f,className:p,...d,children:g}):e.jsxs("button",{ref:b,type:m,style:f,className:p,...d,children:[o?e.jsx("span",{className:l("shrink-0",!u&&"opacity-70"),children:o}):null,g,i?e.jsx("span",{className:l("shrink-0 transition-transform duration-200",!u&&"opacity-70 group-hover:translate-x-0.5"),children:i}):null]})});Oe.displayName="Button";const ct="inline-flex items-center rounded-full font-medium tracking-tight transition-colors duration-200",dt={sm:"px-2.5 py-0.5 text-xs gap-1",md:"px-3 py-1 text-[13px] gap-1.5"},xt={solid:"bg-primary text-on-primary",soft:"bg-primary-soft text-primary",outline:"text-muted-foreground ring-1 ring-inset ring-border",dot:"text-foreground ring-1 ring-inset ring-border bg-surface"},le=j.forwardRef(({className:r,variant:t="soft",size:s="md",icon:o,customColor:i,style:a,children:n,...c},x)=>{const m=i?{...a,backgroundColor:i,color:I(i,"#111111","#ffffff")}:a;return e.jsxs("span",{ref:x,style:m,className:l(ct,dt[s],i?void 0:xt[t],r),...c,children:[t==="dot"?e.jsx("span",{"aria-hidden":!0,className:l("h-1.5 w-1.5 shrink-0 rounded-full",i?"currentColor":"bg-primary"),style:i?{backgroundColor:i}:void 0}):null,o?e.jsx("span",{className:"shrink-0 opacity-70",children:o}):null,n]})});le.displayName="Badge";const ut={outlined:"border border-border bg-surface",elevated:"border border-border bg-surface shadow-soft",inset:"bg-surface-strong"},Ue=j.forwardRef(({className:r,variant:t="outlined",interactive:s=!1,...o},i)=>e.jsx("div",{ref:i,className:l("rounded-xl transition-[border-color,box-shadow,transform] duration-200",ut[t],s&&"cursor-pointer hover:-translate-y-0.5 hover:border-foreground/20 hover:shadow-raised","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",r),...o}));Ue.displayName="Card";const De=j.forwardRef(({className:r,icon:t,children:s,...o},i)=>e.jsxs("div",{ref:i,className:l("flex flex-col gap-2 p-6 pb-0",r),...o,children:[t?e.jsx("div",{className:"mb-1.5",children:t}):null,s]}));De.displayName="CardHeader";const We=j.forwardRef(({className:r,...t},s)=>e.jsx("h3",{ref:s,className:l("font-display text-lg font-semibold tracking-tight text-foreground",r),...t}));We.displayName="CardTitle";const qe=j.forwardRef(({className:r,...t},s)=>e.jsx("p",{ref:s,className:l("text-sm leading-6 text-muted-foreground",r),...t}));qe.displayName="CardDescription";const Ke=j.forwardRef(({className:r,...t},s)=>e.jsx("div",{ref:s,className:l("p-6 pt-5",r),...t}));Ke.displayName="CardContent";const Ye=j.forwardRef(({className:r,...t},s)=>e.jsx("div",{ref:s,className:l("flex items-center gap-3 border-t border-border/70 p-6 pt-5",r),...t}));Ye.displayName="CardFooter";const mt={sm:"max-w-xl",md:"max-w-3xl",lg:"max-w-5xl",xl:"max-w-6xl"},$=j.forwardRef(({className:r,as:t,size:s="xl",gutters:o=!0,...i},a)=>{const n=t??"div";return e.jsx(n,{ref:a,className:l("mx-auto w-full",s!=="full"&&mt[s],o&&"px-5 sm:px-8",r),...i})});$.displayName="Container";const ft={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12",16:"gap-16",20:"gap-20"},Ze=j.forwardRef(({className:r,gap:t=4,horizontal:s=!1,...o},i)=>e.jsx("div",{ref:i,className:l("flex",s?"flex-row flex-wrap items-center":"flex-col",ft[t],r),...o}));Ze.displayName="Stack";const fe="inline-flex items-center gap-2 text-xs font-semibold tracking-[0.18em] uppercase",gt={caps:l(fe,"text-foreground/50"),soft:l(fe,"rounded-full px-3 py-1 text-primary tracking-widest bg-primary-soft uppercase"),plain:l(fe,"text-primary")},Ne=j.forwardRef(({className:r,eyebrow:t,eyebrowStyle:s="caps",title:o,description:i,align:a="center",children:n,...c},x)=>e.jsxs("div",{ref:x,className:l("mb-14 max-w-2xl",a==="center"&&"mx-auto text-center",r),...c,children:[t?e.jsx("p",{className:gt[s],children:t}):null,o?e.jsx("h2",{className:"mt-5 font-display text-balance text-[1.9rem] font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:o}):null,i?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground sm:text-lg",children:i}):null,n]}));Ne.displayName="SectionHeader";const pt={sm:"py-14",md:"py-20 sm:py-24",lg:"py-24 sm:py-32"},_e=j.forwardRef(({className:r,containerClassName:t,size:s="md",eyebrow:o,eyebrowStyle:i,title:a,description:n,align:c="center",children:x,id:m,...g},d)=>e.jsx("section",{ref:d,id:m,className:l("w-full",pt[s],r),...g,children:e.jsxs($,{className:t,children:[o||a||n?e.jsx(Ne,{eyebrow:o,eyebrowStyle:i,title:a,description:n,align:c}):null,x]})}));_e.displayName="Section";function ze(r){return typeof window>"u"?"":window.getComputedStyle(document.documentElement).getPropertyValue(r).trim()}function de(r,t="#ffffff"){const[s,o]=j.useState(()=>{const i=ze(r);return i?I(i):t});return j.useEffect(()=>{const i=()=>{const n=ze(r);o(n?I(n):t)};i();const a=new MutationObserver(i);return a.observe(document.documentElement,{attributes:!0,attributeFilter:["style","class"]}),()=>a.disconnect()},[r,t]),s}const Te="font-display font-semibold tracking-[-0.03em] text-balance text-foreground",Je=j.forwardRef(({className:r,variant:t="split",eyebrow:s,title:o,description:i,primaryAction:a,secondaryAction:n,media:c,meta:x,id:m,...g},d)=>{const b=t==="centered",u=de(t==="statement"?"--color-secondary":"--color-primary"),p="relative mx-auto flex w-full max-w-6xl flex-col items-center px-5 sm:px-8",h=typeof s=="string"?e.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:s}):s?e.jsx("div",{children:s}):null,y=a||n?e.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[a,n]}):null;return t==="split"?e.jsx("section",{ref:d,id:m,className:l("relative w-full border-b border-border bg-background",r),...g,children:e.jsxs("div",{className:l(p,"items-start gap-14 pt-20 pb-20 sm:pt-28 sm:pb-28 lg:grid lg:grid-cols-[1.05fr_0.95fr] lg:gap-20"),children:[e.jsxs("div",{className:"max-w-xl",children:[h,e.jsx("h1",{className:l(Te,"mt-6 text-5xl leading-[1.03] sm:text-6xl lg:text-7xl"),children:o}),i?e.jsx("p",{className:"mt-7 max-w-md text-pretty leading-relaxed text-muted-foreground sm:text-lg",children:i}):null,y?e.jsx("div",{className:"mt-10",children:y}):null,x?e.jsx("ul",{className:"mt-14 flex flex-wrap items-center gap-x-8 gap-y-3 border-t border-border pt-6",children:x.map(w=>e.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[w.icon?e.jsx("span",{className:"text-foreground/35",children:w.icon}):null,w.label]},w.label))}):null]}),c?e.jsx("div",{className:"w-full self-center",children:c}):null]})}):b?e.jsx("section",{ref:d,id:m,className:l("relative w-full border-b border-border bg-background",r),...g,children:e.jsxs("div",{className:l(p,"pt-24 pb-20 text-center sm:pt-32 sm:pb-24"),children:[h,e.jsx("h1",{className:l(Te,"mt-7 max-w-4xl text-5xl leading-[1.04] sm:text-6xl lg:text-7xl"),children:o}),i?e.jsx("p",{className:"mx-auto mt-7 max-w-xl text-pretty leading-relaxed text-muted-foreground sm:text-lg",children:i}):null,y?e.jsx("div",{className:"mt-10 justify-center",children:y}):null,x?e.jsx("ul",{className:"mt-14 flex flex-wrap items-center justify-center gap-x-9 gap-y-3",children:x.map((w,P)=>e.jsxs("li",{className:l("flex items-center gap-2 text-sm text-muted-foreground",P>0&&"sm:border-l sm:border-border sm:pl-9"),children:[w.icon?e.jsx("span",{className:"text-foreground/35",children:w.icon}):null,w.label]},w.label))}):null,c?e.jsx("div",{className:"mt-16 w-full",children:c}):null]})}):e.jsxs("section",{ref:d,id:m,className:l("relative w-full overflow-hidden bg-secondary",r),style:{color:u},...g,children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay"}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10"}),e.jsxs("div",{className:l(p,"pt-28 pb-24 text-center sm:pt-36 sm:pb-32"),children:[e.jsx("h1",{className:"max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl",style:{color:u},children:o}),i?e.jsx("p",{className:"mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg",style:{color:u,opacity:.72},children:i}):null,y?e.jsx("div",{className:"mt-11 justify-center",children:y}):null,x?e.jsx("ul",{className:"mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3",children:x.map(w=>e.jsxs("li",{className:"flex items-center gap-2 text-sm font-medium",style:{color:u,opacity:.72},children:[w.icon?e.jsx("span",{children:w.icon}):null,w.label]},w.label))}):null]})]})});Je.displayName="Hero";const k={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0},Y=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"m13 6 6 6-6 6"})]}),Qe=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M7 17 17 7"}),e.jsx("path",{d:"M8 7h9v9"})]}),Xe=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 5v14"}),e.jsx("path",{d:"m6 13 6 6 6-6"})]}),er=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 19V5"}),e.jsx("path",{d:"m6 11 6-6 6 6"})]}),Z=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"M20 6 9 17l-5-5"})}),be=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 5v14"}),e.jsx("path",{d:"M5 12h14"})]}),xe=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M18 6 6 18"}),e.jsx("path",{d:"m6 6 12 12"})]}),ke=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M4 7h16"}),e.jsx("path",{d:"M4 12h16"}),e.jsx("path",{d:"M4 17h16"})]}),ae=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"m6 9 6 6 6-6"})}),rr=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"m9 6 6 6-6 6"})}),tr=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"m15 6-6 6 6 6"})}),ht=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"M13 2 3 14h7l-1 8 10-12h-7l1-8z"})}),bt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 3 5 6v5c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6l-7-3z"}),e.jsx("path",{d:"m9 12 2 2 4-4"})]}),jt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"m12 2 9 5-9 5-9-5 9-5z"}),e.jsx("path",{d:"m3 12 9 5 9-5"}),e.jsx("path",{d:"m3 17 9 5 9-5"})]}),vt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2.5"}),e.jsx("path",{d:"M12 18h.01"})]}),yt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16z"}),e.jsx("path",{d:"m12 14 4-4"}),e.jsx("path",{d:"M12 10.5 9 13.5"})]}),wt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M3 20h18"}),e.jsx("path",{d:"M7 20V8"}),e.jsx("path",{d:"M12 20V4"}),e.jsx("path",{d:"M17 20v-7"})]}),Nt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"9",cy:"7",r:"4"}),e.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),e.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}),sr=r=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,...r,children:e.jsx("path",{d:"M12 2.5c.33 0 .63.19.77.5l1.98 4.01 4.42.64c.62.09.87.85.42 1.29l-3.2 3.12.76 4.4c.11.62-.55 1.1-1.1.8L12 15.13l-3.95 2.08c-.56.29-1.21-.18-1.1-.8l.76-4.4-3.2-3.12a.78.78 0 0 1 .42-1.29l4.42-.64L11.23 3c.14-.31.44-.5.77-.5z"})}),Ce=r=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,...r,children:e.jsx("path",{d:"M10.5 5C7 5 4.5 7.5 4.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C13 6.1 11.9 5 10.5 5zm9 0C16 5 13.5 7.5 13.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C22 6.1 20.9 5 19.5 5z"})}),je=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("circle",{cx:"12",cy:"12",r:"9"}),e.jsx("path",{d:"M3 12h18"}),e.jsx("path",{d:"M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z"})]}),or=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("rect",{width:"18",height:"14",x:"3",y:"5",rx:"2"}),e.jsx("path",{d:"m3 7 9 6 9-6"})]}),kt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2"}),e.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),Ct=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("circle",{cx:"12",cy:"12",r:"9"}),e.jsx("path",{d:"M12 7v5l3 2"})]}),Mt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 2v20"}),e.jsx("path",{d:"M17 5.5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),St=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"m16 18 6-6-6-6"}),e.jsx("path",{d:"m8 6-6 6 6 6"})]}),Rt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"m5 17 5-5-5-5"}),e.jsx("path",{d:"M13 19h6"})]}),At=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"m3 11 18-8-7 18-3-7-8-3z"}),e.jsx("path",{d:"M11 14 21 3"})]}),zt=r=>e.jsx("svg",{...k,...r,children:e.jsx("path",{d:"m8 5 11 7-11 7V5z"})}),Tt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M15 3h6v6"}),e.jsx("path",{d:"M10 14 21 3"}),e.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]}),Lt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M4 6h10"}),e.jsx("path",{d:"M18 6h2"}),e.jsx("circle",{cx:"16",cy:"6",r:"2"}),e.jsx("path",{d:"M4 12h2"}),e.jsx("path",{d:"M10 12h10"}),e.jsx("circle",{cx:"8",cy:"12",r:"2"}),e.jsx("path",{d:"M4 18h10"}),e.jsx("path",{d:"M18 18h2"}),e.jsx("circle",{cx:"16",cy:"18",r:"2"})]}),Pt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("ellipse",{cx:"12",cy:"5",rx:"8",ry:"3"}),e.jsx("path",{d:"M4 5v7c0 1.66 3.58 3 8 3s8-1.34 8-3V5"}),e.jsx("path",{d:"M4 12v7c0 1.66 3.58 3 8 3s8-1.34 8-3v-7"})]}),Et=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M21 8 12 3 3 8v8l9 5 9-5V8z"}),e.jsx("path",{d:"m3 8 9 5 9-5"}),e.jsx("path",{d:"M12 13v8"})]}),Gt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("rect",{width:"16",height:"16",x:"4",y:"4",rx:"2"}),e.jsx("rect",{width:"8",height:"8",x:"8",y:"8",rx:"1"}),e.jsx("path",{d:"M9 2v2M15 2v2M9 20v2M15 20v2M2 9h2M2 15h2M20 9h2M20 15h2"})]}),Bt=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M12 3a9 9 0 1 0 0 18c1.66 0 2-1.34 2-2 0-.66-.27-1.16-.58-1.66-.3-.48-.42-.84-.42-1.34 0-.83.67-1.5 1.5-1.5h3.2A4.3 4.3 0 0 0 21 10 9 9 0 0 0 12 3z"}),e.jsx("circle",{cx:"7.5",cy:"10.5",r:"0.8",fill:"currentColor",stroke:"none"}),e.jsx("circle",{cx:"12",cy:"7.5",r:"0.8",fill:"currentColor",stroke:"none"}),e.jsx("circle",{cx:"16.5",cy:"10.5",r:"0.8",fill:"currentColor",stroke:"none"})]}),It=r=>e.jsxs("svg",{...k,...r,children:[e.jsx("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),e.jsx("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),e.jsx("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),e.jsx("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"}),e.jsx("circle",{cx:"15.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"})]}),Ft={classic:"text-muted-foreground hover:text-foreground",floating:"text-muted-foreground hover:text-foreground",inverse:"text-on-secondary/60 hover:text-on-secondary"},nr=({className:r,variant:t="classic",brand:s,logo:o,logoSrc:i,logoAlt:a,logoClassName:n,brandHref:c="#",links:x,actions:m,cta:g,languageSwitcher:d,sticky:b=!0,LinkComponent:f,...u})=>{const[p,h]=j.useState(!1),y=t==="inverse",w=f??"a",P=l("w-full transition-colors duration-200",b&&"sticky top-0 z-50",t==="classic"&&"border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",t==="floating"&&"px-0",t==="inverse"&&"border-b border-white/10 bg-[#101010]/85 backdrop-blur-md"),E=l("flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",t==="floating"&&"mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",t==="classic"&&"mx-auto max-w-6xl px-5 sm:px-8",t==="inverse"&&"mx-auto max-w-6xl px-5 sm:px-8"),C=o??(i?e.jsx("img",{src:i,alt:a??(typeof s=="string"?s:"Logo"),className:l("h-7 w-auto",n)}):null),G=C?e.jsx("span",{className:"flex items-center",children:C}):e.jsxs("span",{className:l("flex items-center gap-2 font-display text-[17px] font-bold tracking-tight",y?"text-on-secondary":"text-foreground"),children:[e.jsx("span",{"aria-hidden":!0,className:l("inline-block h-2.5 w-2.5 rounded-sm",y?"bg-on-secondary":"bg-foreground")}),s]});return e.jsxs("header",{className:l(P,t==="floating"&&"px-3 sm:px-6",r),...u,children:[e.jsxs("nav",{className:E,"aria-label":"Main navigation",children:[e.jsx(w,{href:c,className:"shrink-0",children:G}),e.jsx("ul",{className:"hidden items-center gap-7 md:flex",children:x.map(R=>e.jsx("li",{children:e.jsx(w,{href:R.href,className:l("text-sm font-medium transition-colors duration-150",Ft[t]),children:R.label})},R.href))}),e.jsxs("div",{className:"hidden items-center gap-3 md:flex",children:[d,m,g]}),d?e.jsx("div",{className:"flex items-center md:hidden",children:d}):null,e.jsx("button",{type:"button","aria-label":p?"Close menu":"Open menu","aria-expanded":p,onClick:()=>h(R=>!R),className:l("inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md md:hidden","transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",y?"text-on-secondary hover:bg-white/10":"text-foreground hover:bg-surface"),children:p?e.jsx(xe,{className:"h-5 w-5"}):e.jsx(ke,{className:"h-5 w-5"})})]}),e.jsx("div",{className:l("grid transition-[grid-template-rows,opacity] duration-200 md:hidden",p?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",y?"border-t border-white/10 bg-[#101010]":t==="floating"?"mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface":"border-t border-border bg-background"),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("ul",{className:l("flex flex-col py-4",t!=="floating"&&"px-5"),children:[x.map(R=>e.jsx("li",{children:e.jsx(w,{href:R.href,onClick:()=>h(!1),className:l("block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",y?"text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary":"text-muted-foreground hover:bg-surface hover:text-foreground"),children:R.label})},R.href)),g?e.jsx("li",{className:"mt-3 px-2 pb-2",children:g}):m?e.jsx("li",{className:"mt-3 flex flex-wrap gap-3 px-2 pb-2",children:m}):null]})})})]})};nr.displayName="Navbar";const Vt={classic:"text-muted-foreground hover:text-foreground hover:bg-surface",floating:"text-muted-foreground hover:text-foreground hover:bg-surface",inverse:"text-on-secondary/60 hover:text-on-secondary hover:bg-white/10"},lr=({className:r,variant:t="classic",brand:s,logo:o,logoSrc:i,logoAlt:a,logoClassName:n,brandHref:c="#",items:x,actions:m,cta:g,sticky:d=!0,LinkComponent:b,onKeyDown:f,...u})=>{const p=j.useId(),h=b??"a",[y,w]=j.useState(null),[P,E]=j.useState(!1),[C,G]=j.useState(null),R=t==="inverse",M=()=>w(null),L=()=>{w(null),E(!1),G(null)},F=R?"border-white/10 bg-[#161616]":"border-border bg-surface shadow-raised",V=v=>`${p}-panel-${v}`,A=l("relative w-full transition-colors duration-200",d&&"sticky top-0 z-50",t==="classic"&&"border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",t==="inverse"&&"border-b border-white/10 bg-[#101010]/85 backdrop-blur-md"),te=l("relative flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",t==="floating"&&"mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",t!=="floating"&&"mx-auto max-w-6xl px-5 sm:px-8"),W=o??(i?e.jsx("img",{src:i,alt:a??(typeof s=="string"?s:"Logo"),className:l("h-7 w-auto",n)}):null),se=W?e.jsx("span",{className:"flex items-center",children:W}):e.jsxs("span",{className:l("flex items-center gap-2 font-display text-[17px] font-bold tracking-tight",R?"text-on-secondary":"text-foreground"),children:[e.jsx("span",{"aria-hidden":!0,className:l("inline-block h-2.5 w-2.5 rounded-sm",R?"bg-on-secondary":"bg-foreground")}),s]}),q=l("flex items-center gap-1.5 rounded-md px-3 py-2 text-sm font-medium transition-colors duration-150",Vt[t]),X=v=>{var S;return e.jsx("div",{className:l("grid gap-x-10 gap-y-8 sm:grid-cols-2",v.featured?"":"lg:grid-cols-3"),children:(S=v.columns)==null?void 0:S.map((T,B)=>e.jsxs("div",{children:[T.title?e.jsx("h4",{className:l("text-xs font-semibold uppercase tracking-[0.14em]",R?"text-on-secondary/45":"text-muted-foreground/70"),children:T.title}):null,e.jsx("ul",{className:l(T.title&&"mt-3","space-y-0.5"),children:T.links.map(O=>e.jsx("li",{children:e.jsxs(h,{href:O.href,onClick:L,className:l("-mx-2 block rounded-md px-2 py-2 transition-colors duration-150",R?"hover:bg-white/10":"hover:bg-surface-strong"),children:[e.jsx("span",{className:"block text-sm font-medium text-foreground",children:O.label}),O.description?e.jsx("span",{className:l("mt-0.5 block text-[13px] leading-snug",R?"text-on-secondary/50":"text-muted-foreground"),children:O.description}):null]})},O.href))})]},T.title??B))})},_=(v,S=!1)=>{const T=v.featured;if(!T)return null;const B=T.accent?{backgroundColor:T.accent,color:I(T.accent)}:void 0;return e.jsxs(h,{href:T.href,onClick:L,className:l("group relative block overflow-hidden rounded-lg p-6 transition-transform duration-150 hover:-translate-y-0.5",S&&"mt-8",!T.accent&&"bg-primary text-on-primary"),style:B,children:[e.jsxs("div",{className:"flex h-full flex-col justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-display text-base font-semibold tracking-tight",children:T.title}),T.description?e.jsx("p",{className:"mt-1.5 text-[13px] leading-relaxed opacity-80",children:T.description}):null]}),T.cta?e.jsxs("span",{className:"text-sm font-semibold underline decoration-1 underline-offset-4",children:[T.cta," →"]}):null]}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-8 -top-8 h-28 w-28 rounded-full opacity-20 blur-2xl bg-black/40"})]})},K=v=>{v.key==="Escape"&&L(),f==null||f(v)};return e.jsxs("header",{className:l(A,t==="floating"&&"px-3 sm:px-6",r),onKeyDown:K,...u,children:[e.jsxs("nav",{className:te,onMouseLeave:M,"aria-label":"Mega menu",children:[e.jsx(h,{href:c,className:"shrink-0",children:se}),e.jsx("ul",{className:"hidden items-center gap-1 lg:flex",children:x.map((v,S)=>{var O;const T=!!((O=v.columns)!=null&&O.length||v.featured),B=y===S;return e.jsx("li",{className:"relative",children:T?e.jsxs("button",{type:"button","aria-haspopup":"true","aria-expanded":B,"aria-controls":V(S),onClick:()=>w(B?null:S),onMouseEnter:()=>w(S),className:l(q,B&&(R?"bg-white/10 text-on-secondary":"bg-surface text-foreground")),children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[v.label,v.badge?e.jsx("span",{className:l("rounded-full px-1.5 py-0.5 text-[10px] font-semibold tracking-wide",R?"bg-white/15 text-on-secondary":"bg-primary-soft text-primary"),children:v.badge}):null]}),e.jsx(ae,{className:l("h-4 w-4 shrink-0 transition-transform duration-150",B&&"rotate-180")})]}):e.jsxs(h,{href:v.href??"#",className:q,children:[v.label,v.badge?e.jsx("span",{className:"rounded-full bg-primary-soft px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-primary",children:v.badge}):null]})},v.label)})}),e.jsxs("div",{className:"hidden items-center gap-3 lg:flex",children:[m,g]}),e.jsx("button",{type:"button","aria-label":P?"Close menu":"Open menu","aria-expanded":P,onClick:()=>E(v=>!v),className:l("inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md lg:hidden","transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",R?"text-on-secondary hover:bg-white/10":"text-foreground hover:bg-surface"),children:P?e.jsx(xe,{className:"h-5 w-5"}):e.jsx(ke,{className:"h-5 w-5"})})]}),x.map((v,S)=>{var B;if(!((B=v.columns)!=null&&B.length)&&!v.featured)return null;const T=y===S;return e.jsx("div",{id:V(S),role:"region","aria-label":`${v.label} menu`,onMouseEnter:()=>w(S),className:l("absolute inset-x-0 top-full z-50 pt-2 transition-all duration-150",T?"visible translate-y-0 opacity-100":"pointer-events-none invisible -translate-y-1 opacity-0"),children:e.jsxs("div",{className:l("overflow-hidden rounded-xl border p-6 md:p-8",F,v.featured?"lg:grid lg:grid-cols-[minmax(0,1fr)_auto] lg:gap-12":""),children:[X(v),v.featured&&e.jsx("div",{className:l("mt-8 max-w-sm lg:mt-0 lg:w-64"),children:_(v)})]})},v.label)}),e.jsx("div",{className:l("grid transition-[grid-template-rows,opacity] duration-200 lg:hidden",P?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",R?"border-t border-white/10 bg-[#101010]":t==="floating"?"mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface":"border-t border-border bg-background"),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("ul",{className:"flex flex-col py-4",children:[x.map((v,S)=>{var T;return(T=v.columns)!=null&&T.length||v.featured?e.jsxs("li",{className:"px-5",children:[e.jsxs("button",{type:"button","aria-expanded":C===S,onClick:()=>G(B=>B===S?null:S),className:l("flex w-full items-center justify-between rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",R?"text-on-secondary hover:bg-white/10":"text-foreground hover:bg-surface"),children:[e.jsxs("span",{className:"flex items-center gap-2",children:[v.label,v.badge?e.jsx("span",{className:"rounded-full bg-primary-soft px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-primary",children:v.badge}):null]}),e.jsx(ae,{className:l("h-4 w-4 shrink-0 transition-transform duration-150",C===S&&"rotate-180")})]}),e.jsx("div",{className:l("grid transition-[grid-template-rows,opacity] duration-200",C===S?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("div",{className:"py-2 pl-1",children:[X(v),v.featured?e.jsx("div",{className:"max-w-sm",children:_(v,!0)}):null]})})})]},v.label):e.jsx("li",{className:"px-5",children:e.jsx(h,{href:v.href??"#",onClick:()=>E(!1),className:l("block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",R?"text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary":"text-muted-foreground hover:bg-surface hover:text-foreground"),children:v.label})},v.label)}),g?e.jsx("li",{className:"px-8 pb-2 pt-3",children:g}):m?e.jsx("li",{className:"mt-3 flex flex-wrap gap-3 px-8 pb-2",children:m}):null]})})})]})};lr.displayName="MegaMenu";const Ht=({name:r})=>e.jsx("span",{className:"text-lg font-semibold tracking-tight text-foreground/45 transition-colors duration-200 group-hover:text-foreground",children:r}),ge=({logo:r})=>r.src?e.jsx("img",{src:r.src,alt:r.name,loading:"lazy",className:l("max-h-7 w-auto opacity-50 grayscale transition-all duration-200 group-hover:opacity-90 group-hover:grayscale-0","h-7")}):e.jsx(Ht,{name:r.name}),ar=j.forwardRef(({className:r,logos:t,title:s,option:o="quiet",...i},a)=>{if(o==="marquee"){const n=[...t,...t];return e.jsxs("div",{ref:a,className:l("w-full overflow-hidden",r),...i,children:[s?e.jsx("p",{className:"mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:s}):null,e.jsx("div",{className:"mask-fade-x",children:e.jsx("div",{className:"flex w-max animate-marquee gap-14 pr-14 motion-reduce:animate-none",children:n.map((c,x)=>e.jsx("div",{className:"group shrink-0",children:e.jsx(ge,{logo:c})},`${c.name}-${x}`))})})]})}return o==="strip"?e.jsxs("div",{ref:a,className:l("w-full",r),...i,children:[s?e.jsx("p",{className:"mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:s}):null,e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-10 gap-y-4 rounded-2xl border border-border bg-surface px-6 py-7 sm:gap-x-14",children:t.map(n=>e.jsx("li",{className:"group",children:e.jsx(ge,{logo:n})},n.name))})]}):e.jsxs("div",{ref:a,className:l("w-full",r),...i,children:[s?e.jsx("p",{className:"mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:s}):null,e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-12 gap-y-6",children:t.map(n=>e.jsx("li",{className:"group",children:e.jsx(ge,{logo:n})},n.name))})]})});ar.displayName="LogoCloud";const ie=j.forwardRef(({className:r,icon:t,title:s,description:o,accent:i,large:a=!1,...n},c)=>{const x=i?{backgroundColor:i,color:I(i,"#111111","#ffffff")}:void 0;return e.jsxs("div",{ref:c,className:l("group relative flex h-full flex-col rounded-xl border border-border bg-surface p-7 transition-colors duration-200 hover:border-foreground/15",r),...n,children:[t?e.jsx("div",{className:l("mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]",!i&&"bg-primary-soft text-primary"),style:x,children:t}):null,e.jsx("h3",{className:l("font-display font-semibold tracking-tight text-foreground",a?"text-2xl":"text-lg"),children:s}),o?e.jsx("p",{className:l("mt-2.5 text-pretty leading-relaxed text-muted-foreground",a?"text-[15px]":"text-sm"),children:o}):null]})});ie.displayName="FeatureCard";const $t={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Le=["sm:col-span-2 lg:row-span-2","","","lg:col-span-2","","lg:col-span-2"],ir=j.forwardRef(({className:r,features:t,option:s="columns",columns:o=3,...i},a)=>s==="editorialRows"?e.jsx("div",{ref:a,className:l("w-full",r),...i,children:e.jsx("div",{className:"divide-y divide-border border-t border-b border-border",children:t.map((n,c)=>e.jsxs("div",{className:"group flex flex-col gap-3 py-6 transition-colors duration-200 sm:flex-row sm:items-baseline sm:gap-10",children:[e.jsx("span",{className:"text-sm font-medium tabular-nums text-muted-foreground/60 sm:w-12",children:String(c+1).padStart(2,"0")}),e.jsxs("div",{className:"flex-1 sm:flex sm:items-baseline sm:justify-between sm:gap-10",children:[e.jsx("h3",{className:"font-display text-xl font-semibold tracking-tight text-foreground sm:w-2/5",children:n.title}),e.jsx("p",{className:"mt-1.5 text-sm leading-7 text-muted-foreground sm:mt-0 sm:w-1/2",children:n.description})]}),n.icon?e.jsx("span",{className:"hidden text-foreground/30 sm:inline-flex",children:n.icon}):null]},c))})}):s==="bento"?e.jsx("div",{ref:a,className:l("grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4 lg:auto-rows-[minmax(9rem,auto)]",r),...i,children:t.map((n,c)=>n?e.jsx("div",{className:l(c<Le.length&&Le[c]),children:e.jsx(ie,{...n,large:c===0,className:"h-full"})},c):null)}):e.jsx("div",{ref:a,className:l("grid grid-cols-1 gap-4",$t[o],r),...i,children:t.map((n,c)=>e.jsx(ie,{...n,className:"h-full"},c))}));ir.displayName="FeatureGrid";const oe="font-display font-semibold tabular-nums tracking-[-0.02em] text-foreground",ne="ml-1 font-sans text-sm font-normal tracking-normal text-muted-foreground",pe={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"};function Pe({delta:r}){const t=r>=0,s=t?er:Xe;return e.jsxs("span",{className:l("inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold tabular-nums",t?"bg-accent/10 text-accent":"bg-danger-soft text-danger"),children:[e.jsx(s,{className:"h-3 w-3"}),Math.abs(r),"%"]})}const cr=j.forwardRef(({className:r,stats:t,option:s="editorial",columns:o=4,...i},a)=>s==="ticker"?e.jsx("dl",{ref:a,className:l("flex w-full items-stretch overflow-x-auto rounded-2xl border border-border bg-surface",r),...i,children:t.map((n,c)=>e.jsxs("div",{className:l("flex min-w-[11rem] flex-1 flex-col gap-3 p-6",c>0&&"border-l border-border"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground",children:n.label}),typeof n.delta=="number"?e.jsx(Pe,{delta:n.delta}):null]}),e.jsxs("dd",{className:l(oe,"text-3xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ne,children:n.suffix}):null]}),n.sub?e.jsx("p",{className:"text-[13px] leading-5 text-muted-foreground",children:n.sub}):null]},n.label))}):s==="cells"?e.jsx("dl",{ref:a,className:l("grid grid-cols-1 gap-4",pe[o],r),...i,children:t.map(n=>e.jsxs("div",{className:"flex min-h-[8.5rem] flex-col justify-between rounded-xl border border-border bg-surface p-6",children:[e.jsxs("dd",{className:l(oe,"text-3xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ne,children:n.suffix}):null]}),e.jsxs("div",{className:"mt-5 flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-sm text-muted-foreground",children:n.label}),n.icon?e.jsx("span",{className:"text-foreground/30",children:n.icon}):null]})]},n.label))}):s==="hairline"?e.jsx("dl",{ref:a,className:l("grid grid-cols-1 gap-y-10",pe[o],r),...i,children:t.map((n,c)=>e.jsxs("div",{className:l("text-center",o>1&&c>0&&"sm:border-l sm:border-border"),children:[e.jsxs("dd",{className:l(oe,"text-5xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ne,children:n.suffix}):null]}),e.jsx("dt",{className:"mt-3 text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:n.label})]},n.label))}):e.jsx("dl",{ref:a,className:l("grid grid-cols-1 gap-x-10 gap-y-12",pe[o],r),...i,children:t.map(n=>e.jsxs("div",{className:"border-t border-border pt-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:n.label}),typeof n.delta=="number"?e.jsx(Pe,{delta:n.delta}):null]}),e.jsxs("dd",{className:l(oe,"mt-4 text-5xl sm:text-6xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ne,children:n.suffix}):null]}),n.sub?e.jsx("p",{className:"mt-3 max-w-xs text-[13px] leading-5 text-muted-foreground",children:n.sub}):null]},n.label))}));cr.displayName="Stats";function Ee({value:r,billing:t,dim:s}){return r===null?e.jsx("span",{children:"Custom"}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"text-[2.6rem] font-semibold tracking-tight sm:text-[3rem]",children:["$",r]}),e.jsxs("span",{className:l("text-sm font-normal",s&&"opacity-60"),children:["/",t==="monthly"?"mo":"yr"]})]})}function Ot({billing:r,onChange:t,dark:s}){const o=de("--color-accent");return e.jsxs("div",{className:"mb-10 flex items-center justify-center gap-4",children:[e.jsx("span",{className:l("text-sm font-medium transition-colors",r==="monthly"?s?"text-white":"text-foreground":"text-muted-foreground"),children:"Monthly"}),e.jsx("button",{type:"button",role:"switch","aria-checked":r==="yearly","aria-label":"Billing period",onClick:()=>t(r==="monthly"?"yearly":"monthly"),className:l("relative inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",r==="yearly"?"bg-primary":"bg-border"),children:e.jsx("span",{className:l("inline-block h-4 w-4 transform rounded-full bg-white shadow transition-transform duration-200",r==="yearly"?"translate-x-6":"translate-x-1")})}),e.jsxs("span",{className:l("flex items-center gap-2 text-sm font-medium transition-colors",r==="yearly"?s?"text-white":"text-foreground":"text-muted-foreground"),children:["Yearly",e.jsx("span",{className:"rounded-full bg-accent px-2 py-0.5 text-xs font-semibold",style:{color:o},children:"−2 ay"})]})]})}const dr=({className:r,plans:t,option:s="cards",defaultBilling:o="monthly",onSelect:i,...a})=>{const[n,c]=j.useState(o),x=d=>n==="monthly"?d.monthly:d.yearly,m=d=>d===null?"Custom":`$${d}`,g=(d,b)=>{const f=d.highlighted&&!d.customColor,u=d.customColor?I(d.customColor,"#111111","#ffffff"):void 0;return e.jsxs("button",{type:"button",onClick:()=>i==null?void 0:i(d,n),className:l("inline-flex h-11 cursor-pointer items-center justify-center gap-2 rounded-lg px-5 text-sm font-semibold transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",f||d.customColor?"hover:brightness-95":b?"bg-white text-black hover:bg-white/90":"border border-border text-foreground hover:bg-surface"),style:d.customColor?{backgroundColor:d.customColor,color:u}:f?{backgroundColor:"rgb(var(--color-primary))",color:"rgb(var(--color-on-primary))"}:void 0,children:[d.cta||"Start",e.jsx(Y,{className:"h-4 w-4 opacity-60"})]})};return s==="compact"?e.jsx("div",{className:l("w-full",r),...a,children:e.jsx("div",{className:"divide-y divide-border overflow-hidden rounded-xl border border-border bg-surface",children:t.map(d=>{const b=d.highlighted&&!d.customColor,f=d.customColor?"rgb(var(--color-surface))":b?"rgb(var(--color-primary-soft))":void 0,u=d.customColor?d.customColor:b?"rgb(var(--color-primary))":void 0;return e.jsxs("div",{className:l("group flex flex-col gap-5 p-5 transition-colors duration-200 hover:bg-surface-strong sm:flex-row sm:items-center sm:justify-between",b&&"bg-primary-soft/60"),style:f?{backgroundColor:f}:void 0,children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("h3",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:d.name}),b?e.jsx("span",{className:"rounded-full bg-primary px-2.5 py-0.5 text-[11px] font-semibold text-on-primary uppercase tracking-wider",children:"Popular"}):null]}),d.description?e.jsx("p",{className:"mt-1 truncate text-sm text-muted-foreground",children:d.description}):null]}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("ul",{className:"hidden items-center gap-4 lg:flex",children:d.features.slice(0,3).map(p=>e.jsxs("li",{className:"flex items-center gap-1.5 text-sm text-muted-foreground",style:{color:u},children:[e.jsx(Z,{className:"h-3.5 w-3.5 text-current"}),p]},p))}),e.jsxs("div",{className:"font-display text-2xl font-semibold tracking-tight text-foreground",children:[m(x(d)),x(d)!==null?e.jsxs("span",{className:"text-sm font-normal text-muted-foreground",children:["/",n==="monthly"?"mo":"yr"]}):null]}),g(d)]})]},d.name)})})}):s==="bento"?e.jsx("div",{className:l("w-full",r),...a,children:e.jsx("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-2",children:t.map(d=>{const b=d.highlighted&&!d.customColor,f=d.customColor||(b?"rgb(var(--color-primary))":void 0),u=d.customColor?I(d.customColor,"#111111","#ffffff"):b?"rgb(var(--color-on-primary))":void 0;return e.jsxs("div",{className:l("flex h-full flex-col rounded-xl p-8",f?"lg:col-span-2":"border border-border bg-surface"),style:f?{backgroundColor:f,color:u}:void 0,children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:l("font-display text-xl font-semibold tracking-tight",f?"text-current":"text-foreground"),children:d.name}),d.description?e.jsx("p",{className:l("mt-1.5 text-sm",f?void 0:"text-muted-foreground"),children:d.description}):null]}),e.jsx("div",{className:l("font-display",f?"text-current":"text-foreground"),children:e.jsx(Ee,{value:x(d),billing:n,dim:!f})})]}),e.jsx("ul",{className:l("mt-7 grid grid-cols-1 gap-x-8 gap-y-2.5 text-sm sm:grid-cols-2",f?"lg:max-w-2xl":void 0),children:d.features.map(p=>e.jsxs("li",{className:l("flex items-start gap-2.5",f?"text-current":"text-muted-foreground"),children:[e.jsx(Z,{className:l("mt-0.5 h-4 w-4 shrink-0",f?"text-current":"text-primary")}),p]},p))}),e.jsx("div",{className:"mt-8",children:g(d,!f)})]},d.name)})})}):e.jsxs("div",{className:l("w-full",r),...a,children:[e.jsx(Ot,{billing:n,onChange:c}),e.jsx("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:grid-cols-3",children:t.map(d=>{const b=d.highlighted&&!d.customColor,f=d.customColor||(b?"rgb(var(--color-primary))":void 0),u=d.customColor?I(d.customColor,"#111111","#ffffff"):b?"rgb(var(--color-on-primary))":void 0;return e.jsxs("div",{className:l("relative flex flex-col rounded-xl p-7",f?"shadow-raised":"border border-border bg-surface",!f&&b&&"border-primary"),style:f?{backgroundColor:f,color:u}:void 0,children:[b?e.jsx("span",{className:l("absolute -top-3 left-7 rounded-full px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wider",!f&&"bg-primary text-on-primary"),style:f?{backgroundColor:"rgb(var(--color-on-primary))",color:"rgb(var(--color-primary))"}:void 0,children:"Most popular"}):null,e.jsx("h3",{className:l("font-display text-lg font-semibold tracking-tight",f?"text-current":"text-foreground"),children:d.name}),d.description?e.jsx("p",{className:l("mt-1.5 text-sm",f?void 0:"text-muted-foreground"),children:d.description}):null,e.jsx("div",{className:l("mt-6 flex items-baseline font-display",f?"text-current":"text-foreground"),children:e.jsx(Ee,{value:x(d),billing:n,dim:!f})}),e.jsx("ul",{className:l("mt-7 flex-1 space-y-2.5 text-sm",f?"text-current":"text-muted-foreground"),children:d.features.map(p=>e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx(Z,{className:l("mt-0.5 h-4 w-4 shrink-0",f?"text-current":"text-primary")}),p]},p))}),e.jsx("div",{className:"mt-8",children:g(d,!f)})]},d.name)})})]})};dr.displayName="Pricing";const xr=r=>r.split(" ").map(t=>t[0]).join("").slice(0,2).toUpperCase(),ve=j.forwardRef(function({className:t,testimonial:s,...o},i){const{quote:a,author:n,role:c,company:x,avatar:m,accent:g,rating:d}=s,b=g?{backgroundColor:g,color:I(g,"#111111","#ffffff")}:void 0;return e.jsxs("figure",{ref:i,className:l("mb-4 flex flex-col break-inside-avoid rounded-2xl border border-border bg-surface p-7",t),...o,children:[e.jsxs("div",{className:"mb-5 flex items-center justify-between",children:[e.jsx(Ce,{className:l("h-6 w-6",g?void 0:"text-primary/30"),style:g?{color:g}:void 0}),d?e.jsx("span",{className:"flex items-center gap-0.5 text-amber-500","aria-label":`${d} / 5`,children:Array.from({length:5}).map((f,u)=>e.jsx(sr,{className:"h-3.5 w-3.5"},u))}):null]}),e.jsx("blockquote",{className:"flex-1 text-[15px] leading-7 text-foreground/85",children:a}),e.jsxs("figcaption",{className:"mt-6 flex items-center gap-3",children:[m||e.jsx("span",{style:b,className:l("inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-xs font-bold",!g&&"bg-primary-soft text-primary"),children:xr(n)}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:n}),(c||x)&&e.jsx("div",{className:"text-xs text-muted-foreground",children:[c,x].filter(Boolean).join(" · ")})]})]})]})}),ur=({className:r,items:t,option:s="grid",...o})=>{if(s==="carousel")return e.jsx(Ut,{items:t,className:r,...o});if(s==="marquee"){const i=[...t,...t];return e.jsx("div",{className:l("w-full overflow-hidden",r),...o,children:e.jsx("div",{className:"mask-fade-x",children:e.jsx("div",{className:"flex w-max animate-marquee gap-4 pr-4 motion-reduce:animate-none",children:i.map((a,n)=>e.jsx("div",{className:"w-[19rem] shrink-0 sm:w-[24rem]",children:e.jsx(ve,{testimonial:a,className:"m-0"})},n))})})})}return e.jsx("div",{className:l("columns-1 gap-4 md:columns-2 lg:columns-3",r),...o,children:t.map((i,a)=>e.jsx(ve,{testimonial:i},a))})};ur.displayName="Testimonials";function Ut({items:r,className:t,...s}){const[o,i]=j.useState(0),a=r[o%r.length],n=a.accent?{backgroundColor:a.accent,color:I(a.accent,"#111111","#ffffff")}:void 0,c=x=>i(m=>(m+x+r.length)%r.length);return e.jsxs("div",{className:l("mx-auto w-full max-w-3xl",t),...s,children:[e.jsxs("figure",{className:"relative rounded-2xl border border-border bg-surface p-10 text-center sm:p-14",children:[e.jsx(Ce,{className:l("mx-auto mb-6 h-8 w-8",a.accent?void 0:"text-primary/25"),style:a.accent?{color:a.accent}:void 0,"aria-hidden":!0}),e.jsx("blockquote",{className:"font-display text-balance text-xl font-medium leading-relaxed tracking-tight text-foreground sm:text-2xl",children:a.quote}),e.jsxs("figcaption",{className:"mt-8 flex items-center justify-center gap-3",children:[a.avatar?a.avatar:e.jsx("span",{style:n,className:l("inline-flex h-11 w-11 items-center justify-center rounded-full text-xs font-bold",!a.accent&&"bg-foreground text-background"),children:xr(a.author)}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:a.author}),e.jsx("div",{className:"text-xs text-muted-foreground",children:[a.role,a.company].filter(Boolean).join(" · ")})]})]})]}),e.jsxs("div",{className:"mt-6 flex items-center justify-center gap-4",children:[e.jsx("button",{type:"button","aria-label":"Previous testimonial",onClick:()=>c(-1),className:"inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(tr,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex items-center gap-1.5",children:r.map((x,m)=>e.jsx("button",{type:"button","aria-label":`Testimonial ${m+1}`,"aria-current":m===o,onClick:()=>i(m),className:l("h-1.5 cursor-pointer rounded-full transition-all duration-200",m===o?"w-6 bg-foreground":"w-1.5 bg-foreground/25 hover:bg-foreground/50")},m))}),e.jsx("button",{type:"button","aria-label":"Next testimonial",onClick:()=>c(1),className:"inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(rr,{className:"h-4 w-4"})})]})]})}const mr=j.forwardRef(({className:r,title:t,description:s,action:o,secondaryAction:i,option:a="panel",align:n="left",id:c,...x},m)=>{const g=a==="panel",b=de(a==="inverse"?"--color-secondary":"--color-primary");return a==="surface"?e.jsx("section",{ref:m,id:c,className:l("w-full",r),...x,children:e.jsx($,{className:"py-20 sm:py-24",children:e.jsxs("div",{className:l("flex flex-col gap-10 border-t border-border pt-14 sm:flex-row sm:items-end sm:justify-between sm:pt-16",n==="center"&&"items-center text-center sm:flex-col sm:items-center"),children:[e.jsxs("div",{className:l("max-w-3xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-4xl font-semibold leading-[1.03] tracking-[-0.03em] text-balance text-foreground sm:text-6xl",children:t}),s?e.jsx("p",{className:l("mt-5 max-w-xl text-pretty text-base leading-7 text-muted-foreground sm:text-lg",n==="center"&&"mx-auto"),children:s}):null]}),e.jsxs("div",{className:l("flex flex-wrap items-center gap-4",n==="center"&&"justify-center"),children:[o,i]})]})})}):e.jsx("section",{ref:m,id:c,className:l("w-full py-6 pb-20",r),...x,children:e.jsx($,{children:g?e.jsxs("div",{className:"relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20",style:{background:"radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))",color:b},children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay"}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full",style:{background:"rgb(var(--color-accent))",opacity:.35,filter:"blur(60px)"}}),e.jsxs("div",{className:l("relative flex flex-col gap-9",n==="center"?"items-center text-center":"items-start"),children:[e.jsxs("div",{className:l("max-w-2xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl",children:t}),s?e.jsx("p",{className:l("mt-4 text-pretty text-base leading-7 sm:text-lg",n==="center"&&"mx-auto max-w-xl"),children:s}):null]}),e.jsxs("div",{className:l("flex flex-wrap items-center gap-4",n==="center"&&"justify-center"),children:[o,i]})]})]}):e.jsxs("div",{className:"relative overflow-hidden rounded-[1.75rem] px-7 py-16 sm:px-16 sm:py-20",style:{backgroundColor:"rgb(var(--color-secondary))",color:b},children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.09] mix-blend-overlay"}),e.jsxs("div",{className:l("relative flex flex-col items-start gap-10",n==="center"&&"items-center text-center","lg:flex-row lg:items-end lg:justify-between"),children:[e.jsxs("div",{className:l("max-w-3xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-balance text-4xl font-semibold leading-[1.02] tracking-[-0.03em] sm:text-6xl",children:t}),s?e.jsx("p",{className:l("mt-5 max-w-xl text-pretty text-base leading-7 sm:text-lg",n==="center"&&"mx-auto"),children:s}):null]}),e.jsxs("div",{className:l("flex flex-wrap items-center gap-4",n==="center"&&"justify-center"),children:[o,i]})]})]})})})});mr.displayName="CTA";const fr=({className:r,items:t,option:s="accordion",allowMultiple:o=!1,defaultOpen:i=[],eyebrow:a,title:n,description:c,...x})=>{const[m,g]=j.useState(()=>new Set(o?i:i.slice(0,1))),d=u=>{g(p=>{const h=new Set(p);return h.has(u)?h.delete(u):(o||h.clear(),h.add(u)),h})},b=u=>e.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-primary",children:u});if(s==="cards")return e.jsxs("div",{className:l("w-full",r),...x,children:[a?e.jsx("div",{className:"mb-10",children:b(String(a))}):null,e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:t.map((u,p)=>e.jsxs("div",{className:"flex flex-col rounded-xl border border-border bg-surface p-7",children:[e.jsxs("div",{className:"flex items-baseline gap-4",children:[e.jsx("span",{className:"font-display text-sm font-semibold tabular-nums text-foreground/35",children:String(p+1).padStart(2,"0")}),e.jsx("h3",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:u.question})]}),e.jsx("p",{className:"mt-4 border-t border-border pt-4 text-sm leading-6 text-muted-foreground",children:u.answer})]},u.question))})]});const f=e.jsx("div",{className:"divide-y divide-border rounded-2xl border border-border bg-surface",children:t.map((u,p)=>{const h=m.has(p);return e.jsxs("div",{children:[e.jsx("h3",{children:e.jsxs("button",{type:"button","aria-expanded":h,onClick:()=>d(p),className:"flex w-full cursor-pointer items-center justify-between gap-4 px-6 py-5 text-left text-[15px] font-medium text-foreground transition-colors duration-150 hover:bg-surface-strong/60 focus-visible:outline-none",children:[u.question,e.jsx(be,{className:l("h-4.5 w-4.5 shrink-0 text-foreground/45 transition-transform duration-200 sm:h-5 sm:w-5",h&&"rotate-45 text-primary")})]})}),h?e.jsx("p",{className:"px-6 pb-6 text-sm leading-7 text-muted-foreground",children:u.answer}):null]},u.question)})});return s==="split"?e.jsxs("div",{className:l("grid w-full gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:gap-20",r),...x,children:[e.jsxs("div",{className:"lg:sticky lg:top-24 lg:self-start",children:[a?b(String(a)):null,n?e.jsx("h2",{className:"mt-4 font-display text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:n}):null,c?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground",children:c}):null]}),e.jsx("div",{className:"divide-y divide-border",children:t.map((u,p)=>{const h=m.has(p);return e.jsxs("div",{children:[e.jsx("h3",{children:e.jsxs("button",{type:"button","aria-expanded":h,onClick:()=>d(p),className:"flex w-full cursor-pointer items-center justify-between gap-4 py-5 text-left text-base font-semibold text-foreground transition-colors duration-150 focus-visible:outline-none",children:[u.question,e.jsx(be,{className:l("h-4.5 w-4.5 shrink-0 text-foreground/45 transition-transform duration-200 sm:h-5 sm:w-5",h&&"rotate-45 text-primary")})]})}),h?e.jsx("p",{className:"pb-6 text-sm leading-7 text-muted-foreground",children:u.answer}):null]},u.question)})})]}):e.jsx("div",{className:l("mx-auto w-full max-w-3xl",r),...x,children:f})};fr.displayName="FAQ";const gr=({className:r,brand:t,logo:s,logoSrc:o,logoAlt:i,logoClassName:a,description:n,columns:c,socials:x,bottom:m,languageSwitcher:g,option:d="classic",badge:b,LinkComponent:f,...u})=>{const p=f??"a",h=(C="h-7 w-auto")=>s??(o?e.jsx("img",{src:o,alt:i??(typeof t=="string"?t:"Logo"),className:l(C,a)}):null),y=e.jsxs("span",{className:"flex items-center gap-2 font-display text-lg font-bold tracking-tight",children:[e.jsx("span",{"aria-hidden":!0,className:"inline-block h-2.5 w-2.5 rounded-sm bg-current"}),t]}),w=h()??y,P=h()??y,E=h("h-12 w-auto")??e.jsx("span",{className:"font-display text-5xl font-bold tracking-[-0.03em] text-foreground sm:text-7xl",children:t});return d==="minimal"?e.jsx("footer",{className:l("w-full border-t border-border bg-background",r),...u,children:e.jsxs($,{className:"flex flex-col items-center justify-between gap-6 py-10 sm:flex-row",children:[P,e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-3",children:c.flatMap(C=>C.links).slice(0,6).map(C=>e.jsx("li",{children:e.jsx(p,{href:C.href,className:"text-sm text-muted-foreground transition-colors duration-150 hover:text-foreground",children:C.label})},C.href))}),e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[g?e.jsx("div",{children:g}):null,e.jsx("div",{className:"text-sm text-muted-foreground",children:m})]})]})}):d==="editorial"?e.jsx("footer",{className:l("w-full border-t border-border bg-background",r),...u,children:e.jsxs($,{className:"py-16 sm:py-20",children:[e.jsxs("div",{className:"mb-14 flex flex-col justify-between gap-8 sm:flex-row sm:items-end",children:[e.jsxs("div",{children:[E,n?e.jsx("p",{className:"mt-3 max-w-sm text-sm leading-6 text-muted-foreground",children:n}):null]}),x?e.jsx("div",{className:"flex items-center gap-3",children:x}):null]}),e.jsx("div",{className:"grid grid-cols-2 gap-8 border-t border-border pt-12 md:grid-cols-4",children:c.map(C=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:C.title}),e.jsx("ul",{className:"mt-4 space-y-2.5",children:C.links.map(G=>e.jsx("li",{children:e.jsx(p,{href:G.href,className:"text-[15px] text-foreground/80 transition-colors duration-150 hover:text-foreground",children:G.label})},G.href))})]},C.title))}),e.jsxs("div",{className:"mt-12 flex flex-col items-center justify-between gap-4 border-t border-border pt-8 text-sm text-muted-foreground sm:flex-row",children:[e.jsx("span",{children:m}),g?e.jsx("div",{children:g}):null,e.jsxs("span",{children:["© ",new Date().getFullYear()," ",t,". All rights reserved."]})]})]})}):e.jsx("footer",{className:l("w-full bg-secondary text-on-secondary",r),...u,children:e.jsxs($,{className:"py-16",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-10 md:grid-cols-4 lg:grid-cols-6",children:[e.jsxs("div",{className:"col-span-2",children:[e.jsx("span",{style:{color:"rgb(var(--color-on-secondary))"},children:w}),n?e.jsx("p",{className:"mt-4 max-w-xs text-sm leading-6 text-on-secondary/60",children:n}):null,x?e.jsx("div",{className:"mt-6 flex items-center gap-3",children:x}):null,b?e.jsx("div",{className:"mt-6",children:b}):null]}),c.map(C=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-on-secondary/50",children:C.title}),e.jsx("ul",{className:"mt-4 space-y-2.5",children:C.links.map(G=>e.jsx("li",{children:e.jsx(p,{href:G.href,className:"text-sm text-on-secondary/70 transition-colors duration-150 hover:text-on-secondary",children:G.label})},G.href))})]},C.title))]}),e.jsxs("div",{className:"mt-14 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 text-sm text-on-secondary/50 sm:flex-row",children:[e.jsx("span",{children:m}),g?e.jsx("div",{children:g}):null,e.jsxs("span",{children:["© ",new Date().getFullYear()," ",t,". All rights reserved."]})]})]})})};gr.displayName="Footer";const Dt=new Set(`AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react");function De(r){var t,s,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(s=De(r[t]))&&(o&&(o+=" "),o+=s)}else for(s in r)r[s]&&(o&&(o+=" "),o+=s);return o}function vt(){for(var r,t,s=0,o="",l=arguments.length;s<l;s++)(r=arguments[s])&&(t=De(r))&&(o&&(o+=" "),o+=t);return o}const pe="-",Nt=r=>{const t=kt(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=r;return{getClassGroupId:a=>{const d=a.split(pe);return d[0]===""&&d.length!==1&&d.shift(),Ue(d,t)||wt(a)},getConflictingClassGroupIds:(a,d)=>{const c=s[a]||[];return d&&o[a]?[...c,...o[a]]:c}}},Ue=(r,t)=>{var a;if(r.length===0)return t.classGroupId;const s=r[0],o=t.nextPart.get(s),l=o?Ue(r.slice(1),o):void 0;if(l)return l;if(t.validators.length===0)return;const n=r.join(pe);return(a=t.validators.find(({validator:d})=>d(n)))==null?void 0:a.classGroupId},Fe=/^\[(.+)\]$/,wt=r=>{if(Fe.test(r)){const t=Fe.exec(r)[1],s=t==null?void 0:t.substring(0,t.indexOf(":"));if(s)return"arbitrary.."+s}},kt=r=>{const{theme:t,prefix:s}=r,o={nextPart:new Map,validators:[]};return Mt(Object.entries(r.classGroups),s).forEach(([n,a])=>{fe(a,o,n,t)}),o},fe=(r,t,s,o)=>{r.forEach(l=>{if(typeof l=="string"){const n=l===""?t:Ge(t,l);n.classGroupId=s;return}if(typeof l=="function"){if(Ct(l)){fe(l(o),t,s,o);return}t.validators.push({validator:l,classGroupId:s});return}Object.entries(l).forEach(([n,a])=>{fe(a,Ge(t,n),s,o)})})},Ge=(r,t)=>{let s=r;return t.split(pe).forEach(o=>{s.nextPart.has(o)||s.nextPart.set(o,{nextPart:new Map,validators:[]}),s=s.nextPart.get(o)}),s},Ct=r=>r.isThemeGetter,Mt=(r,t)=>t?r.map(([s,o])=>{const l=o.map(n=>typeof n=="string"?t+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,d])=>[t+a,d])):n);return[s,l]}):r,St=r=>{if(r<1)return{get:()=>{},set:()=>{}};let t=0,s=new Map,o=new Map;const l=(n,a)=>{s.set(n,a),t++,t>r&&(t=0,o=s,s=new Map)};return{get(n){let a=s.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return l(n,a),a},set(n,a){s.has(n)?s.set(n,a):l(n,a)}}},qe="!",Rt=r=>{const{separator:t,experimentalParseClassName:s}=r,o=t.length===1,l=t[0],n=t.length,a=d=>{const c=[];let u=0,x=0,f;for(let b=0;b<d.length;b++){let N=d[b];if(u===0){if(N===l&&(o||d.slice(b,b+n)===t)){c.push(d.slice(x,b)),x=b+n;continue}if(N==="/"){f=b;continue}}N==="["?u++:N==="]"&&u--}const p=c.length===0?d:d.substring(x),v=p.startsWith(qe),g=v?p.substring(1):p,y=f&&f>x?f-x:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:y}};return s?d=>s({className:d,parseClassName:a}):a},Lt=r=>{if(r.length<=1)return r;const t=[];let s=[];return r.forEach(o=>{o[0]==="["?(t.push(...s.sort(),o),s=[]):s.push(o)}),t.push(...s.sort()),t},Tt=r=>({cache:St(r.cacheSize),parseClassName:Rt(r),...Nt(r)}),Pt=/\s+/,At=(r,t)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l}=t,n=[],a=r.trim().split(Pt);let d="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:x,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:v}=s(u);let g=!!v,y=o(g?p.substring(0,v):p);if(!y){if(!g){d=u+(d.length>0?" "+d:d);continue}if(y=o(p),!y){d=u+(d.length>0?" "+d:d);continue}g=!1}const b=Lt(x).join(":"),N=f?b+qe:b,k=N+y;if(n.includes(k))continue;n.push(k);const A=l(y,g);for(let B=0;B<A.length;++B){const P=A[B];n.push(N+P)}d=u+(d.length>0?" "+d:d)}return d};function Bt(){let r=0,t,s,o="";for(;r<arguments.length;)(t=arguments[r++])&&(s=We(t))&&(o&&(o+=" "),o+=s);return o}const We=r=>{if(typeof r=="string")return r;let t,s="";for(let o=0;o<r.length;o++)r[o]&&(t=We(r[o]))&&(s&&(s+=" "),s+=t);return s};function Et(r,...t){let s,o,l,n=a;function a(c){const u=t.reduce((x,f)=>f(x),r());return s=Tt(u),o=s.cache.get,l=s.cache.set,n=d,d(c)}function d(c){const u=o(c);if(u)return u;const x=At(c,s);return l(c,x),x}return function(){return n(Bt.apply(null,arguments))}}const R=r=>{const t=s=>s[r]||[];return t.isThemeGetter=!0,t},Ke=/^\[(?:([a-z-]+):)?(.+)\]$/i,zt=/^\d+\/\d+$/,Ft=new Set(["px","full","screen"]),Gt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=r=>W(r)||Ft.has(r)||zt.test(r),I=r=>K(r,"length",Zt),W=r=>!!r&&!Number.isNaN(Number(r)),ue=r=>K(r,"number",W),Q=r=>!!r&&Number.isInteger(Number(r)),Ot=r=>r.endsWith("%")&&W(r.slice(0,-1)),j=r=>Ke.test(r),H=r=>Gt.test(r),Dt=new Set(["length","size","percentage"]),Ut=r=>K(r,Dt,Ye),qt=r=>K(r,"position",Ye),Wt=new Set(["image","url"]),Kt=r=>K(r,Wt,Jt),Yt=r=>K(r,"",_t),X=()=>!0,K=(r,t,s)=>{const o=Ke.exec(r);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):s(o[2]):!1},Zt=r=>It.test(r)&&!Ht.test(r),Ye=()=>!1,_t=r=>$t.test(r),Jt=r=>Vt.test(r),Qt=()=>{const r=R("colors"),t=R("spacing"),s=R("blur"),o=R("brightness"),l=R("borderColor"),n=R("borderRadius"),a=R("borderSpacing"),d=R("borderWidth"),c=R("contrast"),u=R("grayscale"),x=R("hueRotate"),f=R("invert"),p=R("gap"),v=R("gradientColorStops"),g=R("gradientColorStopPositions"),y=R("inset"),b=R("margin"),N=R("opacity"),k=R("padding"),A=R("saturate"),B=R("scale"),P=R("sepia"),U=R("skew"),Z=R("space"),T=R("translate"),_=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",j,t],C=()=>[j,t],re=()=>["",F,I],V=()=>["auto",W,j],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>["start","end","center","between","around","evenly","stretch"],S=()=>["","0",j],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[W,j];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[F,I],blur:["none","",H,j],brightness:L(),borderColor:[r],borderRadius:["none","","full",H,j],borderSpacing:C(),borderWidth:re(),contrast:L(),grayscale:S(),hueRotate:L(),invert:S(),gap:C(),gradientColorStops:[r],gradientColorStopPositions:[Ot,I],inset:q(),margin:q(),opacity:L(),padding:C(),saturate:L(),scale:L(),sepia:S(),skew:L(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),j]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Q,j]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",Q,j]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",Q,j]},j]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[Q,j]},j]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...h()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...h(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...h(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[Z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",H,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ue]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",W,ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,I]}],"underline-offset":[{"underline-offset":["auto",F,j]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),qt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ut]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Kt]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}],"divide-style":[{divide:O()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...O()]}],"outline-offset":[{"outline-offset":[F,j]}],"outline-w":[{outline:[F,I]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[F,I]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",H,Yt]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",H,j]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[f]}],saturate:[{saturate:[A]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[s]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[Q,j]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[F,I,ue]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Xt=Et(Qt);function i(...r){return Xt(vt(r))}function es(r){return typeof window>"u"?"":window.getComputedStyle(document.documentElement).getPropertyValue(r).trim()}function rs(r){let t=r;const s=t.match(/var\(--[\w-]+/g)??[];for(const o of s){const l=o.replace(/^var\(/,""),n=es(l);n&&(t=t.split(o).join(n))}return t}function ts(r){var c;let t=r.trim();if(/^#([0-9a-f]{3}){1,2}$/i.test(t))return t.length===4&&(t="#"+t.slice(1).split("").map(u=>u+u).join("")),{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)};const l=((c=rs(t).replace(/[()/;,]/g," ").match(/-?\d+(\.\d+)?/g))==null?void 0:c.map(Number))??[];if(l.length<3)return null;const[n,a,d]=l;return{r:Math.max(0,Math.min(255,Math.round(n))),g:Math.max(0,Math.min(255,Math.round(a))),b:Math.max(0,Math.min(255,Math.round(d)))}}function xe(r){const t=ts(r);if(!t)return 0;const s=[t.r,t.g,t.b].map(o=>o/255).map(o=>o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4));return .2126*s[0]+.7152*s[1]+.0722*s[2]}function Ie(r,t){const[s,o]=r>t?[r,t]:[t,r];return(s+.05)/(o+.05)}function E(r,t="#ffffff",s="#0f172a"){const o=xe(r),l=xe(t),n=xe(s);return Ie(o,l)>=Ie(o,n)?t:s}function ss(r,t){const s={...t};for(const o in t){const l=r[o],n=t[o];/^on[A-Z]/.test(o)?l&&n?s[o]=(...d)=>{n(...d),l(...d)}:l&&(s[o]=l):o==="style"?s[o]={...l,...n}:o==="className"&&(s[o]=i(l,n))}return{...r,...s}}function os(...r){return t=>{for(const s of r)typeof s=="function"?s(t):s!=null&&(s.current=t)}}const ge=m.forwardRef((r,t)=>{const{children:s,...o}=r;if(!m.isValidElement(s))return null;const l=m.Children.only(s),n=os(t,l.ref);return m.cloneElement(l,{...ss(o,l.props),ref:n})});ge.displayName="Slot";const ns={primary:"bg-primary text-on-primary hover:bg-primary-hover",dark:"bg-secondary text-on-secondary hover:bg-secondary-hover",outline:"border border-border bg-transparent text-foreground hover:border-foreground/30 hover:bg-surface",ghost:"text-foreground hover:bg-surface",link:"px-0 h-auto text-primary hover:text-primary-hover"},ls={sm:"h-9 px-4 text-[13px] gap-1.5",md:"h-11 px-5 text-sm gap-2",lg:"h-12 px-7 text-[15px] gap-2"},as="group inline-flex select-none items-center justify-center rounded-lg font-medium tracking-tight transition-[background-color,border-color,color,box-shadow] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 cursor-pointer",Ze=m.forwardRef(({className:r,variant:t="primary",size:s="md",iconLeft:o,iconRight:l,customColor:n,fullWidth:a,asChild:d,style:c,type:u="button",children:x,...f},p)=>{const v=n?{...c,backgroundColor:n,color:E(n)}:c,g=t==="link",y=i(as,ls[s],n?"hover:brightness-95":ns[t],g&&"underline-offset-4 hover:underline",a&&"w-full",r);return d?e.jsx(ge,{ref:p,style:v,className:y,...f,children:x}):e.jsxs("button",{ref:p,type:u,style:v,className:y,...f,children:[o?e.jsx("span",{className:i("shrink-0",!g&&"opacity-70"),children:o}):null,x,l?e.jsx("span",{className:i("shrink-0 transition-transform duration-200",!g&&"opacity-70 group-hover:translate-x-0.5"),children:l}):null]})});Ze.displayName="Button";const is="inline-flex items-center rounded-full font-medium tracking-tight transition-colors duration-200",ds={sm:"px-2.5 py-0.5 text-xs gap-1",md:"px-3 py-1 text-[13px] gap-1.5"},cs={solid:"bg-primary text-on-primary",soft:"bg-primary-soft text-primary",outline:"text-muted-foreground ring-1 ring-inset ring-border",dot:"text-foreground ring-1 ring-inset ring-border bg-surface"},he=m.forwardRef(({className:r,variant:t="soft",size:s="md",icon:o,customColor:l,style:n,children:a,...d},c)=>{const u=l?{...n,backgroundColor:l,color:E(l,"#111111","#ffffff")}:n;return e.jsxs("span",{ref:c,style:u,className:i(is,ds[s],l?void 0:cs[t],r),...d,children:[t==="dot"?e.jsx("span",{"aria-hidden":!0,className:i("h-1.5 w-1.5 shrink-0 rounded-full",l?"currentColor":"bg-primary"),style:l?{backgroundColor:l}:void 0}):null,o?e.jsx("span",{className:"shrink-0 opacity-70",children:o}):null,a]})});he.displayName="Badge";const us={outlined:"border border-border bg-surface",elevated:"border border-border bg-surface shadow-soft",inset:"bg-surface-strong"},_e=m.forwardRef(({className:r,variant:t="outlined",interactive:s=!1,...o},l)=>e.jsx("div",{ref:l,className:i("rounded-xl transition-[border-color,box-shadow,transform] duration-200",us[t],s&&"cursor-pointer hover:-translate-y-0.5 hover:border-foreground/20 hover:shadow-raised","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",r),...o}));_e.displayName="Card";const Je=m.forwardRef(({className:r,icon:t,children:s,...o},l)=>e.jsxs("div",{ref:l,className:i("flex flex-col gap-2 p-6 pb-0",r),...o,children:[t?e.jsx("div",{className:"mb-1.5",children:t}):null,s]}));Je.displayName="CardHeader";const Qe=m.forwardRef(({className:r,...t},s)=>e.jsx("h3",{ref:s,className:i("font-display text-lg font-semibold tracking-tight text-foreground",r),...t}));Qe.displayName="CardTitle";const Xe=m.forwardRef(({className:r,...t},s)=>e.jsx("p",{ref:s,className:i("text-sm leading-6 text-muted-foreground",r),...t}));Xe.displayName="CardDescription";const er=m.forwardRef(({className:r,...t},s)=>e.jsx("div",{ref:s,className:i("p-6 pt-5",r),...t}));er.displayName="CardContent";const rr=m.forwardRef(({className:r,...t},s)=>e.jsx("div",{ref:s,className:i("flex items-center gap-3 border-t border-border/70 p-6 pt-5",r),...t}));rr.displayName="CardFooter";const xs={sm:"max-w-xl",md:"max-w-3xl",lg:"max-w-5xl",xl:"max-w-6xl"},z=m.forwardRef(({className:r,as:t,size:s="xl",gutters:o=!0,...l},n)=>{const a=t??"div";return e.jsx(a,{ref:n,className:i("mx-auto w-full",s!=="full"&&xs[s],o&&"px-5 sm:px-8",r),...l})});z.displayName="Container";const ms={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12",16:"gap-16",20:"gap-20"},tr=m.forwardRef(({className:r,gap:t=4,horizontal:s=!1,...o},l)=>e.jsx("div",{ref:l,className:i("flex",s?"flex-row flex-wrap items-center":"flex-col",ms[t],r),...o}));tr.displayName="Stack";const me="inline-flex items-center gap-2 text-xs font-semibold tracking-[0.18em] uppercase",fs={caps:i(me,"text-foreground/50"),soft:i(me,"rounded-full px-3 py-1 text-primary tracking-widest bg-primary-soft uppercase"),plain:i(me,"text-primary")},be=m.forwardRef(({className:r,eyebrow:t,eyebrowStyle:s="caps",title:o,description:l,align:n="center",children:a,...d},c)=>e.jsxs("div",{ref:c,className:i("mb-14 max-w-2xl",n==="center"&&"mx-auto text-center",r),...d,children:[t?e.jsx("p",{className:fs[s],children:t}):null,o?e.jsx("h2",{className:"mt-5 font-display text-balance text-[1.9rem] font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:o}):null,l?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground sm:text-lg",children:l}):null,a]}));be.displayName="SectionHeader";const ps={sm:"py-14",md:"py-20 sm:py-24",lg:"py-24 sm:py-32"},sr=m.forwardRef(({className:r,containerClassName:t,size:s="md",eyebrow:o,eyebrowStyle:l,title:n,description:a,align:d="center",children:c,id:u,...x},f)=>e.jsx("section",{ref:f,id:u,className:i("w-full",ps[s],r),...x,children:e.jsxs(z,{className:t,children:[o||n||a?e.jsx(be,{eyebrow:o,eyebrowStyle:l,title:n,description:a,align:d}):null,c]})}));sr.displayName="Section";const je="relative mx-auto flex w-full max-w-6xl flex-col items-center px-5 sm:px-8",or="font-display font-semibold tracking-[-0.03em] text-balance text-foreground";function nr({eyebrow:r}){return typeof r=="string"?e.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:r}):r?e.jsx("div",{children:r}):null}function ye({primaryAction:r,secondaryAction:t}){return!r&&!t?null:e.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[r,t]})}const lr=m.forwardRef(({className:r,eyebrow:t,title:s,description:o,primaryAction:l,secondaryAction:n,media:a,meta:d,id:c,...u},x)=>e.jsx("section",{ref:x,id:c,className:i("relative w-full border-b border-border bg-background",r),...u,children:e.jsxs("div",{className:i(je,"items-start gap-14 pt-20 pb-20 sm:pt-28 sm:pb-28 lg:grid lg:grid-cols-[1.05fr_0.95fr] lg:gap-20"),children:[e.jsxs("div",{className:"max-w-xl",children:[e.jsx(nr,{eyebrow:t}),e.jsx("h1",{className:i(or,"mt-6 text-5xl leading-[1.03] sm:text-6xl lg:text-7xl"),children:s}),o?e.jsx("p",{className:"mt-7 max-w-md text-pretty leading-relaxed text-muted-foreground sm:text-lg",children:o}):null,l||n?e.jsx("div",{className:"mt-10",children:e.jsx(ye,{primaryAction:l,secondaryAction:n})}):null,d?e.jsx("ul",{className:"mt-14 flex flex-wrap items-center gap-x-8 gap-y-3 border-t border-border pt-6",children:d.map(f=>e.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[f.icon?e.jsx("span",{className:"text-foreground/35",children:f.icon}):null,f.label]},f.label))}):null]}),a?e.jsx("div",{className:"w-full self-center",children:a}):null]})}));lr.displayName="HeroSplit";const ar=m.forwardRef(({className:r,eyebrow:t,title:s,description:o,primaryAction:l,secondaryAction:n,media:a,meta:d,id:c,...u},x)=>e.jsx("section",{ref:x,id:c,className:i("relative w-full border-b border-border bg-background",r),...u,children:e.jsxs("div",{className:i(je,"pt-24 pb-20 text-center sm:pt-32 sm:pb-24"),children:[e.jsx(nr,{eyebrow:t}),e.jsx("h1",{className:i(or,"mt-7 max-w-4xl text-5xl leading-[1.04] sm:text-6xl lg:text-7xl"),children:s}),o?e.jsx("p",{className:"mx-auto mt-7 max-w-xl text-pretty leading-relaxed text-muted-foreground sm:text-lg",children:o}):null,l||n?e.jsx("div",{className:"mt-10 justify-center",children:e.jsx(ye,{primaryAction:l,secondaryAction:n})}):null,d?e.jsx("ul",{className:"mt-14 flex flex-wrap items-center justify-center gap-x-9 gap-y-3",children:d.map((f,p)=>e.jsxs("li",{className:i("flex items-center gap-2 text-sm text-muted-foreground",p>0&&"sm:border-l sm:border-border sm:pl-9"),children:[f.icon?e.jsx("span",{className:"text-foreground/35",children:f.icon}):null,f.label]},f.label))}):null,a?e.jsx("div",{className:"mt-16 w-full",children:a}):null]})}));ar.displayName="HeroCentered";function He(r){return typeof window>"u"?"":window.getComputedStyle(document.documentElement).getPropertyValue(r).trim()}function ee(r,t="#ffffff"){const[s,o]=m.useState(()=>{const l=He(r);return l?E(l):t});return m.useEffect(()=>{const l=()=>{const a=He(r);o(a?E(a):t)};l();const n=new MutationObserver(l);return n.observe(document.documentElement,{attributes:!0,attributeFilter:["style","class"]}),()=>n.disconnect()},[r,t]),s}const ir=m.forwardRef(({className:r,title:t,description:s,primaryAction:o,secondaryAction:l,media:n,meta:a,id:d,...c},u)=>{const x=ee("--color-secondary");return e.jsxs("section",{ref:u,id:d,className:i("relative w-full overflow-hidden bg-secondary",r),style:{color:x},...c,children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay"}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-px bg-white/10"}),e.jsxs("div",{className:i(je,"pt-28 pb-24 text-center sm:pt-36 sm:pb-32"),children:[e.jsx("h1",{className:"max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl",style:{color:x},children:t}),s?e.jsx("p",{className:"mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg",style:{color:x,opacity:.72},children:s}):null,o||l?e.jsx("div",{className:"mt-11 justify-center",children:e.jsx(ye,{primaryAction:o,secondaryAction:l})}):null,a?e.jsx("ul",{className:"mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3",children:a.map(f=>e.jsxs("li",{className:"flex items-center gap-2 text-sm font-medium",style:{color:x,opacity:.72},children:[f.icon?e.jsx("span",{children:f.icon}):null,f.label]},f.label))}):null]})]})});ir.displayName="HeroStatement";const dr=m.forwardRef(({variant:r="split",...t},s)=>r==="centered"?e.jsx(ar,{ref:s,...t}):r==="statement"?e.jsx(ir,{ref:s,...t}):e.jsx(lr,{ref:s,...t}));dr.displayName="Hero";const w={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0},D=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M5 12h14"}),e.jsx("path",{d:"m13 6 6 6-6 6"})]}),cr=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M7 17 17 7"}),e.jsx("path",{d:"M8 7h9v9"})]}),ur=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 5v14"}),e.jsx("path",{d:"m6 13 6 6 6-6"})]}),xr=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 19V5"}),e.jsx("path",{d:"m6 11 6-6 6 6"})]}),Y=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"M20 6 9 17l-5-5"})}),mr=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 5v14"}),e.jsx("path",{d:"M5 12h14"})]}),ae=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M18 6 6 18"}),e.jsx("path",{d:"m6 6 12 12"})]}),ve=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M4 7h16"}),e.jsx("path",{d:"M4 12h16"}),e.jsx("path",{d:"M4 17h16"})]}),ne=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"m6 9 6 6 6-6"})}),fr=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"m9 6 6 6-6 6"})}),pr=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"m15 6-6 6 6 6"})}),gs=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"M13 2 3 14h7l-1 8 10-12h-7l1-8z"})}),hs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 3 5 6v5c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6l-7-3z"}),e.jsx("path",{d:"m9 12 2 2 4-4"})]}),bs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"m12 2 9 5-9 5-9-5 9-5z"}),e.jsx("path",{d:"m3 12 9 5 9-5"}),e.jsx("path",{d:"m3 17 9 5 9-5"})]}),js=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2.5"}),e.jsx("path",{d:"M12 18h.01"})]}),ys=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16z"}),e.jsx("path",{d:"m12 14 4-4"}),e.jsx("path",{d:"M12 10.5 9 13.5"})]}),vs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M3 20h18"}),e.jsx("path",{d:"M7 20V8"}),e.jsx("path",{d:"M12 20V4"}),e.jsx("path",{d:"M17 20v-7"})]}),Ns=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"9",cy:"7",r:"4"}),e.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),e.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}),gr=r=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,...r,children:e.jsx("path",{d:"M12 2.5c.33 0 .63.19.77.5l1.98 4.01 4.42.64c.62.09.87.85.42 1.29l-3.2 3.12.76 4.4c.11.62-.55 1.1-1.1.8L12 15.13l-3.95 2.08c-.56.29-1.21-.18-1.1-.8l.76-4.4-3.2-3.12a.78.78 0 0 1 .42-1.29l4.42-.64L11.23 3c.14-.31.44-.5.77-.5z"})}),Ne=r=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,...r,children:e.jsx("path",{d:"M10.5 5C7 5 4.5 7.5 4.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C13 6.1 11.9 5 10.5 5zm9 0C16 5 13.5 7.5 13.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C22 6.1 20.9 5 19.5 5z"})}),we=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("circle",{cx:"12",cy:"12",r:"9"}),e.jsx("path",{d:"M3 12h18"}),e.jsx("path",{d:"M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z"})]}),hr=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("rect",{width:"18",height:"14",x:"3",y:"5",rx:"2"}),e.jsx("path",{d:"m3 7 9 6 9-6"})]}),ws=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2"}),e.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),ks=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("circle",{cx:"12",cy:"12",r:"9"}),e.jsx("path",{d:"M12 7v5l3 2"})]}),Cs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 2v20"}),e.jsx("path",{d:"M17 5.5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),Ms=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"m16 18 6-6-6-6"}),e.jsx("path",{d:"m8 6-6 6 6 6"})]}),Ss=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"m5 17 5-5-5-5"}),e.jsx("path",{d:"M13 19h6"})]}),Rs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"m3 11 18-8-7 18-3-7-8-3z"}),e.jsx("path",{d:"M11 14 21 3"})]}),Ls=r=>e.jsx("svg",{...w,...r,children:e.jsx("path",{d:"m8 5 11 7-11 7V5z"})}),Ts=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M15 3h6v6"}),e.jsx("path",{d:"M10 14 21 3"}),e.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]}),Ps=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M4 6h10"}),e.jsx("path",{d:"M18 6h2"}),e.jsx("circle",{cx:"16",cy:"6",r:"2"}),e.jsx("path",{d:"M4 12h2"}),e.jsx("path",{d:"M10 12h10"}),e.jsx("circle",{cx:"8",cy:"12",r:"2"}),e.jsx("path",{d:"M4 18h10"}),e.jsx("path",{d:"M18 18h2"}),e.jsx("circle",{cx:"16",cy:"18",r:"2"})]}),As=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("ellipse",{cx:"12",cy:"5",rx:"8",ry:"3"}),e.jsx("path",{d:"M4 5v7c0 1.66 3.58 3 8 3s8-1.34 8-3V5"}),e.jsx("path",{d:"M4 12v7c0 1.66 3.58 3 8 3s8-1.34 8-3v-7"})]}),Bs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M21 8 12 3 3 8v8l9 5 9-5V8z"}),e.jsx("path",{d:"m3 8 9 5 9-5"}),e.jsx("path",{d:"M12 13v8"})]}),Es=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("rect",{width:"16",height:"16",x:"4",y:"4",rx:"2"}),e.jsx("rect",{width:"8",height:"8",x:"8",y:"8",rx:"1"}),e.jsx("path",{d:"M9 2v2M15 2v2M9 20v2M15 20v2M2 9h2M2 15h2M20 9h2M20 15h2"})]}),zs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M12 3a9 9 0 1 0 0 18c1.66 0 2-1.34 2-2 0-.66-.27-1.16-.58-1.66-.3-.48-.42-.84-.42-1.34 0-.83.67-1.5 1.5-1.5h3.2A4.3 4.3 0 0 0 21 10 9 9 0 0 0 12 3z"}),e.jsx("circle",{cx:"7.5",cy:"10.5",r:"0.8",fill:"currentColor",stroke:"none"}),e.jsx("circle",{cx:"12",cy:"7.5",r:"0.8",fill:"currentColor",stroke:"none"}),e.jsx("circle",{cx:"16.5",cy:"10.5",r:"0.8",fill:"currentColor",stroke:"none"})]}),Fs=r=>e.jsxs("svg",{...w,...r,children:[e.jsx("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),e.jsx("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),e.jsx("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),e.jsx("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"}),e.jsx("circle",{cx:"15.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"})]}),$e="text-on-secondary",se="text-foreground",Gs={classic:{shell:"border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",bar:"mx-auto max-w-6xl px-5 sm:px-8",header:"px-0",link:"text-muted-foreground hover:text-foreground",mobilePanel:"border-t border-border bg-background",mobileLink:"text-muted-foreground hover:bg-surface hover:text-foreground",menuButton:`${se} hover:bg-surface`,brandText:se,brandDot:"bg-foreground",desktopList:"hidden items-center gap-7 md:flex"},floating:{shell:"px-0",bar:"mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",header:"px-3 sm:px-6",link:"text-muted-foreground hover:text-foreground",mobilePanel:"mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface",mobileLink:"text-muted-foreground hover:bg-surface hover:text-foreground",menuButton:`${se} hover:bg-surface`,brandText:se,brandDot:"bg-foreground",desktopList:"hidden items-center gap-7 md:flex"},inverse:{shell:"border-b border-white/10 bg-[#101010]/85 backdrop-blur-md",bar:"mx-auto max-w-6xl px-5 sm:px-8",header:"px-0",link:"text-on-secondary/60 hover:text-on-secondary",mobilePanel:"border-t border-white/10 bg-[#101010]",mobileLink:"text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary",menuButton:`${$e} hover:bg-white/10`,brandText:$e,brandDot:"bg-on-secondary",desktopList:"hidden items-center gap-7 md:flex"}},br=({className:r,variant:t="classic",brand:s,logo:o,logoSrc:l,logoAlt:n,logoClassName:a,brandHref:d="#",links:c,actions:u,cta:x,languageSwitcher:f,sticky:p=!0,LinkComponent:v,...g})=>{const[y,b]=m.useState(!1),N=v??"a",k=Gs[t],A=o??(l?e.jsx("img",{src:l,alt:n??(typeof s=="string"?s:"Logo"),className:i("h-7 w-auto",a)}):null),B=A?e.jsx("span",{className:"flex items-center",children:A}):e.jsxs("span",{className:i("flex items-center gap-2 font-display text-[17px] font-bold tracking-tight",k.brandText),children:[e.jsx("span",{"aria-hidden":!0,className:i("inline-block h-2.5 w-2.5 rounded-sm",k.brandDot)}),s]});return e.jsxs("header",{className:i("w-full transition-colors duration-200",p&&"sticky top-0 z-50",k.shell,k.header,r),...g,children:[e.jsxs("nav",{className:i("flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",k.bar),"aria-label":"Main navigation",children:[e.jsx(N,{href:d,className:"shrink-0",children:B}),e.jsx("ul",{className:k.desktopList,children:c.map(P=>e.jsx("li",{children:e.jsx(N,{href:P.href,className:i("text-sm font-medium transition-colors duration-150",k.link),children:P.label})},P.href))}),e.jsxs("div",{className:"hidden items-center gap-3 md:flex",children:[f,u,x]}),f?e.jsx("div",{className:"flex items-center md:hidden",children:f}):null,e.jsx("button",{type:"button","aria-label":y?"Close menu":"Open menu","aria-expanded":y,onClick:()=>b(P=>!P),className:i("inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md md:hidden","transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",k.menuButton),children:y?e.jsx(ae,{className:"h-5 w-5"}):e.jsx(ve,{className:"h-5 w-5"})})]}),e.jsx("div",{className:i("grid transition-[grid-template-rows,opacity] duration-200 md:hidden",y?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",k.mobilePanel),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("ul",{className:i("flex flex-col py-4",t!=="floating"&&"px-5"),children:[c.map(P=>e.jsx("li",{children:e.jsx(N,{href:P.href,onClick:()=>b(!1),className:i("block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",k.mobileLink),children:P.label})},P.href)),x?e.jsx("li",{className:"mt-3 px-2 pb-2",children:x}):u?e.jsx("li",{className:"mt-3 flex flex-wrap gap-3 px-2 pb-2",children:u}):null]})})})]})};br.displayName="Navbar";const Ve="text-on-secondary",oe="text-foreground",Is={classic:{shell:"border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",bar:"mx-auto max-w-6xl px-5 sm:px-8",header:"px-0",trigger:"text-muted-foreground hover:text-foreground hover:bg-surface",triggerOpen:"bg-surface text-foreground",badge:"bg-primary-soft text-primary",panel:"border-border bg-surface shadow-raised",columnTitle:"text-muted-foreground/70",columnLink:"hover:bg-surface-strong",linkDescription:"text-muted-foreground",mobilePanel:"border-t border-border bg-background",mobileButton:`${oe} hover:bg-surface`,mobileLink:"text-muted-foreground hover:bg-surface hover:text-foreground",brandText:oe,brandDot:"bg-foreground"},floating:{shell:"px-0",bar:"mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",header:"px-3 sm:px-6",trigger:"text-muted-foreground hover:text-foreground hover:bg-surface",triggerOpen:"bg-surface text-foreground",badge:"bg-primary-soft text-primary",panel:"border-border bg-surface shadow-raised",columnTitle:"text-muted-foreground/70",columnLink:"hover:bg-surface-strong",linkDescription:"text-muted-foreground",mobilePanel:"mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface",mobileButton:`${oe} hover:bg-surface`,mobileLink:"text-muted-foreground hover:bg-surface hover:text-foreground",brandText:oe,brandDot:"bg-foreground"},inverse:{shell:"border-b border-white/10 bg-[#101010]/85 backdrop-blur-md",bar:"mx-auto max-w-6xl px-5 sm:px-8",header:"px-0",trigger:"text-on-secondary/60 hover:text-on-secondary hover:bg-white/10",triggerOpen:"bg-white/10 text-on-secondary",badge:"bg-white/15 text-on-secondary",panel:"border-white/10 bg-[#161616]",columnTitle:"text-on-secondary/45",columnLink:"hover:bg-white/10",linkDescription:"text-on-secondary/50",mobilePanel:"border-t border-white/10 bg-[#101010]",mobileButton:`${Ve} hover:bg-white/10`,mobileLink:"text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary",brandText:Ve,brandDot:"bg-on-secondary"}},jr=({className:r,variant:t="classic",brand:s,logo:o,logoSrc:l,logoAlt:n,logoClassName:a,brandHref:d="#",items:c,actions:u,cta:x,languageSwitcher:f,sticky:p=!0,LinkComponent:v,onKeyDown:g,...y})=>{const b=m.useId(),N=v??"a",[k,A]=m.useState(null),[B,P]=m.useState(!1),[U,Z]=m.useState(null),T=Is[t],_=()=>A(null),$=()=>{A(null),P(!1),Z(null)},q=h=>`${b}-panel-${h}`,C=o??(l?e.jsx("img",{src:l,alt:n??(typeof s=="string"?s:"Logo"),className:i("h-7 w-auto",a)}):null),re=C?e.jsx("span",{className:"flex items-center",children:C}):e.jsxs("span",{className:i("flex items-center gap-2 font-display text-[17px] font-bold tracking-tight",T.brandText),children:[e.jsx("span",{"aria-hidden":!0,className:i("inline-block h-2.5 w-2.5 rounded-sm",T.brandDot)}),s]}),V=i("flex items-center gap-1.5 rounded-md px-3 py-2 text-sm font-medium transition-colors duration-150",T.trigger),J=h=>{var S;return e.jsx("div",{className:i("grid gap-x-10 gap-y-8 sm:grid-cols-2",h.featured?"":"lg:grid-cols-3"),children:(S=h.columns)==null?void 0:S.map((M,L)=>e.jsxs("div",{children:[M.title?e.jsx("h4",{className:i("text-xs font-semibold uppercase tracking-[0.14em]",T.columnTitle),children:M.title}):null,e.jsx("ul",{className:i(M.title&&"mt-3","space-y-0.5"),children:M.links.map(G=>e.jsx("li",{children:e.jsxs(N,{href:G.href,onClick:$,className:i("-mx-2 block rounded-md px-2 py-2 transition-colors duration-150",T.columnLink),children:[e.jsx("span",{className:"block text-sm font-medium text-foreground",children:G.label}),G.description?e.jsx("span",{className:i("mt-0.5 block text-[13px] leading-snug",T.linkDescription),children:G.description}):null]})},G.href))})]},M.title??L))})},O=(h,S=!1)=>{const M=h.featured;if(!M)return null;const L=M.accent?{backgroundColor:M.accent,color:E(M.accent)}:void 0;return e.jsxs(N,{href:M.href,onClick:$,className:i("group relative block overflow-hidden rounded-lg p-6 transition-transform duration-150 hover:-translate-y-0.5",S&&"mt-8",!M.accent&&"bg-primary text-on-primary"),style:L,children:[e.jsxs("div",{className:"flex h-full flex-col justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-display text-base font-semibold tracking-tight",children:M.title}),M.description?e.jsx("p",{className:"mt-1.5 text-[13px] leading-relaxed opacity-80",children:M.description}):null]}),M.cta?e.jsxs("span",{className:"text-sm font-semibold underline decoration-1 underline-offset-4",children:[M.cta," →"]}):null]}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-8 -top-8 h-28 w-28 rounded-full opacity-20 blur-2xl bg-black/40"})]})},te=h=>{h.key==="Escape"&&$(),g==null||g(h)};return e.jsxs("header",{className:i("relative w-full transition-colors duration-200",p&&"sticky top-0 z-50",T.shell,T.header,r),onKeyDown:te,...y,children:[e.jsxs("nav",{className:i("relative flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",T.bar),onMouseLeave:_,"aria-label":"Mega menu",children:[e.jsx(N,{href:d,className:"shrink-0",children:re}),e.jsx("ul",{className:"hidden items-center gap-1 lg:flex",children:c.map((h,S)=>{var G;const M=!!((G=h.columns)!=null&&G.length||h.featured),L=k===S;return e.jsx("li",{className:"relative",children:M?e.jsxs("button",{type:"button","aria-haspopup":"true","aria-expanded":L,"aria-controls":q(S),onClick:()=>A(L?null:S),onMouseEnter:()=>A(S),className:i(V,L&&T.triggerOpen),children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[h.label,h.badge?e.jsx("span",{className:i("rounded-full px-1.5 py-0.5 text-[10px] font-semibold tracking-wide",T.badge),children:h.badge}):null]}),e.jsx(ne,{className:i("h-4 w-4 shrink-0 transition-transform duration-150",L&&"rotate-180")})]}):e.jsxs(N,{href:h.href??"#",className:V,children:[h.label,h.badge?e.jsx("span",{className:i("rounded-full px-1.5 py-0.5 text-[10px] font-semibold tracking-wide",T.badge),children:h.badge}):null]})},h.label)})}),e.jsxs("div",{className:"hidden items-center gap-3 lg:flex",children:[f,u,x]}),f?e.jsx("div",{className:"flex items-center lg:hidden",children:f}):null,e.jsx("button",{type:"button","aria-label":B?"Close menu":"Open menu","aria-expanded":B,onClick:()=>P(h=>!h),className:i("inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md lg:hidden","transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",T.mobileButton),children:B?e.jsx(ae,{className:"h-5 w-5"}):e.jsx(ve,{className:"h-5 w-5"})})]}),c.map((h,S)=>{var L;if(!((L=h.columns)!=null&&L.length)&&!h.featured)return null;const M=k===S;return e.jsx("div",{id:q(S),role:"region","aria-label":`${h.label} menu`,onMouseEnter:()=>A(S),className:i("absolute top-full z-50 pt-2 transition-all duration-150",t==="floating"?"inset-x-0 mx-auto w-full max-w-5xl":"inset-x-0",M?"visible translate-y-0 opacity-100":"pointer-events-none invisible -translate-y-1 opacity-0"),children:e.jsxs("div",{className:i("overflow-hidden rounded-xl border p-6 md:p-8",T.panel,h.featured?"lg:grid lg:grid-cols-[minmax(0,1fr)_auto] lg:gap-12":""),children:[J(h),h.featured&&e.jsx("div",{className:i("mt-8 max-w-sm lg:mt-0 lg:w-64"),children:O(h)})]})},h.label)}),e.jsx("div",{className:i("grid transition-[grid-template-rows,opacity] duration-200 lg:hidden",B?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",T.mobilePanel),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("ul",{className:"flex flex-col py-4",children:[c.map((h,S)=>{var M;return(M=h.columns)!=null&&M.length||h.featured?e.jsxs("li",{className:"px-5",children:[e.jsxs("button",{type:"button","aria-expanded":U===S,onClick:()=>Z(L=>L===S?null:S),className:i("flex w-full items-center justify-between rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",T.mobileButton),children:[e.jsxs("span",{className:"flex items-center gap-2",children:[h.label,h.badge?e.jsx("span",{className:i("rounded-full px-1.5 py-0.5 text-[10px] font-semibold tracking-wide",T.badge),children:h.badge}):null]}),e.jsx(ne,{className:i("h-4 w-4 shrink-0 transition-transform duration-150",U===S&&"rotate-180")})]}),e.jsx("div",{className:i("grid transition-[grid-template-rows,opacity] duration-200",U===S?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:e.jsx("div",{className:"min-h-0 overflow-hidden",children:e.jsxs("div",{className:"py-2 pl-1",children:[J(h),h.featured?e.jsx("div",{className:"max-w-sm",children:O(h,!0)}):null]})})})]},h.label):e.jsx("li",{className:"px-5",children:e.jsx(N,{href:h.href??"#",onClick:()=>P(!1),className:i("block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",T.mobileLink),children:h.label})},h.label)}),x?e.jsx("li",{className:"px-8 pb-2 pt-3",children:x}):u?e.jsx("li",{className:"mt-3 flex flex-wrap gap-3 px-8 pb-2",children:u}):null]})})})]})};jr.displayName="MegaMenu";const Hs=({name:r})=>e.jsx("span",{className:"text-lg font-semibold tracking-tight text-foreground/45 transition-colors duration-200 group-hover:text-foreground",children:r}),ke=({logo:r})=>r.src?e.jsx("img",{src:r.src,alt:r.name,loading:"lazy",className:i("max-h-7 w-auto opacity-50 grayscale transition-all duration-200 group-hover:opacity-90 group-hover:grayscale-0","h-7")}):e.jsx(Hs,{name:r.name});function Ce({title:r,className:t}){return r?e.jsx("p",{className:i("mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",t),children:r}):null}const yr=m.forwardRef(({className:r,logos:t,title:s,...o},l)=>e.jsxs("div",{ref:l,className:i("w-full",r),...o,children:[e.jsx(Ce,{title:s}),e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-12 gap-y-6",children:t.map(n=>e.jsx("li",{className:"group",children:e.jsx(ke,{logo:n})},n.name))})]}));yr.displayName="LogoCloudQuiet";const vr=m.forwardRef(({className:r,logos:t,title:s,...o},l)=>{const n=[...t,...t];return e.jsxs("div",{ref:l,className:i("w-full overflow-hidden",r),...o,children:[e.jsx(Ce,{title:s}),e.jsx("div",{className:"mask-fade-x",children:e.jsx("div",{className:"flex w-max animate-marquee gap-14 pr-14 motion-reduce:animate-none",children:n.map((a,d)=>e.jsx("div",{className:"group shrink-0",children:e.jsx(ke,{logo:a})},`${a.name}-${d}`))})})]})});vr.displayName="LogoCloudMarquee";const Nr=m.forwardRef(({className:r,logos:t,title:s,...o},l)=>e.jsxs("div",{ref:l,className:i("w-full",r),...o,children:[e.jsx(Ce,{title:s}),e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-10 gap-y-4 rounded-2xl border border-border bg-surface px-6 py-7 sm:gap-x-14",children:t.map(n=>e.jsx("li",{className:"group",children:e.jsx(ke,{logo:n})},n.name))})]}));Nr.displayName="LogoCloudStrip";const wr=m.forwardRef(({option:r="quiet",...t},s)=>r==="marquee"?e.jsx(vr,{ref:s,...t}):r==="strip"?e.jsx(Nr,{ref:s,...t}):e.jsx(yr,{ref:s,...t}));wr.displayName="LogoCloud";const ie=m.forwardRef(({className:r,icon:t,title:s,description:o,accent:l,large:n=!1,...a},d)=>{const c=l?{backgroundColor:l,color:E(l,"#111111","#ffffff")}:void 0;return e.jsxs("div",{ref:d,className:i("group relative flex h-full flex-col rounded-xl border border-border bg-surface p-7 transition-colors duration-200 hover:border-foreground/15",r),...a,children:[t?e.jsx("div",{className:i("mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]",!l&&"bg-primary-soft text-primary"),style:c,children:t}):null,e.jsx("h3",{className:i("font-display font-semibold tracking-tight text-foreground",n?"text-2xl":"text-lg"),children:s}),o?e.jsx("p",{className:i("mt-2.5 text-pretty leading-relaxed text-muted-foreground",n?"text-[15px]":"text-sm"),children:o}):null]})});ie.displayName="FeatureCard";const $s={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"},Oe=["sm:col-span-2 lg:row-span-2","","","lg:col-span-2","","lg:col-span-2"],kr=m.forwardRef(({className:r,features:t,columns:s,...o},l)=>e.jsx("div",{ref:l,className:i("grid w-full grid-cols-1 gap-4",$s[s],r),...o,children:t.map((n,a)=>e.jsx(ie,{...n,className:"h-full"},a))}));kr.displayName="FeatureColumns";const Cr=m.forwardRef(({className:r,features:t,...s},o)=>e.jsx("div",{ref:o,className:i("grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4 lg:auto-rows-[minmax(9rem,auto)]","w-full",r),...s,children:t.map((l,n)=>l?e.jsx("div",{className:i(n<Oe.length&&Oe[n]),children:e.jsx(ie,{...l,large:n===0,className:"h-full"})},n):null)}));Cr.displayName="FeatureBento";const Mr=m.forwardRef(({className:r,features:t,...s},o)=>e.jsx("div",{ref:o,className:i("w-full",r),...s,children:e.jsx("div",{className:"divide-y divide-border border-t border-b border-border",children:t.map((l,n)=>e.jsxs("div",{className:"group flex flex-col gap-3 py-6 transition-colors duration-200 sm:flex-row sm:items-baseline sm:gap-10",children:[e.jsx("span",{className:"text-sm font-medium tabular-nums text-muted-foreground/60 sm:w-12",children:String(n+1).padStart(2,"0")}),e.jsxs("div",{className:"flex-1 sm:flex sm:items-baseline sm:justify-between sm:gap-10",children:[e.jsx("h3",{className:"font-display text-xl font-semibold tracking-tight text-foreground sm:w-2/5",children:l.title}),e.jsx("p",{className:"mt-1.5 text-sm leading-7 text-muted-foreground sm:mt-0 sm:w-1/2",children:l.description})]}),l.icon?e.jsx("span",{className:"hidden text-foreground/30 sm:inline-flex",children:l.icon}):null]},n))})}));Mr.displayName="FeatureEditorialRows";const Sr=m.forwardRef(({option:r="columns",columns:t=3,...s},o)=>r==="editorialRows"?e.jsx(Mr,{ref:o,...s}):r==="bento"?e.jsx(Cr,{ref:o,...s}):e.jsx(kr,{ref:o,columns:t,...s}));Sr.displayName="FeatureGrid";const de="font-display font-semibold tabular-nums tracking-[-0.02em] text-foreground",ce="ml-1 font-sans text-sm font-normal tracking-normal text-muted-foreground",Me={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"};function Rr({delta:r}){const t=r>=0,s=t?xr:ur;return e.jsxs("span",{className:i("inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold tabular-nums",t?"bg-accent/10 text-accent":"bg-danger-soft text-danger"),children:[e.jsx(s,{className:"h-3 w-3"}),Math.abs(r),"%"]})}const Lr=m.forwardRef(({className:r,stats:t,columns:s=4,...o},l)=>e.jsx("dl",{ref:l,className:i("grid grid-cols-1 gap-x-10 gap-y-12",Me[s],r),...o,children:t.map(n=>e.jsxs("div",{className:"border-t border-border pt-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:n.label}),typeof n.delta=="number"?e.jsx(Rr,{delta:n.delta}):null]}),e.jsxs("dd",{className:i(de,"mt-4 text-5xl sm:text-6xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ce,children:n.suffix}):null]}),n.sub?e.jsx("p",{className:"mt-3 max-w-xs text-[13px] leading-5 text-muted-foreground",children:n.sub}):null]},n.label))}));Lr.displayName="StatsEditorial";const Tr=m.forwardRef(({className:r,stats:t,columns:s=4,...o},l)=>e.jsx("dl",{ref:l,className:i("grid grid-cols-1 gap-y-10",Me[s],r),...o,children:t.map((n,a)=>e.jsxs("div",{className:i("text-center",s>1&&a>0&&"sm:border-l sm:border-border"),children:[e.jsxs("dd",{className:i(de,"text-5xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ce,children:n.suffix}):null]}),e.jsx("dt",{className:"mt-3 text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:n.label})]},n.label))}));Tr.displayName="StatsHairline";const Pr=m.forwardRef(({className:r,stats:t,columns:s=4,...o},l)=>e.jsx("dl",{ref:l,className:i("grid grid-cols-1 gap-4",Me[s],r),...o,children:t.map(n=>e.jsxs("div",{className:"flex min-h-[8.5rem] flex-col justify-between rounded-xl border border-border bg-surface p-6",children:[e.jsxs("dd",{className:i(de,"text-3xl",n.accent?"text-primary":void 0),children:[n.value,n.suffix?e.jsx("span",{className:ce,children:n.suffix}):null]}),e.jsxs("div",{className:"mt-5 flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-sm text-muted-foreground",children:n.label}),n.icon?e.jsx("span",{className:"text-foreground/30",children:n.icon}):null]})]},n.label))}));Pr.displayName="StatsCells";const Ar=m.forwardRef(({className:r,stats:t,...s},o)=>e.jsx("dl",{ref:o,className:i("flex w-full items-stretch overflow-x-auto rounded-2xl border border-border bg-surface",r),...s,children:t.map((l,n)=>e.jsxs("div",{className:i("flex min-w-[11rem] flex-1 flex-col gap-3 p-6",n>0&&"border-l border-border"),children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("dt",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground",children:l.label}),typeof l.delta=="number"?e.jsx(Rr,{delta:l.delta}):null]}),e.jsxs("dd",{className:i(de,"text-3xl",l.accent?"text-primary":void 0),children:[l.value,l.suffix?e.jsx("span",{className:ce,children:l.suffix}):null]}),l.sub?e.jsx("p",{className:"text-[13px] leading-5 text-muted-foreground",children:l.sub}):null]},l.label))}));Ar.displayName="StatsTicker";const Br=m.forwardRef(({option:r="editorial",...t},s)=>r==="ticker"?e.jsx(Ar,{ref:s,...t}):r==="cells"?e.jsx(Pr,{ref:s,...t}):r==="hairline"?e.jsx(Tr,{ref:s,...t}):e.jsx(Lr,{ref:s,...t}));Br.displayName="Stats";function Er({value:r,billing:t,dim:s}){return r===null?e.jsx("span",{children:"Custom"}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"text-[2.6rem] font-semibold tracking-tight sm:text-[3rem]",children:["$",r]}),e.jsxs("span",{className:i("text-sm font-normal",s&&"opacity-60"),children:["/",t==="monthly"?"mo":"yr"]})]})}function Vs({billing:r,onChange:t,dark:s}){const o=ee("--color-accent");return e.jsxs("div",{className:"mb-10 flex items-center justify-center gap-4",children:[e.jsx("span",{className:i("text-sm font-medium transition-colors",r==="monthly"?s?"text-white":"text-foreground":"text-muted-foreground"),children:"Monthly"}),e.jsx("button",{type:"button",role:"switch","aria-checked":r==="yearly","aria-label":"Billing period",onClick:()=>t(r==="monthly"?"yearly":"monthly"),className:i("relative inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",r==="yearly"?"bg-primary":"bg-border"),children:e.jsx("span",{className:i("inline-block h-4 w-4 transform rounded-full bg-white shadow transition-transform duration-200",r==="yearly"?"translate-x-6":"translate-x-1")})}),e.jsxs("span",{className:i("flex items-center gap-2 text-sm font-medium transition-colors",r==="yearly"?s?"text-white":"text-foreground":"text-muted-foreground"),children:["Yearly",e.jsx("span",{className:"rounded-full bg-accent px-2 py-0.5 text-xs font-semibold",style:{color:o},children:"−2 ay"})]})]})}function Se({plan:r,billing:t,onSelect:s,dark:o}){const l=r.highlighted&&!r.customColor,n=r.customColor?E(r.customColor,"#111111","#ffffff"):void 0;return e.jsxs("button",{type:"button",onClick:()=>s==null?void 0:s(r,t),className:i("inline-flex h-11 cursor-pointer items-center justify-center gap-2 rounded-lg px-5 text-sm font-semibold transition-colors duration-200","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",l||r.customColor?"hover:brightness-95":o?"bg-white text-black hover:bg-white/90":"border border-border text-foreground hover:bg-surface"),style:r.customColor?{backgroundColor:r.customColor,color:n}:l?{backgroundColor:"rgb(var(--color-primary))",color:"rgb(var(--color-on-primary))"}:void 0,children:[r.cta||"Start",e.jsx(D,{className:"h-4 w-4 opacity-60"})]})}const zr=({className:r,plans:t,billing:s,onSelect:o,onBillingChange:l,...n})=>e.jsxs("div",{className:i("w-full",r),...n,children:[e.jsx(Vs,{billing:s,onChange:l}),e.jsx("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:grid-cols-3",children:t.map(a=>{const d=a.highlighted&&!a.customColor,c=a.customColor||(d?"rgb(var(--color-primary))":void 0),u=a.customColor?E(a.customColor,"#111111","#ffffff"):d?"rgb(var(--color-on-primary))":void 0;return e.jsxs("div",{className:i("relative flex flex-col rounded-xl p-7",c?"shadow-raised":"border border-border bg-surface",!c&&d&&"border-primary"),style:c?{backgroundColor:c,color:u}:void 0,children:[d?e.jsx("span",{className:i("absolute -top-3 left-7 rounded-full px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wider",!c&&"bg-primary text-on-primary"),style:c?{backgroundColor:"rgb(var(--color-on-primary))",color:"rgb(var(--color-primary))"}:void 0,children:"Most popular"}):null,e.jsx("h3",{className:i("font-display text-lg font-semibold tracking-tight",c?"text-current":"text-foreground"),children:a.name}),a.description?e.jsx("p",{className:i("mt-1.5 text-sm",c?void 0:"text-muted-foreground"),children:a.description}):null,e.jsx("div",{className:i("mt-6 flex items-baseline font-display",c?"text-current":"text-foreground"),children:e.jsx(Er,{value:s==="monthly"?a.monthly:a.yearly,billing:s,dim:!c})}),e.jsx("ul",{className:i("mt-7 flex-1 space-y-2.5 text-sm",c?"text-current":"text-muted-foreground"),children:a.features.map(x=>e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx(Y,{className:i("mt-0.5 h-4 w-4 shrink-0",c?"text-current":"text-primary")}),x]},x))}),e.jsx("div",{className:"mt-8",children:e.jsx(Se,{plan:a,billing:s,onSelect:o,dark:!c})})]},a.name)})})]});zr.displayName="PricingCards";const Fr=({className:r,plans:t,billing:s,onSelect:o,...l})=>e.jsx("div",{className:i("w-full",r),...l,children:e.jsx("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-2",children:t.map(n=>{const a=n.highlighted&&!n.customColor,d=n.customColor||(a?"rgb(var(--color-primary))":void 0),c=n.customColor?E(n.customColor,"#111111","#ffffff"):a?"rgb(var(--color-on-primary))":void 0;return e.jsxs("div",{className:i("flex h-full flex-col rounded-xl p-8",d?"lg:col-span-2":"border border-border bg-surface"),style:d?{backgroundColor:d,color:c}:void 0,children:[e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:i("font-display text-xl font-semibold tracking-tight",d?"text-current":"text-foreground"),children:n.name}),n.description?e.jsx("p",{className:i("mt-1.5 text-sm",d?void 0:"text-muted-foreground"),children:n.description}):null]}),e.jsx("div",{className:i("font-display",d?"text-current":"text-foreground"),children:e.jsx(Er,{value:s==="monthly"?n.monthly:n.yearly,billing:s,dim:!d})})]}),e.jsx("ul",{className:i("mt-7 grid grid-cols-1 gap-x-8 gap-y-2.5 text-sm sm:grid-cols-2",d?"lg:max-w-2xl":void 0),children:n.features.map(u=>e.jsxs("li",{className:i("flex items-start gap-2.5",d?"text-current":"text-muted-foreground"),children:[e.jsx(Y,{className:i("mt-0.5 h-4 w-4 shrink-0",d?"text-current":"text-primary")}),u]},u))}),e.jsx("div",{className:"mt-8",children:e.jsx(Se,{plan:n,billing:s,onSelect:o,dark:!d})})]},n.name)})})});Fr.displayName="PricingBento";const Gr=({className:r,plans:t,billing:s,onSelect:o,...l})=>{const n=a=>a===null?"Custom":`$${a}`;return e.jsx("div",{className:i("w-full",r),...l,children:e.jsx("div",{className:"divide-y divide-border overflow-hidden rounded-xl border border-border bg-surface",children:t.map(a=>{const d=s==="monthly"?a.monthly:a.yearly,c=a.highlighted&&!a.customColor,u=a.customColor?"rgb(var(--color-surface))":c?"rgb(var(--color-primary-soft))":void 0,x=a.customColor?a.customColor:c?"rgb(var(--color-primary))":void 0;return e.jsxs("div",{className:i("group flex flex-col gap-5 p-5 transition-colors duration-200 hover:bg-surface-strong sm:flex-row sm:items-center sm:justify-between",c&&"bg-primary-soft/60"),style:u?{backgroundColor:u}:void 0,children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("h3",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:a.name}),c?e.jsx("span",{className:"rounded-full bg-primary px-2.5 py-0.5 text-[11px] font-semibold text-on-primary uppercase tracking-wider",children:"Popular"}):null]}),a.description?e.jsx("p",{className:"mt-1 truncate text-sm text-muted-foreground",children:a.description}):null]}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("ul",{className:"hidden items-center gap-4 lg:flex",children:a.features.slice(0,3).map(f=>e.jsxs("li",{className:"flex items-center gap-1.5 text-sm text-muted-foreground",style:{color:x},children:[e.jsx(Y,{className:"h-3.5 w-3.5 text-current"}),f]},f))}),e.jsxs("div",{className:"font-display text-2xl font-semibold tracking-tight text-foreground",children:[n(d),d!==null?e.jsxs("span",{className:"text-sm font-normal text-muted-foreground",children:["/",s==="monthly"?"mo":"yr"]}):null]}),e.jsx(Se,{plan:a,billing:s,onSelect:o})]})]},a.name)})})})};Gr.displayName="PricingCompact";const Ir=({className:r,plans:t,option:s="cards",defaultBilling:o="monthly",onSelect:l,...n})=>{const[a,d]=m.useState(o);return s==="compact"?e.jsx(Gr,{className:r,plans:t,billing:a,onSelect:l,...n}):s==="bento"?e.jsx(Fr,{className:r,plans:t,billing:a,onSelect:l,...n}):e.jsx(zr,{className:r,plans:t,billing:a,onSelect:l,onBillingChange:d,...n})};Ir.displayName="Pricing";const Hr=r=>r.split(" ").map(t=>t[0]).join("").slice(0,2).toUpperCase(),Re=m.forwardRef(function({className:t,testimonial:s,...o},l){const{quote:n,author:a,role:d,company:c,avatar:u,accent:x,rating:f}=s,p=x?{backgroundColor:x,color:E(x,"#111111","#ffffff")}:void 0;return e.jsxs("figure",{ref:l,className:i("mb-4 flex flex-col break-inside-avoid rounded-2xl border border-border bg-surface p-7",t),...o,children:[e.jsxs("div",{className:"mb-5 flex items-center justify-between",children:[e.jsx(Ne,{className:i("h-6 w-6",x?void 0:"text-primary/30"),style:x?{color:x}:void 0}),f?e.jsx("span",{className:"flex items-center gap-0.5 text-amber-500","aria-label":`${f} / 5`,children:Array.from({length:5}).map((v,g)=>e.jsx(gr,{className:"h-3.5 w-3.5"},g))}):null]}),e.jsx("blockquote",{className:"flex-1 text-[15px] leading-7 text-foreground/85",children:n}),e.jsxs("figcaption",{className:"mt-6 flex items-center gap-3",children:[u||e.jsx("span",{style:p,className:i("inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-xs font-bold",!x&&"bg-primary-soft text-primary"),children:Hr(a)}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:a}),(d||c)&&e.jsx("div",{className:"text-xs text-muted-foreground",children:[d,c].filter(Boolean).join(" · ")})]})]})]})}),$r=m.forwardRef(({className:r,items:t,...s},o)=>e.jsx("div",{className:i("columns-1 gap-4 md:columns-2 lg:columns-3",r),ref:o,...s,children:t.map((l,n)=>e.jsx(Re,{testimonial:l},n))}));$r.displayName="TestimonialsGrid";const Vr=m.forwardRef(({className:r,items:t,...s},o)=>{const l=[...t,...t];return e.jsx("div",{className:i("w-full overflow-hidden",r),ref:o,...s,children:e.jsx("div",{className:"mask-fade-x",children:e.jsx("div",{className:"flex w-max animate-marquee gap-4 pr-4 motion-reduce:animate-none",children:l.map((n,a)=>e.jsx("div",{className:"w-[19rem] shrink-0 sm:w-[24rem]",children:e.jsx(Re,{testimonial:n,className:"m-0"})},a))})})})});Vr.displayName="TestimonialsMarquee";const Or=m.forwardRef(({className:r,items:t,...s},o)=>{const[l,n]=m.useState(0),a=t[l%t.length],d=a.accent?{backgroundColor:a.accent,color:E(a.accent,"#111111","#ffffff")}:void 0,c=u=>n(x=>(x+u+t.length)%t.length);return e.jsxs("div",{className:i("mx-auto w-full max-w-3xl",r),ref:o,...s,children:[e.jsxs("figure",{className:"relative rounded-2xl border border-border bg-surface p-10 text-center sm:p-14",children:[e.jsx(Ne,{className:i("mx-auto mb-6 h-8 w-8",a.accent?void 0:"text-primary/25"),style:a.accent?{color:a.accent}:void 0,"aria-hidden":!0}),e.jsx("blockquote",{className:"font-display text-balance text-xl font-medium leading-relaxed tracking-tight text-foreground sm:text-2xl",children:a.quote}),e.jsxs("figcaption",{className:"mt-8 flex items-center justify-center gap-3",children:[a.avatar?a.avatar:e.jsx("span",{style:d,className:i("inline-flex h-11 w-11 items-center justify-center rounded-full text-xs font-bold",!a.accent&&"bg-foreground text-background"),children:Hr(a.author)}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-sm font-semibold text-foreground",children:a.author}),e.jsx("div",{className:"text-xs text-muted-foreground",children:[a.role,a.company].filter(Boolean).join(" · ")})]})]})]}),e.jsxs("div",{className:"mt-6 flex items-center justify-center gap-4",children:[e.jsx("button",{type:"button","aria-label":"Previous testimonial",onClick:()=>c(-1),className:"inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(pr,{className:"h-4 w-4"})}),e.jsx("div",{className:"flex items-center gap-1.5",children:t.map((u,x)=>e.jsx("button",{type:"button","aria-label":`Testimonial ${x+1}`,"aria-current":x===l,onClick:()=>n(x),className:i("h-1.5 cursor-pointer rounded-full transition-all duration-200",x===l?"w-6 bg-foreground":"w-1.5 bg-foreground/25 hover:bg-foreground/50")},x))}),e.jsx("button",{type:"button","aria-label":"Next testimonial",onClick:()=>c(1),className:"inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(fr,{className:"h-4 w-4"})})]})]})});Or.displayName="TestimonialsCarousel";const Dr=m.forwardRef(({option:r="grid",...t},s)=>r==="carousel"?e.jsx(Or,{ref:s,...t}):r==="marquee"?e.jsx(Vr,{ref:s,...t}):e.jsx($r,{ref:s,...t}));Dr.displayName="Testimonials";function Le({action:r,secondaryAction:t,align:s,actionClassName:o="flex flex-wrap items-center gap-4"}){return e.jsxs("div",{className:i(o,s==="center"&&"justify-center"),children:[r,t]})}const Ur=m.forwardRef(({className:r,title:t,description:s,action:o,secondaryAction:l,align:n="left",id:a,...d},c)=>{const u=ee("--color-primary");return e.jsx("section",{ref:c,id:a,className:i("w-full py-6 pb-20",r),...d,children:e.jsx(z,{children:e.jsxs("div",{className:"relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20",style:{background:"radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))",color:u},children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay"}),e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute -right-24 -top-24 h-72 w-72 rounded-full",style:{background:"rgb(var(--color-accent))",opacity:.35,filter:"blur(60px)"}}),e.jsxs("div",{className:i("relative flex flex-col gap-9",n==="center"?"items-center text-center":"items-start"),children:[e.jsxs("div",{className:i("max-w-2xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-balance text-3xl font-semibold leading-[1.06] tracking-[-0.02em] sm:text-5xl",children:t}),s?e.jsx("p",{className:i("mt-4 text-pretty text-base leading-7 sm:text-lg",n==="center"&&"mx-auto max-w-xl"),children:s}):null]}),e.jsx(Le,{action:o,secondaryAction:l,align:n})]})]})})})});Ur.displayName="CTAPanel";const qr=m.forwardRef(({className:r,title:t,description:s,action:o,secondaryAction:l,align:n="left",id:a,...d},c)=>e.jsx("section",{ref:c,id:a,className:i("w-full",r),...d,children:e.jsx(z,{className:"py-20 sm:py-24",children:e.jsxs("div",{className:i("flex flex-col gap-10 border-t border-border pt-14 sm:flex-row sm:items-end sm:justify-between sm:pt-16",n==="center"&&"items-center text-center sm:flex-col sm:items-center"),children:[e.jsxs("div",{className:i("max-w-3xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-4xl font-semibold leading-[1.03] tracking-[-0.03em] text-balance text-foreground sm:text-6xl",children:t}),s?e.jsx("p",{className:i("mt-5 max-w-xl text-pretty text-base leading-7 text-muted-foreground sm:text-lg",n==="center"&&"mx-auto"),children:s}):null]}),e.jsx(Le,{action:o,secondaryAction:l,align:n})]})})}));qr.displayName="CTASurface";const Wr=m.forwardRef(({className:r,title:t,description:s,action:o,secondaryAction:l,align:n="left",id:a,...d},c)=>{const u=ee("--color-secondary");return e.jsx("section",{ref:c,id:a,className:i("w-full py-6 pb-20",r),...d,children:e.jsx(z,{children:e.jsxs("div",{className:"relative overflow-hidden rounded-[1.75rem] px-7 py-16 sm:px-16 sm:py-20",style:{backgroundColor:"rgb(var(--color-secondary))",color:u},children:[e.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 grain opacity-[0.09] mix-blend-overlay"}),e.jsxs("div",{className:i("relative flex flex-col items-start gap-10",n==="center"&&"items-center text-center","lg:flex-row lg:items-end lg:justify-between"),children:[e.jsxs("div",{className:i("max-w-3xl",n==="center"&&"mx-auto"),children:[e.jsx("h2",{className:"font-display text-balance text-4xl font-semibold leading-[1.02] tracking-[-0.03em] sm:text-6xl",children:t}),s?e.jsx("p",{className:i("mt-5 max-w-xl text-pretty text-base leading-7 sm:text-lg",n==="center"&&"mx-auto"),children:s}):null]}),e.jsx(Le,{action:o,secondaryAction:l,align:n})]})]})})})});Wr.displayName="CTAInverse";const Kr=m.forwardRef(({option:r="panel",...t},s)=>r==="surface"?e.jsx(qr,{ref:s,...t}):r==="inverse"?e.jsx(Wr,{ref:s,...t}):e.jsx(Ur,{ref:s,...t}));Kr.displayName="CTA";function Os(r,t){const[s,o]=m.useState(()=>new Set(r?t:t.slice(0,1)));return{openSet:s,toggle:n=>{o(a=>{const d=new Set(a);return d.has(n)?d.delete(n):(r||d.clear(),d.add(n)),d})},isOpen:n=>s.has(n)}}function Ds({item:r,open:t,onToggle:s,style:o}){return e.jsxs("div",{children:[e.jsx("h3",{children:e.jsxs("button",{type:"button","aria-expanded":t,onClick:s,className:o==="boxed"?"flex w-full cursor-pointer items-center justify-between gap-4 px-6 py-5 text-left text-[15px] font-medium text-foreground transition-colors duration-150 hover:bg-surface-strong/60 focus-visible:outline-none":"flex w-full cursor-pointer items-center justify-between gap-4 py-5 text-left text-base font-semibold text-foreground transition-colors duration-150 focus-visible:outline-none",children:[r.question,e.jsx(mr,{className:i("h-4.5 w-4.5 shrink-0 text-foreground/45 transition-transform duration-200 sm:h-5 sm:w-5",t&&"rotate-45 text-primary")})]})}),t?e.jsx("p",{className:o==="boxed"?"px-6 pb-6 text-sm leading-7 text-muted-foreground":"pb-6 text-sm leading-7 text-muted-foreground",children:r.answer}):null]})}function Yr({label:r}){return e.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-primary",children:r})}const Zr=({className:r,items:t,eyebrow:s,title:o,description:l,option:n,...a})=>e.jsxs("div",{className:i("w-full",r),...a,children:[s?e.jsx("div",{className:"mb-10",children:e.jsx(Yr,{label:String(s)})}):null,e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:t.map((d,c)=>e.jsxs("div",{className:"flex flex-col rounded-xl border border-border bg-surface p-7",children:[e.jsxs("div",{className:"flex items-baseline gap-4",children:[e.jsx("span",{className:"font-display text-sm font-semibold tabular-nums text-foreground/35",children:String(c+1).padStart(2,"0")}),e.jsx("h3",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:d.question})]}),e.jsx("p",{className:"mt-4 border-t border-border pt-4 text-sm leading-6 text-muted-foreground",children:d.answer})]},d.question))})]});Zr.displayName="FaqCards";const Te=({className:r,items:t,allowMultiple:s=!1,defaultOpen:o=[],bare:l=!1,option:n,title:a,eyebrow:d,description:c,...u})=>{const{isOpen:x,toggle:f}=Os(s,o);return e.jsx("div",{className:i(!l&&"divide-y divide-border rounded-2xl border border-border bg-surface",r),...u,children:t.map((p,v)=>e.jsx(Ds,{item:p,open:x(v),onToggle:()=>f(v),style:l?"bare":"boxed"},p.question))})};Te.displayName="FaqAccordion";const _r=({className:r,items:t,allowMultiple:s=!1,defaultOpen:o=[],eyebrow:l,title:n,description:a,option:d,...c})=>e.jsxs("div",{className:i("grid w-full gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:gap-20",r),...c,children:[e.jsxs("div",{className:"lg:sticky lg:top-24 lg:self-start",children:[l?e.jsx(Yr,{label:String(l)}):null,n?e.jsx("h2",{className:"mt-4 font-display text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:n}):null,a?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground",children:a}):null]}),e.jsx("div",{className:"divide-y divide-border",children:e.jsx(Te,{items:t,allowMultiple:s,defaultOpen:o,bare:!0})})]});_r.displayName="FaqSplit";const Jr=({className:r,items:t,option:s="accordion",allowMultiple:o=!1,defaultOpen:l=[],eyebrow:n,title:a,description:d,...c})=>s==="cards"?e.jsx(Zr,{className:r,items:t,eyebrow:n,...c}):s==="split"?e.jsx(_r,{className:r,items:t,allowMultiple:o,defaultOpen:l,eyebrow:n,title:a,description:d,...c}):e.jsx("div",{className:"mx-auto w-full max-w-3xl",children:e.jsx(Te,{className:r,items:t,allowMultiple:o,defaultOpen:l})});Jr.displayName="FAQ";function Pe({logo:r,logoSrc:t,logoAlt:s,logoClassName:o,brand:l,imageClassName:n="h-7 w-auto"}){return r||(t?e.jsx("img",{src:t,alt:s??(typeof l=="string"?l:"Logo"),className:i(n,o)}):null)}function Qr({brand:r}){return e.jsxs("span",{className:"flex items-center gap-2 font-display text-lg font-bold tracking-tight",children:[e.jsx("span",{"aria-hidden":!0,className:"inline-block h-2.5 w-2.5 rounded-sm bg-current"}),r]})}function Us({brand:r}){return e.jsx("span",{className:"font-display text-5xl font-bold tracking-[-0.03em] text-foreground sm:text-7xl",children:r})}function qs({columns:r,Link:t,linkClassName:s}){return e.jsx("div",{className:"grid grid-cols-2 gap-8 md:grid-cols-4",children:r.map(o=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:o.title}),e.jsx("ul",{className:"mt-4 space-y-2.5",children:o.links.map(l=>e.jsx("li",{children:e.jsx(t,{href:l.href,className:s,children:l.label})},l.href))})]},o.title))})}function Xr({bottom:r,languageSwitcher:t,brand:s,wrapperClassName:o,textClassName:l}){return e.jsxs("div",{className:o,children:[e.jsx("span",{className:i(l),children:r}),t?e.jsx("div",{children:t}):null,e.jsxs("span",{className:i(l),children:["© ",new Date().getFullYear()," ",s,". All rights reserved."]})]})}function et({className:r,brand:t,logo:s,logoSrc:o,logoAlt:l,logoClassName:n,description:a,columns:d,socials:c,bottom:u,languageSwitcher:x,badge:f,LinkComponent:p,...v}){const g=p??"a",y=Pe({logo:s,logoSrc:o,logoAlt:l,logoClassName:n,brand:t})??e.jsx(Qr,{brand:t});return e.jsx("footer",{className:i("w-full bg-secondary text-on-secondary",r),...v,children:e.jsxs(z,{className:"py-16",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-10 md:grid-cols-4 lg:grid-cols-6",children:[e.jsxs("div",{className:"col-span-2",children:[e.jsx("span",{style:{color:"rgb(var(--color-on-secondary))"},children:y}),a?e.jsx("p",{className:"mt-4 max-w-xs text-sm leading-6 text-on-secondary/60",children:a}):null,c?e.jsx("div",{className:"mt-6 flex items-center gap-3",children:c}):null,f?e.jsx("div",{className:"mt-6",children:f}):null]}),d.map(b=>e.jsxs("div",{children:[e.jsx("h3",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-on-secondary/50",children:b.title}),e.jsx("ul",{className:"mt-4 space-y-2.5",children:b.links.map(N=>e.jsx("li",{children:e.jsx(g,{href:N.href,className:"text-sm text-on-secondary/70 transition-colors duration-150 hover:text-on-secondary",children:N.label})},N.href))})]},b.title))]}),e.jsx(Xr,{bottom:u,languageSwitcher:x,brand:t,wrapperClassName:"mt-14 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 text-sm text-on-secondary/50 sm:flex-row",textClassName:""})]})})}et.displayName="FooterClassic";function rt({className:r,brand:t,logo:s,logoSrc:o,logoAlt:l,logoClassName:n,columns:a,languageSwitcher:d,bottom:c,LinkComponent:u,...x}){const f=u??"a",p=Pe({logo:s,logoSrc:o,logoAlt:l,logoClassName:n,brand:t})??e.jsx(Qr,{brand:t});return e.jsx("footer",{className:i("w-full border-t border-border bg-background",r),...x,children:e.jsxs(z,{className:"flex flex-col items-center justify-between gap-6 py-10 sm:flex-row",children:[p,e.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-3",children:a.flatMap(v=>v.links).slice(0,6).map(v=>e.jsx("li",{children:e.jsx(f,{href:v.href,className:"text-sm text-muted-foreground transition-colors duration-150 hover:text-foreground",children:v.label})},v.href))}),e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[d?e.jsx("div",{children:d}):null,e.jsx("div",{className:"text-sm text-muted-foreground",children:c})]})]})})}rt.displayName="FooterMinimal";function tt({className:r,brand:t,logo:s,logoSrc:o,logoAlt:l,logoClassName:n,description:a,columns:d,socials:c,bottom:u,languageSwitcher:x,LinkComponent:f,...p}){const v=f??"a",g=Pe({logo:s,logoSrc:o,logoAlt:l,logoClassName:n,brand:t,imageClassName:"h-12 w-auto"})??e.jsx(Us,{brand:t});return e.jsx("footer",{className:i("w-full border-t border-border bg-background",r),...p,children:e.jsxs(z,{className:"py-16 sm:py-20",children:[e.jsxs("div",{className:"mb-14 flex flex-col justify-between gap-8 sm:flex-row sm:items-end",children:[e.jsxs("div",{children:[g,a?e.jsx("p",{className:"mt-3 max-w-sm text-sm leading-6 text-muted-foreground",children:a}):null]}),c?e.jsx("div",{className:"flex items-center gap-3",children:c}):null]}),e.jsx("div",{className:"border-t border-border pt-12",children:e.jsx(qs,{columns:d,Link:v,linkClassName:"text-[15px] text-foreground/80 transition-colors duration-150 hover:text-foreground"})}),e.jsx(Xr,{bottom:u,languageSwitcher:x,brand:t,wrapperClassName:"mt-12 flex flex-col items-center justify-between gap-4 border-t border-border pt-8 text-sm text-muted-foreground sm:flex-row",textClassName:""})]})})}tt.displayName="FooterEditorial";const st=({option:r="classic",...t})=>r==="minimal"?e.jsx(rt,{...t}):r==="editorial"?e.jsx(tt,{...t}):e.jsx(et,{...t});st.displayName="Footer";function Ws(r,t,s,o){var f;const[l,n]=m.useState(!1),[a,d]=m.useState(s??((f=r[0])==null?void 0:f.code)??""),c=t??a,u=r.find(p=>p.code===c)??r[0];return{open:l,setOpen:n,current:c,currentLang:u,setCurrent:p=>{d(p),n(!1),o==null||o(p)}}}const Ks=new Set(`AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ
|
|
2
2
|
CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR
|
|
3
3
|
GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO
|
|
4
4
|
JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR
|
|
5
5
|
MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO
|
|
6
6
|
RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV
|
|
7
|
-
TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW`.split(/\s+/));function pr(r){const t=r.toUpperCase();return Dt.has(t)?String.fromCodePoint(127462+t.charCodeAt(0)-65,127462+t.charCodeAt(1)-65):""}const Wt={sm:"max-w-sm",md:"max-w-lg",lg:"max-w-2xl"},Me=j.forwardRef(({className:r,open:t,onClose:s,title:o,description:i,footer:a,size:n="md",children:c,...x},m)=>{const g=j.useId(),d=j.useId(),b=j.useRef(null),f=j.useRef(s);return j.useEffect(()=>{f.current=s},[s]),j.useEffect(()=>{const u=b.current;u&&(u.hasAttribute("popover")||u.setAttribute("popover","auto"))},[]),j.useEffect(()=>{const u=b.current;u&&(t?(u.matches(":popover-open")||u.showPopover(),document.body.style.overflow="hidden"):(u.matches(":popover-open")&&u.hidePopover(),document.body.style.overflow=""))},[t]),j.useEffect(()=>{const u=b.current;if(!u)return;const p=h=>{var y;h.newState==="closed"&&((y=f.current)==null||y.call(f))};return u.addEventListener("toggle",p),()=>u.removeEventListener("toggle",p)},[]),j.useEffect(()=>()=>{document.body.style.overflow=""},[]),e.jsxs("div",{ref:u=>{b.current=u,typeof m=="function"?m(u):m&&(m.current=u)},role:"dialog","aria-modal":"true","aria-labelledby":o?g:void 0,"aria-describedby":i?d:void 0,className:l("modal-anim modal-backdrop fixed inset-0 z-[100] m-auto h-fit max-h-[calc(100vh-2rem)] w-fit max-w-[calc(100vw-2rem)] overflow-y-auto rounded-2xl border border-border bg-surface p-6 text-foreground shadow-overlay",Wt[n],r),...x,children:[o?e.jsx("h2",{id:g,className:"pr-8 font-display text-lg font-semibold tracking-tight text-foreground",children:o}):null,i?e.jsx("p",{id:d,className:"mt-1.5 text-sm leading-6 text-muted-foreground",children:i}):null,e.jsx("button",{type:"button","aria-label":"Close dialog",onClick:s,className:"absolute right-4 top-4 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors duration-150 hover:bg-surface-strong hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(xe,{className:"h-4 w-4"})}),e.jsx("div",{className:o||i?"mt-4":"pt-8",children:c}),a?e.jsx("div",{className:"mt-6 flex flex-wrap items-center justify-end gap-3",children:a}):null]})});Me.displayName="Modal";const hr=({className:r,languages:t,option:s="dropdown",value:o,defaultValue:i,onChange:a,align:n="end",modalTitle:c,showFlag:x=!1,inverse:m=!1,...g})=>{var R;const d=j.useId(),b=`--ls-${d.replace(/:/g,"")}`,f=j.useRef(null),[u,p]=j.useState(!1),[h,y]=j.useState(i??((R=t[0])==null?void 0:R.code)??""),w=o??h,P=t.find(M=>M.code===w)??t[0],E=M=>{y(M),p(!1),a==null||a(M)},C=(M,{size:L="text-sm",globeClass:F="text-muted-foreground"}={})=>{const V=pr(M);return V?e.jsx("span",{"aria-hidden":!0,className:l(L,"leading-none"),children:V}):e.jsx(je,{className:l("h-4 w-4 shrink-0",F)})};if(j.useEffect(()=>{if(!u||s!=="dropdown")return;const M=F=>{f.current&&!f.current.contains(F.target)&&p(!1)},L=F=>{F.key==="Escape"&&p(!1)};return document.addEventListener("pointerdown",M),document.addEventListener("keydown",L),()=>{document.removeEventListener("pointerdown",M),document.removeEventListener("keydown",L)}},[u,s]),t.length===0)return null;const G=e.jsxs("button",{type:"button","aria-haspopup":s==="dropdown"?"listbox":"dialog","aria-expanded":u,"aria-controls":s==="dropdown"?d:void 0,onClick:()=>p(M=>!M),style:{anchorName:b},className:l("inline-flex h-9 cursor-pointer items-center gap-1.5 rounded-lg border px-3 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",m?"border-white/10 text-on-secondary hover:bg-white/10":"border-border text-foreground hover:bg-surface"),children:[x?C(P.code,{globeClass:m?"opacity-70":"text-muted-foreground"}):e.jsx(je,{className:l("h-4 w-4",m?"opacity-70":"text-muted-foreground")}),e.jsx("span",{className:"tracking-tight",children:P.label}),e.jsx(ae,{className:l("h-3.5 w-3.5 transition-transform duration-150",u&&"rotate-180",m?"opacity-70":"text-muted-foreground")})]});return s==="modal"?e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:f,className:l("relative inline-flex",r),...g,children:G}),e.jsx(Me,{open:u,onClose:()=>p(!1),title:c,size:"sm",children:e.jsx("div",{role:"listbox","aria-label":"Select language",className:"grid min-w-[19rem] gap-1.5",children:t.map(M=>{const L=M.code===w;return e.jsxs("button",{type:"button",role:"option","aria-selected":L,onClick:()=>E(M.code),className:l("flex w-full cursor-pointer items-center justify-between gap-3 rounded-lg border px-4 py-3 text-left transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",L?"border-primary/40 bg-primary-soft text-foreground":"border-border text-foreground hover:bg-surface-strong"),children:[e.jsxs("span",{className:"flex items-center gap-3",children:[x?C(M.code,{size:"text-base"}):null,e.jsx("span",{className:"text-sm font-medium",children:M.label})]}),e.jsxs("span",{className:"flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:[M.code,L?e.jsx(Z,{className:"h-4 w-4 text-primary"}):null]})]},M.code)})})})]}):e.jsxs("div",{ref:f,className:l("relative inline-flex",r),...g,children:[G,e.jsx("div",{id:d,role:"listbox","aria-label":"Select language",style:{positionAnchor:b,top:"anchor(bottom)",...n==="start"?{left:"anchor(left)"}:{right:"anchor(right)"}},className:l("absolute top-full z-50 mt-2 min-w-[10rem] rounded-lg border border-border bg-surface p-1 shadow-raised transition-all duration-150",n==="start"?"left-0":"right-0",u?"visible translate-y-0 opacity-100":"pointer-events-none invisible -translate-y-1 opacity-0"),children:t.map(M=>{const L=M.code===w;return e.jsxs("button",{type:"button",role:"option","aria-selected":L,onClick:()=>E(M.code),className:l("flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-3 py-2 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",L?"bg-surface-strong text-foreground":"text-muted-foreground hover:bg-surface-strong hover:text-foreground"),children:[e.jsxs("span",{className:"flex items-center gap-2.5",children:[x?C(M.code):null,M.label]}),L?e.jsx(Z,{className:"h-3.5 w-3.5 text-primary"}):null]},M.code)})})]})};hr.displayName="LanguageSwitcher";const Ge="w-full rounded-lg border border-border bg-surface px-4 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background",br=({className:r,option:t="inline",placeholder:s="you@company.com",buttonLabel:o="Join",successMessage:i="You’re on the list!",note:a,onSubmit:n,...c})=>{const[x,m]=j.useState(""),[g,d]=j.useState(!1),[b,f]=j.useState(null),u=h=>{h.preventDefault();const y=x.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(y)){f("Please enter a valid email.");return}f(null),d(!0),n==null||n(y)},p=e.jsxs("p",{className:"flex items-center gap-2 rounded-lg border border-accent/40 bg-accent/10 px-4 py-3.5 text-sm font-medium text-accent",role:"status",children:[e.jsx(Z,{className:"h-4 w-4"}),i]});return t==="card"?e.jsx("form",{onSubmit:u,className:l("w-full",r),...c,children:g?p:e.jsxs("div",{className:"rounded-xl border border-border bg-surface p-7",children:[e.jsxs("div",{className:"mb-5 flex items-center gap-3",children:[e.jsx("span",{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg bg-primary-soft text-primary",children:e.jsx(or,{className:"h-4 w-4"})}),e.jsx("p",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:"Monthly digest"})]}),e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:x,onChange:h=>{m(h.target.value),b&&f(null)},placeholder:s,className:l(Ge,"h-11")}),e.jsxs("button",{type:"submit",className:"inline-flex h-11 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-lg bg-primary px-5 text-sm font-semibold text-on-primary transition-colors duration-200 hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[o,e.jsx(Y,{className:"h-4 w-4 opacity-60"})]})]}),b?e.jsx("p",{className:"mt-2 text-sm font-medium text-red-500",role:"alert",children:b}):a?e.jsx("p",{className:"mt-3 text-xs leading-5 text-muted-foreground",children:a}):null]})}):t==="underline"?e.jsxs("form",{onSubmit:u,className:l("w-full",r),...c,children:[g?p:e.jsxs("div",{className:"flex items-end gap-3 border-b border-foreground/20 pb-3 transition-colors duration-200 focus-within:border-foreground",children:[e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:x,onChange:h=>{m(h.target.value),b&&f(null)},placeholder:s,className:"w-full bg-transparent text-sm text-foreground placeholder:text-muted-foreground focus:outline-none"}),e.jsxs("button",{type:"submit",className:"inline-flex shrink-0 cursor-pointer items-center gap-1.5 text-sm font-semibold text-foreground transition-colors duration-150 hover:text-primary",children:[o,e.jsx(Y,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5"})]})]}),b?e.jsx("p",{className:"mt-2 text-sm font-medium text-red-500",role:"alert",children:b}):a?e.jsx("p",{className:"mt-2 text-xs leading-5 text-muted-foreground",children:a}):null]}):e.jsx("form",{onSubmit:u,className:l("w-full",r),...c,children:g?p:e.jsxs(e.Fragment,{children:[e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:x,onChange:h=>{m(h.target.value),b&&f(null)},placeholder:s,className:l(Ge,"h-11")}),e.jsxs("button",{type:"submit",className:"inline-flex h-11 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-lg bg-primary px-5 text-sm font-semibold text-on-primary transition-colors duration-200 hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[o,e.jsx(Y,{className:"h-4 w-4 opacity-60"})]})]}),b?e.jsx("p",{className:"mt-2 text-sm font-medium text-red-500",role:"alert",children:b}):a?e.jsx("p",{className:"mt-2 text-xs leading-5 text-muted-foreground",children:a}):null]})})};br.displayName="Newsletter";const qt={sm:"prose-sm",md:"prose",lg:"prose-lg",xl:"prose-xl","2xl":"prose-2xl"},jr=j.forwardRef(({className:r,size:t="lg",html:s,wide:o=!1,children:i,...a},n)=>e.jsx("article",{ref:n,className:l("prose prose-neutral",qt[t],!o&&"max-w-3xl",r),...s?{dangerouslySetInnerHTML:{__html:s}}:null,...a,children:s?null:i}));jr.displayName="Prose";const vr=j.forwardRef(({className:r,...t},s)=>e.jsx("p",{ref:s,className:l("lead",r),...t}));vr.displayName="ProseLead";function Kt({name:r,avatar:t}){if(t)return t;const s=r.split(" ").map(o=>o[0]).join("").slice(0,2).toUpperCase();return e.jsx("span",{className:"grid h-8 w-8 shrink-0 place-items-center rounded-full bg-primary-soft text-[11px] font-bold text-primary",children:s})}const Yt=({post:r})=>{var t,s;return r.cover?e.jsx("img",{src:r.cover,alt:"",loading:"lazy",className:"aspect-[16/10] w-full object-cover"}):e.jsx("div",{className:"grid aspect-[16/10] w-full place-items-center bg-surface-strong",style:r.accent?{background:`linear-gradient(135deg, ${r.accent}22, ${r.accent}11)`}:void 0,children:e.jsx("span",{className:"font-display text-4xl font-bold tracking-[-0.04em]",style:{color:r.accent??"rgb(var(--color-foreground) / 0.12)"},children:(s=(t=r.category)==null?void 0:t[0])==null?void 0:s.toUpperCase()})})},ce=j.forwardRef(({className:r,post:t,option:s="card",LinkComponent:o,...i},a)=>{const n=o??"a";if(s==="row")return e.jsxs(n,{ref:a,href:t.href??"#",className:l("group flex cursor-pointer items-baseline gap-5 py-6",r),...i,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.category?e.jsx(le,{variant:"soft",size:"sm",children:t.category}):null,e.jsxs("span",{className:"text-xs tabular-nums text-muted-foreground",children:[t.date,t.readTime?` · ${t.readTime}`:""]})]}),e.jsx("h3",{className:"mt-2.5 font-display text-xl font-semibold tracking-tight text-foreground transition-transform duration-200 group-hover:translate-x-1 sm:text-2xl",children:t.title})]}),e.jsx("span",{className:"text-foreground/30 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground",children:e.jsx(Qe,{className:"h-5 w-5"})})]});const c=t.author;return e.jsxs(n,{ref:a,href:t.href??"#",className:l("group flex h-full cursor-pointer flex-col overflow-hidden rounded-xl border border-border bg-surface transition-colors duration-200 hover:border-foreground/20",r),...i,children:[e.jsx("div",{className:"overflow-hidden",children:e.jsx(Yt,{post:t})}),e.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.category?e.jsx(le,{variant:"soft",size:"sm",children:t.category}):e.jsx("span",{}),t.readTime?e.jsx("span",{className:"text-xs text-muted-foreground",children:t.readTime}):null]}),e.jsx("h3",{className:"mt-4 font-display text-lg font-semibold leading-snug tracking-tight text-foreground sm:text-xl",children:t.title}),t.excerpt?e.jsx("p",{className:"mt-2.5 line-clamp-2 text-sm leading-6 text-muted-foreground",children:t.excerpt}):null,e.jsxs("div",{className:"mt-5 flex items-center justify-between gap-3 border-t border-border pt-4",children:[c?e.jsxs("span",{className:"flex min-w-0 items-center gap-2.5",children:[e.jsx(Kt,{name:c.name,avatar:c.avatar}),e.jsx("span",{className:"truncate text-xs font-medium text-foreground",children:c.name})]}):e.jsx("span",{className:"text-xs tabular-nums text-muted-foreground",children:t.date}),e.jsx(Y,{className:"h-4 w-4 text-foreground/35 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground"})]})]})]})});ce.displayName="BlogCard";const Zt={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3"},yr=j.forwardRef(({className:r,posts:t,limit:s,columns:o=3,option:i="card",eyebrow:a,eyebrowStyle:n="caps",title:c,description:x,showAllLabel:m,showAllHref:g,LinkComponent:d,...b},f)=>{const u=s?t.slice(0,s):t,p=d??"a";return e.jsx("section",{ref:f,className:l("w-full py-20 sm:py-24",r),...b,children:e.jsxs($,{children:[(a||c||x||g)&&e.jsxs("div",{className:"mb-12 flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{className:"max-w-2xl",children:[a?e.jsx("p",{className:l("text-xs font-semibold uppercase tracking-[0.18em]",n==="caps"&&"text-foreground/50",n==="soft"&&"inline-flex items-center rounded-full bg-primary-soft px-3 py-1.5 text-primary",n==="plain"&&"text-primary"),children:a}):null,c?e.jsx("h2",{className:"mt-4 font-display text-balance text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:c}):null,x?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground",children:x}):null]}),g?e.jsxs(p,{href:g,className:"group inline-flex shrink-0 cursor-pointer items-center gap-1.5 text-sm font-semibold text-foreground transition-colors duration-150 hover:text-primary",children:[m??"All posts",e.jsx(Y,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5"})]}):null]}),i==="row"?e.jsx("div",{className:"divide-y divide-border border-t border-border",children:u.map(h=>e.jsx(ce,{post:h,option:"row",LinkComponent:d},h.title))}):e.jsx("div",{className:l("grid grid-cols-1 gap-4",Zt[o]),children:u.map(h=>e.jsx(ce,{post:h,option:"card",LinkComponent:d},h.title))})]})})});yr.displayName="BlogSection";exports.ArrowDown=Xe;exports.ArrowRight=Y;exports.ArrowUp=er;exports.ArrowUpRight=Qe;exports.Badge=le;exports.BarChart=wt;exports.BlogCard=ce;exports.BlogSection=yr;exports.Box=Et;exports.Button=Oe;exports.CTA=mr;exports.Card=Ue;exports.CardContent=Ke;exports.CardDescription=qe;exports.CardFooter=Ye;exports.CardHeader=De;exports.CardTitle=We;exports.Check=Z;exports.ChevronDown=ae;exports.ChevronLeft=tr;exports.ChevronRight=rr;exports.Clock=Ct;exports.Code=St;exports.Container=$;exports.Cpu=Gt;exports.Database=Pt;exports.DollarSign=Mt;exports.ExternalLink=Tt;exports.FAQ=fr;exports.FeatureCard=ie;exports.FeatureGrid=ir;exports.Footer=gr;exports.Gauge=yt;exports.Globe=je;exports.Hero=Je;exports.LanguageSwitcher=hr;exports.Layers=jt;exports.Lock=kt;exports.LogoCloud=ar;exports.Mail=or;exports.MegaMenu=lr;exports.Menu=ke;exports.Modal=Me;exports.Navbar=nr;exports.Newsletter=br;exports.Palette=Bt;exports.Play=zt;exports.Plus=be;exports.Pricing=dr;exports.Prose=jr;exports.ProseLead=vr;exports.Quote=Ce;exports.Rocket=It;exports.Section=_e;exports.SectionHeader=Ne;exports.Send=At;exports.ShieldCheck=bt;exports.Sliders=Lt;exports.Slot=we;exports.Smartphone=vt;exports.Stack=Ze;exports.Star=sr;exports.Stats=cr;exports.Terminal=Rt;exports.TestimonialCard=ve;exports.Testimonials=ur;exports.Users=Nt;exports.X=xe;exports.Zap=ht;exports.cn=l;exports.getContrastText=I;exports.iso2ToFlagEmoji=pr;exports.useTokenForeground=de;
|
|
7
|
+
TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW`.split(/\s+/));function ot(r){const t=r.toUpperCase();return Ks.has(t)?String.fromCodePoint(127462+t.charCodeAt(0)-65,127462+t.charCodeAt(1)-65):""}function Ys(r,t,s){m.useEffect(()=>{if(!r)return;const o=n=>{t.current&&!t.current.contains(n.target)&&s()},l=n=>{n.key==="Escape"&&s()};return document.addEventListener("pointerdown",o),document.addEventListener("keydown",l),()=>{document.removeEventListener("pointerdown",o),document.removeEventListener("keydown",l)}},[r,t,s])}function nt(r,{size:t="text-sm",globeClass:s="text-muted-foreground"}={}){const o=ot(r);return o?e.jsx("span",{"aria-hidden":!0,className:i(t,"leading-none"),children:o}):e.jsx(we,{className:i("h-4 w-4 shrink-0",s)})}function lt({inverse:r,open:t,showFlag:s,currentLang:o,onClick:l,ariaProps:n}){return e.jsxs("button",{type:"button","aria-haspopup":n.haspopup,"aria-expanded":n.expanded,"aria-controls":n.controls,onClick:l,className:i("inline-flex h-9 cursor-pointer items-center gap-1.5 rounded-lg border px-3 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",r?"border-white/10 text-on-secondary hover:bg-white/10":"border-border text-foreground hover:bg-surface"),children:[s?nt(o.code,{globeClass:r?"opacity-70":"text-muted-foreground"}):e.jsx(we,{className:i("h-4 w-4",r?"opacity-70":"text-muted-foreground")}),e.jsx("span",{className:"tracking-tight",children:o.label}),e.jsx(ne,{className:i("h-3.5 w-3.5 transition-transform duration-150",t&&"rotate-180",r?"opacity-70":"text-muted-foreground")})]})}function at({lang:r,active:t,onSelect:s,variant:o,showFlag:l}){return e.jsxs("button",{type:"button",role:"option","aria-selected":t,onClick:s,className:o==="modal"?i("flex w-full cursor-pointer items-center justify-between gap-3 rounded-lg border px-4 py-3 text-left transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",t?"border-primary/40 bg-primary-soft text-foreground":"border-border text-foreground hover:bg-surface-strong"):i("flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-3 py-2 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",t?"bg-surface-strong text-foreground":"text-muted-foreground hover:bg-surface-strong hover:text-foreground"),children:[e.jsxs("span",{className:o==="modal"?"flex items-center gap-3":"flex items-center gap-2.5",children:[l?nt(r.code,o==="modal"?{size:"text-base"}:{}):null,e.jsx("span",{className:"text-sm font-medium",children:r.label})]}),e.jsxs("span",{className:o==="modal"?"flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground":void 0,children:[o==="modal"?r.code:null,t?e.jsx(Y,{className:o==="modal"?"h-4 w-4 text-primary":"h-3.5 w-3.5 text-primary"}):null]})]},r.code)}function it({className:r,languages:t,open:s,onOpenChange:o,current:l,currentLang:n,setCurrent:a,align:d="end",showFlag:c=!1,inverse:u=!1,modalTitle:x,value:f,defaultValue:p,onChange:v,...g}){const y=m.useId(),b=`--ls-${y.replace(/:/g,"")}`,N=m.useRef(null);return Ys(s,N,()=>o(!1)),e.jsxs("div",{ref:N,className:i("relative inline-flex",r),...g,children:[e.jsx("button",{type:"button",style:{anchorName:b},onClick:()=>o(!s),children:e.jsx(lt,{inverse:u,open:s,showFlag:c,currentLang:n,onClick:()=>o(!s),ariaProps:{haspopup:"listbox",expanded:s,controls:y}})}),e.jsx("div",{id:y,role:"listbox","aria-label":"Select language",style:{positionAnchor:b,top:"anchor(bottom)",...d==="start"?{left:"anchor(left)"}:{right:"anchor(right)"}},className:i("absolute top-full z-50 mt-2 min-w-[10rem] rounded-lg border border-border bg-surface p-1 shadow-raised transition-all duration-150",d==="start"?"left-0":"right-0",s?"visible translate-y-0 opacity-100":"pointer-events-none invisible -translate-y-1 opacity-0"),children:t.map(k=>e.jsx(at,{lang:k,active:k.code===l,onSelect:()=>a(k.code),variant:"dropdown",showFlag:c},k.code))})]})}it.displayName="LanguageSwitcherDropdown";const Zs={sm:"max-w-sm",md:"max-w-lg",lg:"max-w-2xl"},Ae=m.forwardRef(({className:r,open:t,onClose:s,title:o,description:l,footer:n,size:a="md",children:d,...c},u)=>{const x=m.useId(),f=m.useId(),p=m.useRef(null),v=m.useRef(s);return m.useEffect(()=>{v.current=s},[s]),m.useEffect(()=>{const g=p.current;g&&(g.hasAttribute("popover")||g.setAttribute("popover","auto"))},[]),m.useEffect(()=>{const g=p.current;g&&(t?(g.matches(":popover-open")||g.showPopover(),document.body.style.overflow="hidden"):(g.matches(":popover-open")&&g.hidePopover(),document.body.style.overflow=""))},[t]),m.useEffect(()=>{const g=p.current;if(!g)return;const y=b=>{var N;b.newState==="closed"&&((N=v.current)==null||N.call(v))};return g.addEventListener("toggle",y),()=>g.removeEventListener("toggle",y)},[]),m.useEffect(()=>()=>{document.body.style.overflow=""},[]),e.jsxs("div",{ref:g=>{p.current=g,typeof u=="function"?u(g):u&&(u.current=g)},role:"dialog","aria-modal":"true","aria-labelledby":o?x:void 0,"aria-describedby":l?f:void 0,className:i("modal-anim modal-backdrop fixed inset-0 z-[100] m-auto h-fit max-h-[calc(100vh-2rem)] w-fit max-w-[calc(100vw-2rem)] overflow-y-auto rounded-2xl border border-border bg-surface p-6 text-foreground shadow-overlay",Zs[a],r),...c,children:[o?e.jsx("h2",{id:x,className:"pr-8 font-display text-lg font-semibold tracking-tight text-foreground",children:o}):null,l?e.jsx("p",{id:f,className:"mt-1.5 text-sm leading-6 text-muted-foreground",children:l}):null,e.jsx("button",{type:"button","aria-label":"Close dialog",onClick:s,className:"absolute right-4 top-4 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors duration-150 hover:bg-surface-strong hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx(ae,{className:"h-4 w-4"})}),e.jsx("div",{className:o||l?"mt-4":"pt-8",children:d}),n?e.jsx("div",{className:"mt-6 flex flex-wrap items-center justify-end gap-3",children:n}):null]})});Ae.displayName="Modal";function dt({className:r,languages:t,open:s,onOpenChange:o,current:l,currentLang:n,setCurrent:a,modalTitle:d,showFlag:c=!1,inverse:u=!1,align:x,value:f,defaultValue:p,onChange:v,...g}){const y=m.useRef(null);return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:y,className:i("relative inline-flex",r),...g,children:e.jsx(lt,{inverse:u,open:s,showFlag:c,currentLang:n,onClick:()=>o(!s),ariaProps:{haspopup:"dialog",expanded:s}})}),e.jsx(Ae,{open:s,onClose:()=>o(!1),title:d,size:"sm",children:e.jsx("div",{role:"listbox","aria-label":"Select language",className:"grid min-w-[19rem] gap-1.5",children:t.map(b=>e.jsx(at,{lang:b,active:b.code===l,onSelect:()=>a(b.code),variant:"modal",showFlag:c},b.code))})})]})}dt.displayName="LanguageSwitcherModal";const ct=({option:r="dropdown",languages:t,value:s,defaultValue:o,onChange:l,...n})=>{const a=Ws(t,s,o,l);if(t.length===0)return null;const d={languages:t,value:s,defaultValue:o,onChange:l,...n,open:a.open,onOpenChange:a.setOpen,current:a.current,currentLang:a.currentLang,setCurrent:a.setCurrent};return r==="modal"?e.jsx(dt,{...d}):e.jsx(it,{...d})};ct.displayName="LanguageSwitcher";function Be(r){const[t,s]=m.useState(""),[o,l]=m.useState(!1),[n,a]=m.useState(null);return{email:t,done:o,error:n,handleSubmit:u=>{u.preventDefault();const x=t.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(x)){a("Please enter a valid email.");return}a(null),l(!0),r==null||r(x)},updateEmail:u=>{s(u),n&&a(null)}}}const ut="w-full rounded-lg border border-border bg-surface px-4 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background";function Ee({message:r}){return e.jsxs("p",{className:"flex items-center gap-2 rounded-lg border border-accent/40 bg-accent/10 px-4 py-3.5 text-sm font-medium text-accent",role:"status",children:[e.jsx(Y,{className:"h-4 w-4"}),r]})}function ze({error:r,note:t}){return r?e.jsx("p",{className:"mt-2 text-sm font-medium text-red-500",role:"alert",children:r}):t?e.jsx("p",{className:"mt-3 text-xs leading-5 text-muted-foreground",children:t}):null}function xt({className:r,placeholder:t="you@company.com",buttonLabel:s="Join",successMessage:o="You’re on the list!",note:l,onSubmit:n,...a}){const{email:d,done:c,error:u,handleSubmit:x,updateEmail:f}=Be(n);return e.jsx("form",{onSubmit:x,className:i("w-full",r),...a,children:c?e.jsx(Ee,{message:o}):e.jsxs(e.Fragment,{children:[e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:d,onChange:p=>f(p.target.value),placeholder:t,className:i(ut,"h-11")}),e.jsxs("button",{type:"submit",className:"inline-flex h-11 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-lg bg-primary px-5 text-sm font-semibold text-on-primary transition-colors duration-200 hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[s,e.jsx(D,{className:"h-4 w-4 opacity-60"})]})]}),e.jsx(ze,{error:u,note:l})]})})}xt.displayName="NewsletterInline";function mt({className:r,placeholder:t="you@company.com",buttonLabel:s="Join",successMessage:o="You’re on the list!",note:l,onSubmit:n,...a}){const{email:d,done:c,error:u,handleSubmit:x,updateEmail:f}=Be(n);return e.jsx("form",{onSubmit:x,className:i("w-full",r),...a,children:c?e.jsx(Ee,{message:o}):e.jsxs("div",{className:"rounded-xl border border-border bg-surface p-7",children:[e.jsxs("div",{className:"mb-5 flex items-center gap-3",children:[e.jsx("span",{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg bg-primary-soft text-primary",children:e.jsx(hr,{className:"h-4 w-4"})}),e.jsx("p",{className:"font-display text-lg font-semibold tracking-tight text-foreground",children:"Monthly digest"})]}),e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:d,onChange:p=>f(p.target.value),placeholder:t,className:i(ut,"h-11")}),e.jsxs("button",{type:"submit",className:"inline-flex h-11 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-lg bg-primary px-5 text-sm font-semibold text-on-primary transition-colors duration-200 hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[s,e.jsx(D,{className:"h-4 w-4 opacity-60"})]})]}),e.jsx(ze,{error:u,note:l})]})})}mt.displayName="NewsletterCard";function ft({className:r,placeholder:t="you@company.com",buttonLabel:s="Join",successMessage:o="You’re on the list!",note:l,onSubmit:n,...a}){const{email:d,done:c,error:u,handleSubmit:x,updateEmail:f}=Be(n);return e.jsxs("form",{onSubmit:x,className:i("w-full",r),...a,children:[c?e.jsx(Ee,{message:o}):e.jsxs("div",{className:"flex items-end gap-3 border-b border-foreground/20 pb-3 transition-colors duration-200 focus-within:border-foreground",children:[e.jsx("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Your email address"}),e.jsx("input",{id:"newsletter-email",type:"email",autoComplete:"email",value:d,onChange:p=>f(p.target.value),placeholder:t,className:"w-full bg-transparent text-sm text-foreground placeholder:text-muted-foreground focus:outline-none"}),e.jsxs("button",{type:"submit",className:"inline-flex shrink-0 cursor-pointer items-center gap-1.5 text-sm font-semibold text-foreground transition-colors duration-150 hover:text-primary",children:[s,e.jsx(D,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5"})]})]}),e.jsx(ze,{error:u,note:l})]})}ft.displayName="NewsletterUnderline";const pt=r=>{const{option:t="inline",...s}=r;return t==="card"?e.jsx(mt,{...s}):t==="underline"?e.jsx(ft,{...s}):e.jsx(xt,{...s})};pt.displayName="Newsletter";const _s={sm:"prose-sm",md:"prose",lg:"prose-lg",xl:"prose-xl","2xl":"prose-2xl"},gt=m.forwardRef(({className:r,size:t="lg",html:s,wide:o=!1,children:l,...n},a)=>e.jsx("article",{ref:a,className:i("prose prose-neutral",_s[t],!o&&"max-w-3xl",r),...s?{dangerouslySetInnerHTML:{__html:s}}:null,...n,children:s?null:l}));gt.displayName="Prose";const ht=m.forwardRef(({className:r,...t},s)=>e.jsx("p",{ref:s,className:i("lead",r),...t}));ht.displayName="ProseLead";function Js({name:r,avatar:t}){if(t)return t;const s=r.split(" ").map(o=>o[0]).join("").slice(0,2).toUpperCase();return e.jsx("span",{className:"grid h-8 w-8 shrink-0 place-items-center rounded-full bg-primary-soft text-[11px] font-bold text-primary",children:s})}const Qs=({post:r})=>{var t,s;return r.cover?e.jsx("img",{src:r.cover,alt:"",loading:"lazy",className:"aspect-[16/10] w-full object-cover"}):e.jsx("div",{className:"grid aspect-[16/10] w-full place-items-center bg-surface-strong",style:r.accent?{background:`linear-gradient(135deg, ${r.accent}22, ${r.accent}11)`}:void 0,children:e.jsx("span",{className:"font-display text-4xl font-bold tracking-[-0.04em]",style:{color:r.accent??"rgb(var(--color-foreground) / 0.12)"},children:(s=(t=r.category)==null?void 0:t[0])==null?void 0:s.toUpperCase()})})},bt=m.forwardRef(({className:r,post:t,LinkComponent:s,...o},l)=>{const n=s??"a",a=t.author;return e.jsxs(n,{ref:l,href:t.href??"#",className:i("group flex h-full cursor-pointer flex-col overflow-hidden rounded-xl border border-border bg-surface transition-colors duration-200 hover:border-foreground/20",r),...o,children:[e.jsx("div",{className:"overflow-hidden",children:e.jsx(Qs,{post:t})}),e.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.category?e.jsx(he,{variant:"soft",size:"sm",children:t.category}):e.jsx("span",{}),t.readTime?e.jsx("span",{className:"text-xs text-muted-foreground",children:t.readTime}):null]}),e.jsx("h3",{className:"mt-4 font-display text-lg font-semibold leading-snug tracking-tight text-foreground sm:text-xl",children:t.title}),t.excerpt?e.jsx("p",{className:"mt-2.5 line-clamp-2 text-sm leading-6 text-muted-foreground",children:t.excerpt}):null,e.jsxs("div",{className:"mt-5 flex items-center justify-between gap-3 border-t border-border pt-4",children:[a?e.jsxs("span",{className:"flex min-w-0 items-center gap-2.5",children:[e.jsx(Js,{name:a.name,avatar:a.avatar}),e.jsx("span",{className:"truncate text-xs font-medium text-foreground",children:a.name})]}):e.jsx("span",{className:"text-xs tabular-nums text-muted-foreground",children:t.date}),e.jsx(D,{className:"h-4 w-4 text-foreground/35 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground"})]})]})]})});bt.displayName="BlogCardCard";const jt=m.forwardRef(({className:r,post:t,LinkComponent:s,...o},l)=>{const n=s??"a";return e.jsxs(n,{ref:l,href:t.href??"#",className:i("group flex cursor-pointer items-baseline gap-5 py-6",r),...o,children:[e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[t.category?e.jsx("span",{className:"rounded-full bg-primary-soft px-2.5 py-0.5 text-xs font-semibold text-primary",children:t.category}):null,e.jsxs("span",{className:"text-xs tabular-nums text-muted-foreground",children:[t.date,t.readTime?` · ${t.readTime}`:""]})]}),e.jsx("h3",{className:"mt-2.5 font-display text-xl font-semibold tracking-tight text-foreground transition-transform duration-200 group-hover:translate-x-1 sm:text-2xl",children:t.title})]}),e.jsx("span",{className:"text-foreground/30 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground",children:e.jsx(cr,{className:"h-5 w-5"})})]})});jt.displayName="BlogCardRow";const le=m.forwardRef(({option:r="card",...t},s)=>r==="row"?e.jsx(jt,{ref:s,...t}):e.jsx(bt,{ref:s,...t}));le.displayName="BlogCard";const Xs={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3"},yt=m.forwardRef(({className:r,posts:t,limit:s,columns:o=3,option:l="card",eyebrow:n,eyebrowStyle:a="caps",title:d,description:c,showAllLabel:u,showAllHref:x,LinkComponent:f,...p},v)=>{const g=s?t.slice(0,s):t,y=f??"a";return e.jsx("section",{ref:v,className:i("w-full py-20 sm:py-24",r),...p,children:e.jsxs(z,{children:[(n||d||c||x)&&e.jsxs("div",{className:"mb-12 flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{className:"max-w-2xl",children:[n?e.jsx("p",{className:i("text-xs font-semibold uppercase tracking-[0.18em]",a==="caps"&&"text-foreground/50",a==="soft"&&"inline-flex items-center rounded-full bg-primary-soft px-3 py-1.5 text-primary",a==="plain"&&"text-primary"),children:n}):null,d?e.jsx("h2",{className:"mt-4 font-display text-balance text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl",children:d}):null,c?e.jsx("p",{className:"mt-4 text-pretty text-base leading-7 text-muted-foreground",children:c}):null]}),x?e.jsxs(y,{href:x,className:"group inline-flex shrink-0 cursor-pointer items-center gap-1.5 text-sm font-semibold text-foreground transition-colors duration-150 hover:text-primary",children:[u??"All posts",e.jsx(D,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5"})]}):null]}),l==="row"?e.jsx("div",{className:"divide-y divide-border border-t border-border",children:g.map(b=>e.jsx(le,{post:b,option:"row",LinkComponent:f},b.title))}):e.jsx("div",{className:i("grid grid-cols-1 gap-4",Xs[o]),children:g.map(b=>e.jsx(le,{post:b,option:"card",LinkComponent:f},b.title))})]})})});yt.displayName="BlogSection";exports.ArrowDown=ur;exports.ArrowRight=D;exports.ArrowUp=xr;exports.ArrowUpRight=cr;exports.Badge=he;exports.BarChart=vs;exports.BlogCard=le;exports.BlogSection=yt;exports.Box=Bs;exports.Button=Ze;exports.CTA=Kr;exports.Card=_e;exports.CardContent=er;exports.CardDescription=Xe;exports.CardFooter=rr;exports.CardHeader=Je;exports.CardTitle=Qe;exports.Check=Y;exports.ChevronDown=ne;exports.ChevronLeft=pr;exports.ChevronRight=fr;exports.Clock=ks;exports.Code=Ms;exports.Container=z;exports.Cpu=Es;exports.Database=As;exports.DollarSign=Cs;exports.ExternalLink=Ts;exports.FAQ=Jr;exports.FeatureCard=ie;exports.FeatureGrid=Sr;exports.Footer=st;exports.Gauge=ys;exports.Globe=we;exports.Hero=dr;exports.LanguageSwitcher=ct;exports.Layers=bs;exports.Lock=ws;exports.LogoCloud=wr;exports.Mail=hr;exports.MegaMenu=jr;exports.Menu=ve;exports.Modal=Ae;exports.Navbar=br;exports.Newsletter=pt;exports.Palette=zs;exports.Play=Ls;exports.Plus=mr;exports.Pricing=Ir;exports.Prose=gt;exports.ProseLead=ht;exports.Quote=Ne;exports.Rocket=Fs;exports.Section=sr;exports.SectionHeader=be;exports.Send=Rs;exports.ShieldCheck=hs;exports.Sliders=Ps;exports.Slot=ge;exports.Smartphone=js;exports.Stack=tr;exports.Star=gr;exports.Stats=Br;exports.Terminal=Ss;exports.TestimonialCard=Re;exports.Testimonials=Dr;exports.Users=Ns;exports.X=ae;exports.Zap=gs;exports.cn=i;exports.getContrastText=E;exports.iso2ToFlagEmoji=ot;exports.useTokenForeground=ee;
|
|
8
8
|
//# sourceMappingURL=index.cjs.map
|