import"./CWj6FrbW.js";import{p as j,b as q,f as w,d as f,r as i,s as p,i as _,c as z,g as t}from"./CZBSCAq2.js";import{s as b}from"./BkjlwMHH.js";import{e as A,i as B}from"./B0glBihA.js";import{t as k,a as h}from"./BI1irte-.js";import{r as C,s as g}from"./DtRK3t_J.js";import{d as D}from"./DqKNatLn.js";import{a as E}from"./WgdeJtfK.js";import{p as x}from"./DU61YhRX.js";function F(u,a,s){a.onUpdate(s())}var G=k('<div class="form-check form-check-inline"><input class="form-check-input" type="radio"> <label class="form-check-label"> </label></div>'),H=k('<h3> </h3> <div role="radiogroup"></div>',1);function T(u,a){j(a,!0);const s=[];let l=x(a,"value",31,()=>q(a.options[0])),y=x(a,"disabled",3,!1);var v=H(),o=w(v),R=f(o,!0);i(o);var c=p(o,2);A(c,21,()=>a.options,B,(S,r)=>{var d=G(),e=f(d);C(e);var n;e.__change=[F,a,l];var m=p(e,2),U=f(m,!0);i(m),i(d),_(()=>{g(e,"id","radio-"+t(r)),n!==(n=t(r))&&(e.value=(e.__value=t(r))??""),e.disabled=y(),g(m,"for","radio-"+t(r)),b(U,t(r))}),E(s,[],e,()=>(t(r),l()),l),h(S,d)}),i(c),_(()=>b(R,a.label)),h(u,v),z()}D(["change"]);export{T as R};
