1import"./rolldown-runtime-QTnfLwEv.js";import{i as e,o as t}from"./editor-VB3J0CUR.js";import{t as n}from"./utils-45y4rta_.js";import{$ as r,t as i}from"./index-YyZ9aCcZ.js";import{t as a}from"./typography-DYLuE50i.js";import{n as o,t as s}from"./card-IHWo_MSG.js";t();var c=e(),l=({icon:e,title:t,titleHighlight:l,subtitle:u,description:d,footer:f,variant:p=`gradient`,className:m,iconHref:h})=>{let{theme:g}=r(),_=`bg-gradient-to-r ${i(g?.scheme)}`,v={gradient:n(`relative overflow-hidden`,`bg-gradient-to-br from-theme-50 via-theme-50/50 to-white`,`dark:from-theme-950 dark:via-gray-900 dark:to-gray-900`,`border-2 border-theme-200 dark:border-theme-800`,`shadow-xl hover:shadow-2xl transition-shadow`),subtle:n(`relative overflow-hidden`,`bg-gradient-to-br from-white via-gray-50/50 to-white`,`dark:from-gray-900 dark:via-gray-800/50 dark:to-gray-900`,`border-2 border-gray-200/50 dark:border-gray-700/50`,`shadow-lg hover:shadow-xl transition-shadow`)},y={gradient:n(`relative p-5 rounded-2xl`,`bg-gradient-to-br`,_,`shadow-2xl`,`transform hover:scale-105 transition-transform duration-300`),subtle:n(`relative p-4 rounded-xl`,`bg-gray-100 dark:bg-gray-800`,`text-gray-700 dark:text-gray-300`,`shadow-lg hover:shadow-xl transition-shadow`)};return(0,c.jsxs)(s,{className:n(v[p],m),children:[p===`gradient`&&(0,c.jsx)(`div`,{className:`absolute inset-0 opacity-5`,children:(0,c.jsx)(`div`,{className:`absolute inset-0`,style:{backgroundImage:`radial-gradient(circle at 2px 2px, currentColor 1px, transparent 1px)`,backgroundSize:`32px 32px`}})}),(0,c.jsx)(o,{className:`relative p-8 lg:p-10`,children:(0,c.jsxs)(`div`,{className:`mx-auto flex max-w-5xl flex-col items-center gap-6 lg:flex-row lg:gap-8`,children:[(0,c.jsx)(`div`,{className:`flex w-full flex-shrink-0 justify-center lg:w-auto lg:justify-start`,children:h?(0,c.jsxs)(`a`,{href:h,className:n(y[p],`cursor-pointer`),"aria-label":t,children:[(0,c.jsx)(e,{className:`relative z-10 h-12 w-12 text-white`}),p===`gradient`&&(0,c.jsx)(`div`,{className:`bg-theme-400 absolute inset-0 animate-pulse rounded-2xl opacity-50 blur-xl`})]}):(0,c.jsxs)(`div`,{className:y[p],children:[(0,c.jsx)(e,{className:`h-12 w-12 text-white`}),p===`gradient`&&(0,c.jsx)(`div`,{className:`bg-theme-400 absolute inset-0 animate-pulse rounded-2xl opacity-50 blur-xl`})]})}),(0,c.jsxs)(`div`,{className:`flex-1 space-y-4 text-center lg:text-left`,children:[(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`h3`,{className:n(`text-2xl leading-tight font-bold whitespace-normal lg:text-3xl lg:whitespace-nowrap`,p===`gradient`&&n(`bg-gradient-to-r`,_,`bg-clip-text text-transparent`),p===`subtle`&&`text-gray-900 dark:text-gray-100`),children:l?(0,c.jsxs)(c.Fragment,{children:[t.split(l)[0],(0,c.jsx)(`span`,{className:n(p===`subtle`&&n(_,`bg-clip-text text-transparent`)),children:l}),t.split(l)[1]]}):t}),u&&(0,c.jsx)(`p`,{className:n(`mt-2 text-sm font-semibold lg:text-base`,p===`gradient`&&`text-theme-700 dark:text-theme-300`,p===`subtle`&&`text-gray-600 dark:text-gray-400`),children:u})]}),(0,c.jsx)(a,{className:n(`text-lg leading-relaxed`,p===`gradient`&&`text-gray-700 dark:text-gray-200`,p===`subtle`&&`text-gray-700 dark:text-gray-300`),children:d}),f&&(0,c.jsx)(`div`,{className:`flex flex-wrap justify-center gap-6 pt-4 lg:justify-start`,children:(0,c.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,c.jsx)(`div`,{className:n(`h-2 w-2 rounded-full`,p===`gradient`&&`bg-theme-500`,p===`subtle`&&`bg-green-500`)}),(0,c.jsx)(`span`,{className:`text-sm font-medium`,children:f})]})})]})]})})]})};export{l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.