PageSourceSearch

https://md-app-eta.vercel.app/_nuxt/BEAhkwBA.js

js md-app-eta.vercel.app collected 2026-10-03 07:18:01 UTC 6,596 bytes, 1 lines download raw bytes

1import{M as S,l as z,aJ as B,O as T,aK as V,c,w as F,T as b,aL as I,b as h,o as l,s as C,e as n,f as a,U as x,W as s,v as g,_ as O,a9 as k,aa as q,ac as P,m as j,aM as M,x as d,P as N}from"#entry";const A={slots:{root:"relative flex rounded-lg",spotlight:"absolute inset-0 rounded-[inherit] pointer-events-none bg-default/90",container:"relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6",wrapper:"flex flex-col flex-1 items-start",header:"mb-4",body:"flex-1",footer:"pt-4 mt-auto",leading:"inline-flex items-center mb-2.5",leadingIcon:"size-5 shrink-0 text-primary",title:"text-base text-pretty font-semibold text-highlighted",description:"text-[15px] text-pretty"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center"},vertical:{container:""}},reverse:{true:{wrapper:"lg:order-last"}},variant:{solid:{root:"bg-inverted text-inverted",title:"text-inverted",description:"text-dimmed"},outline:{root:"bg-default ring ring-default",description:"text-muted"},soft:{root:"bg-elevated/50",description:"text-toned"},subtle:{root:"bg-elevated/50 ring ring-default",description:"text-toned"},ghost:{description:"text-muted"},naked:{container:"p-0 sm:p-0",description:"text-muted"}},to:{true:{root:["transition"]}},title:{true:{description:"mt-1"}},highlight:{true:{root:"ring-2"}},highlightColor:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},spotlight:{true:{root:"[--spotlight-size:400px] before:absolute before:-inset-px before:pointer-events-none before:rounded-[inherit] before:bg-[radial-gradient(var(--spotlight-size)_var(--spotlight-size)_at_calc(var(--spotlight-x,0px))_calc(var(--spotlight-y,0px)),var(--spotlight-color),transparent_70%)]"}},spotlightColor:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""}},compoundVariants:[{variant:"solid",to:!0,class:{root:"hover:bg-inverted/90"}},{variant:"outline",to:!0,class:{root:"hover:bg-elevated/50"}},{variant:"soft",to:!0,class:{root:"hover:bg-elevated"}},{variant:"subtle",to:!0,class:{root:"hover:bg-elevated"}},{variant:"subtle",to:!0,highlight:!1,class:{root:"hover:ring-accented"}},{variant:"ghost",to:!0,class:{root:"hover:bg-elevated/50"}},{highlightColor:"primary",highlight:!0,class:{root:"ring-primary"}},{highlightColor:"secondary",highlight:!0,class:{root:"ring-secondary"}},{highlightColor:"success",highlight:!0,class:{root:"ring-success"}},{highlightColor:"info",highlight:!0,class:{root:"ring-info"}},{highlightColor:"warning",highlight:!0,class:{root:"ring-warning"}},{highlightColor:"error",highlight:!0,class:{root:"ring-error"}},{highlightColor:"neutral",highlight:!0,class:{root:"ring-inverted"}},{spotlightColor:"primary",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-primary)]"}},{spotlightColor:"secondary",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-secondary)]"}},{spotlightColor:"success",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-success)]"}},{spotlightColor:"info",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-info)]"}},{spotlightColor:"warning",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-warning)]"}},{spotlightColor:"error",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-error)]"}},{spotlightColor:"neutral",spotlight:!0,class:{root:"[--spotlight-color:var(--ui-bg-inverted)]"}},{to:!0,class:{root:"has-focus-visible:ring-2 has-focus-visible:ring-primary"}}],defaultVariants:{variant:"outline",highlightColor:"primary",spotlightColor:"primary"}},L=Object.assign({inheritAttrs:!1},{__name:"UPageCard",props:{as:{type:null,required:!1},icon:{type:[String,Object],required:!1},title:{type:String,required:!1},description:{type:String,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},highlightColor:{type:null,required:!1},spotlight:{type:Boolean,required:!1},spotlightColor:{type:null,required:!1},variant:{type:null,required:!1},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const t=e,i=S(),p=z(),u=B(),w=T(),{elementX:v,elementY:f}=V(p,{eventFilter:u.eventFilter}),y=c(()=>t.spotlight&&(v.value!==0||f.value!==0));F(()=>t.spotlight,o=>{o?u.resume():u.pause()},{immediate:!0});const r=c(()=>
1b({extend:b(A),...w.ui?.pageCard||{}})({orientation:t.orientation,reverse:t.reverse,variant:t.variant,to:!!t.to||!!t.onClick,title:!!t.title||!!i.title,highlight:t.highlight,highlightColor:t.highlightColor,spotlight:y.value,spotlightColor:t.spotlightColor})),$=c(()=>(i.title&&I(i.title())||t.title||"Card link").trim());return(o,m)=>(l(),h(d(N),{ref_key:"cardRef",ref:p,as:e.as,"data-orientation":e.orientation,class:s(r.value.root({class:[t.ui?.root,t.class]})),style:M(y.value&&{"--spotlight-x":`${d(v)}px`,"--spotlight-y":`${d(f)}px`}),onClick:e.onClick},{default:C(()=>[t.spotlight?(l(),n("div",{key:0,class:s(r.value.spotlight({class:t.ui?.spotlight}))},null,2)):a("",!0),x("div",{class:s(r.value.container({class:t.ui?.container}))},[i.header||e.icon||i.leading||i.body||e.title||i.title||e.description||i.description||i.footer?(l(),n("div",{key:0,class:s(r.value.wrapper({class:t.ui?.wrapper}))},[i.header?(l(),n("div",{key:0,class:s(r.value.header({class:t.ui?.header}))},[g(o.$slots,"header")],2)):a("",!0),e.icon||i.leading?(l(),n("div",{key:1,class:s(r.value.leading({class:t.ui?.leading}))},[g(o.$slots,"leading",{},()=>[e.icon?(l(),h(O,{key:0,name:e.icon,class:s(r.value.leadingIcon({class:t.ui?.leadingIcon}))},null,8,["name","class"])):a("",!0)])],2)):a("",!0),i.body||e.title||i.title||e.description||i.description?(l(),n("div",{key:2,class:s(r.value.body({class:t.ui?.body}))},[g(o.$slots,"body",{},()=>[e.title||i.title?(l(),n("div",{key:0,class:s(r.value.title({class:t.ui?.title}))},[g(o.$slots,"title",{},()=>[k(q(e.title),1)])],2)):a("",!0),e.description||i.description?(l(),n("div",{key:1,class:s(r.value.description({class:t.ui?.description}))},[g(o.$slots,"description",{},()=>[k(q(e.description),1)])],2)):a("",!0)])],2)):a("",!0),i.footer?(l(),n("div",{key:3,class:s(r.value.footer({class:t.ui?.footer}))},[g(o.$slots,"footer")],2)):a("",!0)],2)):a("",!0),g(o.$slots,"default")],2),e.to?(l(),h(P,j({key:1,"aria-label":$.value},{to:e.to,target:e.target,...o.$attrs},{class:"focus:outline-none peer",raw:""}),{default:C(()=>[...m[0]||(m[0]=[x("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):a("",!0)]),_:3},8,["as","data-orientation","class","style","onClick"]))}});export{L 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.