import{D as r,o as u,d as c,e as o,F as i,G as d,H as a}from"./Close.BmzKdJYw.js";const g={props:{modelValue:Boolean,disabled:{type:Boolean,default(){return!1}}},methods:{labelToggle(){this.$refs.input.click()}}},p={class:"toggle-content"},f=["disabled","checked"],_=o("span",{class:"toggle-switch"},null,-1);function m(s,e,t,b,y,l){return u(),c("label",{class:d(["aioseo-toggle",{disabled:t.disabled}]),tabindex:"0",onKeydown:[e[1]||(e[1]=a((...n)=>l.labelToggle&&l.labelToggle(...n),["enter"])),e[2]||(e[2]=a((...n)=>l.labelToggle&&l.labelToggle(...n),["space"]))]},[o("div",p,[o("input",{disabled:t.disabled,type:"checkbox",checked:t.modelValue,onInput:e[0]||(e[0]=n=>s.$emit("update:modelValue",n.target.checked)),ref:"input"},null,40,f),_]),i(s.$slots,"default")],34)}const B=r(g,[["render",m]]);export{B};
