import{S as s}from"./Checkmark.e7547654.js";import{n as l}from"./vueComponentNormalizer.87056a83.js";var u=function(){var r,e=this,o=e.$createElement,t=e._self._c||o;return t("label",{staticClass:"aioseo-checkbox",class:[e.labelClass,(r={},r[e.size]=e.size,r),{disabled:e.disabled},{round:e.round}],on:{keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.labelToggle.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:e.labelToggle.apply(null,arguments)}],click:function(n){return n.stopPropagation(),function(){}.apply(null,arguments)}}},[e._t("header"),t("span",{staticClass:"form-checkbox-wrapper"},[t("span",{staticClass:"form-checkbox"},[t("input",{ref:"input",class:e.inputClass,attrs:{type:"checkbox",name:e.name,id:e.id,disabled:e.disabled},domProps:{checked:e.value},on:{input:function(n){return e.$emit("input",n.target.checked)}}}),t("span",{staticClass:"fancy-checkbox",class:e.type},[t("svg-checkmark")],1)])]),e._t("default")],2)},c=[];const i={components:{SvgCheckmark:s},props:{value:Boolean,name:String,labelClass:{type:String,default(){return""}},inputClass:{type:String,default(){return""}},id:String,size:String,disabled:Boolean,round:Boolean,type:{type:String,default(){return"blue"}}},methods:{labelToggle(){this.$refs.input.click()}}},a={};var p=l(i,u,c,!1,_,null,null,null);function _(r){for(let e in a)this[e]=a[e]}var y=function(){return p.exports}();export{y as B};
