1import{aZ as V,y as w,bc as A,V as M,bd as X,k as c,aG as Y,a5 as O,A as $,a as x,f as S,w as C,D as o,a1 as L,aO as h,a9 as j,ba as z,b as d,d as D,a0 as u,Z as f,X as P,a2 as p,a3 as R,e as I,Y as T,aq as F,be as Z,_ as q}from"./MozN5MsJ.js";import{_ as G}from"./CX9WLGhV.js";import{g as J}from"./D0p2BYE5.js";import{b as W,d as k,c as H}from"./CuygNPHn.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="3bec0f47-89aa-4279-8412-c20f47042773",t._sentryDebugIdIdentifier="sentry-dbid-3bec0f47-89aa-4279-8412-c20f47042773")}catch{}const K=V(W);function Q(t,e={}){const{x:s,y:i}=K(e),b=w(t??window?.document.body),l=w(0),n=w(0);return k&&A([b,s,i],()=>{const g=H(b);if(!g)return;const{left:v,top:r}=g.getBoundingClientRect(),y=s.value-(v+k.scrollX),m=i.value-(r+k.scrollY);Math.abs(y)>1500||Math.abs(m)>1500||k.screen?.width<=800||(l.value=y,n.value=m)},{immediate:!0,throttle:50}),{x:s,y:i,elementX:l,elementY:n}}const ee=M({inheritAttrs:!1,__name:"LandingCard",props:{...X,title:{type:String,default:void 0},description:{type:String,default:void 0},icon:{type:String,default:void 0},color:{type:String,default:"primary"},orientation:{type:String,default:"vertical"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){Z(a=>({a3ecdd52:o(s),v0ddb8715:o(i)}));const e=t,s=c(()=>e.color==="primary"?"rgb(var(--color-primary-DEFAULT))":h[e.color]?.["500"]||h[e.color]||e.color),i=c(()=>e.color==="primary"?"rgb(var(--color-primary-DEFAULT))":h[e.color]?.["400"]||h[e.color]||e.color),b=c(()=>({wrapper:"relative group isolate rounded-xl background-gradient ring-1 ring-gray-200 dark:ring-gray-800 before:hidden before:lg:block before:absolute before:-inset-[2px] before:h-[calc(100%+4px)] before:w-[calc(100%+4px)] before:z-[-1] before:rounded-[13px] flex-1 flex flex-col shadow",to:"transition-shadow duration-200",base:"flex-1 flex flex-col overflow-hidden",container:"",body:{base:j("gap-x-8 gap-y-4 rounded-xl flex-1",e.orientation==="vertical"&&"flex flex-col",!!n.default&&e.orientation==="horizontal"&&"grid lg:grid-cols-2 lg:items-center")},background:"bg-white dark:bg-gray-900 hover:bg-opacity-90 dark:hover:bg-opacity-90 transition-[background-opacity]",ring:"",rounded:"rounded-xl",shadow:"",icon:{wrapper:"mb-2 pointer-events-none",base:"w-8 h-8 flex-shrink-0 text-gray-900 dark:text-white"},title:"text-gray-900 dark:text-white text-base font-bold truncate",description:"text-[15px] text-gray-500 dark:text-gray-400 mt-1"})),l=w(),n=Y(),{elementX:g,elementY:v}=Q(l),{ui:r,attrs:y}=O("landing.card",$(e,"ui"),b,$(e,"class"),!0),m=c(()=>z(e)),B=c(()=>(e.title||n.title&&J(n.title())||"Card link").trim());return(a,_)=>{const E=F,N=R,U=G;return d(),x("div",L({ref_key:"el",ref:l,style:{"--x":`${o(g)}px`,"--y":`${o(v)}px`},class:[o(r).wrapper,a.to&&[o(r).to,"to"]]},o(y)),[S(U,{ui:o(r)},{default:C(()=>[D("div",{class:p(o(r).container)},[a.to?(d(),P(E,L({key:0,"aria-label":o(B)},o(m),{class:"focus:outline-none",tabindex:"-1"}),{default:C(()=>[..._[0]||(_[0]=[D("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):f("",!0),t.icon||a.$slots.icon?(d(),x("div",{key:1,class:p(o(r).icon.wrapper)},[u(a.$slots,"icon",{},()=>[S(N,{name:t.icon,class:p(o(r).icon.base)},null,8,["name","class"])],!0)],2)):f("",!0),t.title||a.$slots.title?(d(),x("p",{key:2,class:p(o(r).title)},[u(a.$slots,"title",{},()=>[I(T(t.title),1)],!0)],2)):f("",!0),t.description||a.$slots.description?(d(),x("div",{key:3,class:p(o(r).description)},[u(a.$slots,"description",{},()=>[I(T(t.description),1)],!0)],2)):f("",!0),u(a.$slots,"container",{},void 0,!0)],2),a.$slots.default?u(a.$slots,"default",{key:0},void 0,!0):f("",!0)]),_:3},8,["ui"])],16)}}}),ne=Object.assign(q(ee,[["__scopeId","data-v-437fae84"]]),{__name:"ULandingCard"});export{ne as _};
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.