PageSourceSearch

https://sandboxvr.com/ssr-assets/queryOverride-DxXuCQhb.js

js sandboxvr.com collected 2026-09-25 00:09:31 UTC 1,960 bytes, 17 lines download raw bytes

1try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`2eda94ae-e97b-48de-83d6-cef7709e73a1`,e._sentryDebugIdIdentifier=`sentry-dbid-2eda94ae-e97b-48de-83d6-cef7709e73a1`)}catch{}import{t as e}from"./useQuery-DjsDtaqX.js";import{u as t}from"./seo-DEBphSBJ.js";import{n}from"./lib-w2ESGaSC.js";import{t as r}from"./postContentful-Dgm4gTvm.js";var i=(e,t,n)=>!!e?.some(e=>{if(!e)return!1;let r=e.toLowerCase();if(t.storeCode&&r===t.storeCode.toLowerCase())return!0;if(t.storeUrl&&r===t.storeUrl.toLowerCase()){let t=n?.filter(e=>e.storeUrl?.toLowerCase()===r)??[];return t.length>1?(o(`slug-ambiguous:${r}`,`[homepage-price-tag] storeList token "${e}" names ${t.length} stores; ignoring it. Use the storeCode instead.`),!1):!0}return!1}),a=new Set,o=(e,t)=>{a.has(e)||(a.add(e),console.warn(t))},s=(e,{market:n,marketUrl:r,store:a,storeList:s})=>{let c=(e?.data??[]).filter(e=>!!e),l=a?c.filter(e=>i(e.storeList,a,s)):[],u=l.length>0?l:c.filter(e=>t(e.marketList,n,r));if(u.length>1){let e=a?.storeCode??a?.storeUrl;o(`${e??``}|${r??``}`,`[homepage-price-tag] ${u.length} override entries match this page (store: ${e??`-`}, market: ${r??`-`}); using the first. Deduplicate the Contentful entry.`)}return u[0]},c=n`
2  ${n`
3  fragment OverrideFragment on Override {
4    name
5    id
6    data
7  }
8`}
9
10  query getOverrideByMarketAndID($id: String, $locale: String = "en") {
11    overrideCollection(where: { id: $id }, locale: $locale, limit: 1) {
12      items {
13        ...OverrideFragment
14      }
15    }
16  }
17`,l=async({id:e,locale:t})=>(await r(c,{id:e,locale:t})).overrideCollection.items[0],u=({id:e,locale:t})=>({queryKey:[`contentful`,`gql`,`override`,e,t],queryFn:async()=>l({id:e,locale:t})}),d=({id:t,locale:n},{select:r,enabled:i}={})=>e({...u({id:t,locale:n}),select:r,enabled:i});export{s as n,d as r,u as t};

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.