let t=t=>"left"===t?"gp-justify-start":"right"===t?"gp-justify-end":"gp-justify-center",e=t=>async e=>{let[n,r,o]=e,s={"Content-Type":"application/json","X-GemX-Shop-Token":t.token};return fetch(t.endpoint,{method:"POST",headers:s,body:JSON.stringify({query:n,variables:r,operationName:o})}).then(t=>t.json()).then(t=>t.errors?Promise.reject(t.errors):t.data)},n=t=>!!(t&&t.token&&t.endpoint);export{e as createStoreFrontFetcher,t as getPostPurchaseAlignClasses,n as hasPublicStoreFrontData};
