import{a as c}from"./runtime-dom.esm-bundler.dc49ee3e.js";import{C as b}from"./Index.2a391835.js";import{S as p}from"./CheckSolid.5be77a11.js";import{S as g}from"./ExclamationSolid.37801e1b.js";import{a6 as k,o as n,a1 as l,a2 as m,R as r,a4 as a,_ as o,$ as i,a7 as y,c as C}from"./runtime-core.esm-bundler.ce5add0b.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(),l(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(),l(r(g),{key:0})):a("",!0),t.type==="green"?(n(),l(r(p),{key:1})):a("",!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])):a("",!0)]),t.buttonType!=="link"&&t.button?(n(),l(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})):a("",!0)])]),_:1},8,["type","size","showClose"])}}};export{h as _};
