1import{d as v,u as _,aG as k,aH as h,al as g,aI as x,aJ as b,a5 as T,w as V,o as w,k as B,m as s,f as t,n as C,t as m,aA as F,aE as f,e as I,aK as $,F as K,j as M,s as N}from"./CJ2ECs1y.js";const D=["for"],E=["id","checked"],S={class:"delivery-terms-field__text"},j=v({__name:"delivery-terms-field",props:{modelValue:{type:Boolean},country:{default:void 0}},emits:["update:modelValue"],setup(l,{emit:p}){const n=l,y=p,{t:d}=_(),c=k(),a=M(!1),o=h(x({contexts:["webshop"],country:b(n,"country")}),{notify:u=>g().notify(u)});function i(){n.country&&o.loadTerms()}return T(i),V(()=>n.country,()=>{o.reset(),i()}),(u,e)=>(w(),B(K,null,[s("label",{for:t(c),class:"delivery-terms-field","data-cy":"checkout-terms"},[s("input",{id:t(c),class:"delivery-terms-field__checkbox",type:"checkbox",checked:l.modelValue,"data-cy":"checkout-terms-checkbox",onChange:e[0]||(e[0]=r=>y("update:modelValue",r.target.checked))},null,40,E),s("span",S,[C(m(t(d)("checkout.terms.i_have_read_and_accept"))+" ",1),s("a",{href:"#",role:"button",class:"delivery-terms-field__trigger","data-cy":"checkout-terms-trigger",onClick:e[1]||(e[1]=f(r=>a.value=!0,["prevent"])),onKeydown:e[2]||(e[2]=F(f(r=>a.value=!0,["prevent"]),["space"]))},m(t(o).label.value||t(d)("checkout.terms.general_terms")),33),e[4]||(e[4]=s("span",{class:"delivery-terms-field__required","aria-hidden":"true"},"*",-1))])],8,D),I($,{open:t(a),terms:t(o),onClose:e[3]||(e[3]=r=>a.value=!1)},null,8,["open","terms"])],64))}}),A=N(j,[["__scopeId","data-v-0f7c57d0"]]);export{A as default}; 2//# sourceMappingURL=BZQ06m6d.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.