1import{av as h,aw as w,ax as b,o as a,f as u,g as q,e as t,k as n,n as l,a1 as o,X as p,x as c,i as d,p as f,F as S,v as _,S as C,z as $,a4 as B,j as P,aD as m}from"./Zasxx8kA.js";const j={slots:{root:"relative border-b border-default py-8",container:"",wrapper:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",headline:"mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl text-pretty font-bold text-highlighted",description:"text-lg text-pretty text-muted",links:"flex flex-wrap items-center gap-1.5"},variants:{title:{true:{description:"mt-4"}}}},V={__name:"UPageHeader",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(g){const v=g,i=h(),e=w("pageHeader",v),x=b(),s=P(()=>m({extend:m(j),...x.ui?.pageHeader||{}})({title:!!e.title||!!i.title}));return(r,H)=>(a(),u(t(B),{as:t(e).as,"data-slot":"root",class:l(s.value.root({class:[t(e).ui?.root,t(e).class]}))},{default:q(()=>[t(e).headline||i.headline?(a(),n("div",{key:0,"data-slot":"headline",class:l(s.value.headline({class:t(e).ui?.headline}))},[o(r.$slots,"headline",{},()=>[p(c(t(e).headline),1)])],2)):d("",!0),f("div",{"data-slot":"container",class:l(s.value.container({class:t(e).ui?.container}))},[f("div",{"data-slot":"wrapper",class:l(s.value.wrapper({class:t(e).ui?.wrapper}))},[t(e).title||i.title?(a(),n("h1",{key:0,"data-slot":"title",class:l(s.value.title({class:t(e).ui?.title}))},[o(r.$slots,"title",{},()=>[p(c(t(e).title),1)])],2)):d("",!0),t(e).links?.length||i.links?(a(),n("div",{key:1,"data-slot":"links",class:l(s.value.links({class:t(e).ui?.links}))},[o(r.$slots,"links",{},()=>[(a(!0),n(S,null,_(t(e).links,(y,k)=>(a(),u(C,$({key:k,color:"neutral",variant:"outline"},{ref_for:!0},y),null,16))),128))])],2)):d("",!0)],2),t(e).description||i.description?(a(),n("div",{key:0,"data-slot":"description",class:l(s.value.description({class:t(e).ui?.description}))},[o(r.$slots,"description",{},()=>[p(c(t(e).description),1)])],2)):d("",!0),o(r.$slots,"default")],2)]),_:3},8,["as","class"]))}};export{V 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.