1import{_ as o}from"./4e1rLH6u.js";import{_ as t}from"./CAY8hCmm.js";import{aA as e}from"./B0rMoc_n.js";import{k as i,S as n,J as r,a1 as l,Z as c,z as a,N as f}from"./BQCIG6jt.js";const s=i({__name:"ChallengeTextButton",props:{fontSize:{default:"size60"},icon:{},iconColor:{},iconPosition:{},bgColor:{},fontColor:{},padding:{default:20},fontWeight:{default:"Regular"},hoverColor:{},iconRatio:{},width:{default:"auto"},height:{default:"auto"},center:{type:Boolean,default:!1},href:{},target:{},replace:{type:Boolean}},setup(i){const s=i,h=s.fontSize?e[s.fontSize]:e.size60;function g(){return{"font-size":`${h}px`,"line-height":1.5*h+"px","background-color":`${s.bgColor?s.bgColor:"transparent"}`,width:s.width,height:s.height,display:"flex","justify-content":"center","align-items":"center"}}return(e,i)=>{const h=o,p=t;return s.href?(r(),n(p,{key:0,to:s.href,target:s.target,replace:s.replace,style:l(g())},{default:c(()=>[a(h,{"font-size":s.fontSize,"font-color":s.fontColor,"font-weight":s.fontWeight,"icon-color":s.iconColor,icon:s.icon,"icon-position":s.iconPosition,"hover-color":s.hoverColor,"icon-ratio":s.iconRatio},{default:c(()=>[f(e.$slots,"default")]),_:3},8,["font-size","font-color","font-weight","icon-color","icon","icon-position","hover-color","icon-ratio"])]),_:3},8,["to","target","replace","style"])):(r(),n(p,{key:1,style:l(g())},{default:c(()=>[a(h,{"font-size":s.fontSize,"font-color":s.fontColor,"font-weight":s.fontWeight,"icon-color":s.iconColor,icon:s.icon,"icon-position":s.iconPosition,"hover-color":s.hoverColor,"icon-ratio":s.iconRatio},{default:c(()=>[f(e.$slots,"default")]),_:3},8,["font-size","font-color","font-weight","icon-color","icon","icon-position","hover-color","icon-ratio"])]),_:3},8,["style"]))}}});export{s 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.