import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as t,c as l,F as u,af as c,_ as r,a3 as d,a7 as _,$ as m,ae as s}from"./runtime-core.esm-bundler.ce5add0b.js";const f={props:{options:{type:Array,required:!0},name:{type:String,required:!0},modelValue:[String,Boolean],disabled:{type:Boolean,default(){return!1}},inline:Boolean,circle:Boolean}},y=["id","name","onInput","checked","disabled"],g=["for"];function p(o,B,e,b,v,V){return t(),l("div",{class:s(["aioseo-radio-toggle",{inline:e.inline,circle:e.circle}])},[(t(!0),l(u,null,c(e.options,(a,n)=>(t(),l("div",{key:n},[r("input",{id:`id_${e.name}_${n}`,name:e.name,type:"radio",onInput:h=>o.$emit("update:modelValue",a.value),checked:a.value===e.modelValue,disabled:e.disabled},null,40,y),r("label",{for:`id_${e.name}_${n}`,class:s([{[a.activeClass||"default"]:a.value===e.modelValue},{disabled:e.disabled}])},[d(o.$slots,a.slot,{},()=>[_(m(a.label),1)])],10,g)]))),128))],2)}const S=i(f,[["render",p]]);export{S as B};
