import{d as l,e as p,l as c}from"./BmsEUx_s.js";import{k as m,G as e,M as u,H as a,I as b,L as t,u as o}from"./BO9AmBA3.js";const k={class:"py-1 bg-black"},f=m({__name:"LayoutHeaderTopBanner",props:{banner:{}},setup(L){const r=l(),{formatLink:s}=p(r),i=c;return(n,_)=>(e(),u("div",k,[(e(),a(t(n.banner.bannerLink?o(i):"p"),{class:"mx-auto max-w-4/5 text-center leading-6 text-white text-xs @hover-text-sm @hover-leading-8 transition-property-all transition-duration-300",to:n.banner.bannerLink?o(s)(n.banner.bannerLink):null},{default:b(()=>[(e(),a(t(n.banner.bannerLink?"p":"span"),{innerHTML:n.banner.bannerContent},null,8,["innerHTML"]))]),_:1},8,["to"]))]))}});export{f as _};