import"./vendor-BGtMsOoo.js";import{Q as c,L as n}from"./index-CRze-aDK.js";function l(){const{user:s}=c(),o="checkout_defaults_";function a(e){localStorage.setItem(`${o}${s.value.id}`,JSON.stringify(e))}function u(){let e=null;const r=localStorage.getItem(`${o}${s.value.id}`);if(r)try{const t=JSON.parse(r);t&&typeof t=="object"&&(e=JSON.parse(r))}catch(t){n.error(`${l.name}.${u.name}`,t)}return e??{}}return{setUserCheckoutDefaults:a,getUserCheckoutDefaults:u}}export{l as u};
//# sourceMappingURL=useUserCheckoutDefaults-BlmbrerI.js.map
