1import{_ as m}from"./DgAK1XwS.js";import{d as b,l as C,o as f,h as y,j as g,D as i,v as B,t as k,p as h,e as s,G as z,i as _}from"./Bk_0yVAb.js";const v=b({__name:"RgButton",props:{data:{},btnClass:{},sizeClass:{},isButton:{type:Boolean}},setup(d){const a=d,p=a.btnClass||"btn--primary",c=a.sizeClass||"btn--regular",u=a.isButton??!1,e=C(()=>u||!a.data.cta.link||a.data.cta.link===""?"button":m);return(t,D)=>{var o,n,r,l;return t.data&&((o=t.data)!=null&&o.cta.text)?(f(),y(z(s(e)),{key:0,class:h(["btn",s(p),s(c)]),to:`${s(e)!=="button"?t.data.cta.link:""}`,target:(n=t.data)==null?void 0:n.cta.target,disabled:(r=t.data)==null?void 0:r.cta.disabled,type:(l=t.data)==null?void 0:l.cta.type},{default:g(()=>[i(t.$slots,"left"),B(" "+k(t.data.cta.text)+" ",1),i(t.$slots,"right")]),_:3},8,["class","to","target","disabled","type"])):_("",!0)}}});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.