import{L as e,N as t,Nt as n,O as r,Pt as i,Vt as a,d as o,ft as s,g as c,m as l,mt as u,o as d,s as f,z as p}from"./BT3KAag_.js";import"./t62M88qj.js";import{t as m}from"./Dk-ks0hL.js";var h=p(`<div><!></div>`);function g(t,l){i(l,!0);let u=d(l,`ref`,15,null),p=d(l,`class`,3,``),m=f(l,[`$$slots`,`$$events`,`$$legacy`,`children`,`ref`,`class`]);var g=h();c(g,()=>({class:`inline-list ${p()??``}`,role:`listbox`,...m}),void 0,void 0,void 0,`svelte-18vl7ae`),r(s(g),()=>l.children),a(g),o(g,e=>u(e),()=>u()),e(t,g),n()}var _=p(`<button><!> <!></button>`);function v(n,i){let o=d(i,`selected`,3,!1),p=d(i,`showCheck`,3,!0),h=d(i,`class`,3,``),g=f(i,[`$$slots`,`$$events`,`$$legacy`,`children`,`selected`,`showCheck`,`class`]);var v=_();c(v,()=>({type:`button`,class:`inline-list-item ${h()??``}`,role:`option`,"aria-selected":o(),"data-selected":o()?`true`:void 0,...g,[l]:{"is-selected":o()}}),void 0,void 0,void 0,`svelte-19pr0ny`);var y=s(v);r(y,()=>i.children);var b=u(y,2),x=e=>{m(e,{size:12,class:`inline-list-item-check`})};t(b,e=>{o()&&p()&&e(x)}),a(v),e(n,v)}export{g as n,v as t};