import{d as g,b2 as n,a as v,b3 as w,t as k,C as i,D as r,o,aG as y,bL as b,h as t,i as d,f as a,x,v as u,g as C,z as _,a4 as V,F as B,y as M,_ as N}from"./BxiWQxwE.js";const q={class:"product__weight-selector"},D={key:0,class:"product__weight-selector--content"},S={class:"product__weight-selector--header"},A={class:"title"},F={class:"product__weight-selector--options"},L=["onClick"],$=["for"],z=["id","value","checked"],E=g({__name:"weight-selector",props:n({open:{type:Boolean,required:!0},options:{type:Array,required:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:n(["close"],["update:modelValue"]),setup(s,{emit:h}){const{$messages:m}=v(),l=w(s,"modelValue"),p=h;return(G,c)=>{const f=V;return o(),k(r,{name:"fade"},{default:i(()=>[y(t("div",q,[d(r,{name:"slide-up-full"},{default:i(()=>[s.open?(o(),a("div",D,[t("div",S,[t("h6",A,u(C(m)("common.weight")),1),t("button",{class:"button--close",type:"button","aria-label":"close",onClick:c[0]||(c[0]=_(e=>p("close",e),["stop"]))},[d(f)])]),t("div",F,[t("ul",null,[(o(!0),a(B,null,M(s.options,e=>(o(),a("li",{key:e,class:"option--weight",onClick:_(I=>l.value=e,["stop"])},[t("label",{for:e},u(e),9,$),t("input",{id:e,value:e,type:"radio",checked:l.value===e},null,8,z)],8,L))),128))])])])):x("",!0)]),_:1})],512),[[b,s.open]])]),_:1})}}}),j=N(E,[["__scopeId","data-v-53f8fa09"]]);export{j as default};
