1import{l as d}from"./Cd1Zd1U9.js";import{u as m}from"./DirUPB5L.js";import{ae as o,W as k,bR as a,ai as u,dg as g,ah as _,bz as y,ak as n,cn as r,aj as l,c5 as c,bq as p,c9 as f}from"./C9Z41gEb.js";import"./5TQJ3fzz.js";import"./BpTVF4It.js";import"./BK53tKGP.js";import"./BH82RGaG.js";const h={name:"WsHeaderQuickLink",mixins:[d],props:{growIcon:{type:Boolean,default:!1},icon:{type:String,default:void 0},linkDescription:{type:String,default:void 0},svgImage:{type:Array,default:void 0},title:{type:String,default:void 0},titlePlacement:{type:String,default:"No title displayed"}},setup(e){const s=o(()=>m().get(e.icon)),t=o(()=>Array.isArray(e.svgImage)&&e.svgImage.length&&e.svgImage[0].url||s.value.custom);return{linkIcon:s,imageUrl:t}}},w=["alt","src"],v={key:1,class:"ws-icon notranslate","aria-hidden":"true"},b={key:2,class:"ws-pill ws-pill--small ws-pill--accent"},I={key:0,class:"ws-header-quick-link__text d-none d-md-block ml-2 text-body-2"};function C(e,s,t,i,q,S){return a(),u(f(e.links_linkComponent==="div"?"button":e.links_linkComponent),p(e.links_props,{class:"ws-header-quick-link ws-btn","aria-label":t.linkDescription||t.title}),{default:g(()=>[_("span",{class:y(["ws-header-quick-link__icon",{"ws-header-quick-link__icon--grow":t.growIcon}])},[i.imageUrl?(a(),n("img",{key:0,class:"ws-header-quick-link__svg-image",alt:t.titlePlacement==="No title displayed"?t.title??"":"",src:i.imageUrl},null,8,w)):i.linkIcon.mdi?(a(),n("span",v,r(i.linkIcon.mdi),1)):l("",!0),e.$slots.badge?(a(),n("div",b,[c(e.$slots,"badge")])):l("",!0)],2),c(e.$slots,"text",{},()=>[t.titlePlacement==="Next to icon"?(a(),n("span",I,r(t.title),1)):l("",!0)])]),_:3},16,["aria-label"])}const W=k(h,[["render",C]]);export{W as default};
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.