import{f as o,i as y,j as l,an as g,Q as s,R as c,v as a,M as i,U as r,ae as m,T as f}from"./vendor-vue-ui.c21c50b5.js";import{C as p}from"./Index.df48fa2a.js";import{S as b}from"./CheckSolid.08d5a264.js";import{_ as d}from"./_plugin-vue_export-helper.eefbdd86.js";const k={},v={viewBox:"0 0 30 30",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-circle-exclamation-solid"};function w(t,n){return o(),y("svg",v,[...n[0]||(n[0]=[l("path",{d:"M 15.0005 2.84 C 8.1005 2.84 2.5005 8.44 2.5005 15.34 C 2.5005 22.24 8.1005 27.84 15.0005 27.84 C 21.9005 27.84 27.5005 22.24 27.5005 15.34 C 27.5005 8.44 21.9005 2.84 15.0005 2.84 Z M 16.2505 21.59 H 13.7505 V 19.09 H 16.2505 V 21.6 Z M 16.2505 16.59 H 13.7505 V 9.09 H 16.2505 V 16.59 Z"},null,-1)])])}const x=d(k,[["render",w]]),S={class:"aioseo-alert-actionable__content"},z={__name:"Actionable",props:{title:String,text:String,button:String,buttonType:String,type:String,size:String,showClose:Boolean},emits:["click","close-alert"],setup(t){return(n,e)=>{const C=g("base-button");return o(),s(a(p),{class:"aioseo-alert-actionable",type:t.type,size:t.size,showClose:t.showClose,onCloseAlert:e[2]||(e[2]=u=>n.$emit("close-alert"))},{default:c(()=>[t.type==="yellow"?(o(),s(a(x),{key:0})):i("",!0),t.type==="green"?(o(),s(a(b),{key:1})):i("",!0),l("div",S,[l("strong",null,r(t.title),1),l("p",null,[m(r(t.text)+" ",1),t.buttonType==="link"&&t.button?(o(),y("a",{key:0,href:"#",onClick:e[0]||(e[0]=f(u=>n.$emit("click"),["prevent"]))},[m(r(t.button)+" ",1),e[3]||(e[3]=l("span",null,"→",-1))])):i("",!0)]),t.buttonType!=="link"&&t.button?(o(),s(C,{key:0,size:"medium",type:"blue",tag:"button",onClick:e[1]||(e[1]=f(u=>n.$emit("click"),["stop"]))},{default:c(()=>[l("span",null,r(t.button),1)]),_:1})):i("",!0)])]),_:1},8,["type","size","showClose"])}}};export{z as _};