import"./Bg9kRutz.js";import{p as b,c as d,r as i,h as p,g as r,b as x}from"./AM9C8FsA.js";import{s as w}from"./B6F1ZNoe.js";import{e as D,i as y}from"./Bbpm7MqF.js";import{t as v,a as m}from"./CmMFD2-g.js";import{d as j}from"./DY_kk6CS.js";import{a as _,p as k}from"./D-bC_bvq.js";import{c as q}from"./WCHrdp7r.js";var z=(l,e)=>e(),A=v("<option> </option>"),B=v('<div class="dropdown"><select class="form-select"></select></div>');function L(l,e){b(e,!0);let n=_(e,"selected_option",31,()=>k(e.options[0])),f=_(e,"enabled",3,!0);function u(){e.selection_changed(n())}var s=B(),t=d(s);t.__change=[z,u],D(t,21,()=>e.options,y,(h,o)=>{var a=A(),c={},g=d(a,!0);i(a),p(()=>{c!==(c=r(o))&&(a.value=(a.__value=r(o))==null?"":r(o)),w(g,r(o))}),m(h,a)}),i(t),i(s),p(()=>t.disabled=!f()),q(t,n),m(l,s),x()}j(["change"]);export{L as D};
