import{a as c}from"./runtime-dom.esm-bundler.f6259c83.js";import{C as b}from"./Index.504e4ac6.js";import{S as p}from"./CheckSolid.ae0a962b.js";import{S as g}from"./ExclamationSolid.5f05c28e.js";import{a6 as k,o as n,a1 as a,a2 as m,T as r,a4 as l,a as o,$ as i,a7 as y,c as C}from"./runtime-core.esm-bundler.4f558f23.js";const S={class:"aioseo-alert-actionable__content"},d=o("span",null,"→",-1),h={__name:"Actionable",props:{title:String,text:String,button:String,buttonType:String,type:String,size:String,showClose:Boolean},emits:["click","close-alert"],setup(t){return(s,e)=>{const f=k("base-button");return n(),a(r(b),{class:"aioseo-alert-actionable",type:t.type,size:t.size,showClose:t.showClose,onCloseAlert:e[2]||(e[2]=u=>s.$emit("close-alert"))},{default:m(()=>[t.type==="yellow"?(n(),a(r(g),{key:0})):l("",!0),t.type==="green"?(n(),a(r(p),{key:1})):l("",!0),o("div",S,[o("strong",null,i(t.title),1),o("p",null,[y(i(t.text)+" ",1),t.buttonType==="link"&&t.button?(n(),C("a",{key:0,href:"#",onClick:e[0]||(e[0]=c(u=>s.$emit("click"),["prevent"]))},[y(i(t.button)+" ",1),d])):l("",!0)]),t.buttonType!=="link"&&t.button?(n(),a(f,{key:0,size:"medium",type:"blue",tag:"button",onClick:e[1]||(e[1]=c(u=>s.$emit("click"),["stop"]))},{default:m(()=>[o("span",null,i(t.button),1)]),_:1})):l("",!0)])]),_:1},8,["type","size","showClose"])}}};export{h as _};
