https://spell.co/cdn/shop/t/358/assets/storefront-graphql-helper.B…?v=122448606992711156251788394348
1const s=()=>({"Content-Type":"application/json",Accept:"application/json","X-Shopify-Storefront-Access-Token":CHROMA.apis.storefront.accessToken}),c=async({query:o,variables:e})=>{if(!CHROMA.apis.storefront.accessToken)return console.error("----- Storefront access token is missing -----"),null;const n=CHROMA.apis.storefront.endpoint,t=o.replace(/\n/g," ").replace(/ {2}/g,""),r={method:"post",headers:s(),body:JSON.stringify({query:t,...e?{variables:e}:{}})};return fetch(n,r)};export{c as e};
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.