1import{a as e}from"./chunk-Cyuzqnbw.js";import{Q as t,X as n,Y as r,Z as i,lt as a,mi as o,mo as s,mt as c,ti as l}from"./chunk-EVOBXE3Y-Gx1JiEIH.js";function u(e){return e==null}function d(e){return!u(e)}function f(e){return e===null?void 0:e}var p=e(s(),1),m=c(),h=(0,p.createContext)({locale:`en-US`});function g({children:e,config:t}){let{locale:n}=t,r=(0,p.useMemo)(()=>({locale:n}),[n]);return(0,m.jsx)(h.Provider,{value:r,children:e})}var _=()=>(0,p.useContext)(h),v=l({customShopUrl:o().optional(),partnerGroup:o(),partnerName:o(),partnerUrl:o(),partnerMemberId:o().optional()}),y=()=>{let e=r(a);if(d(e)){let t=v.safeParse(e);if(t.success)return t.data;n(a);return}},b=e=>{t(a,e,i)},x=e=>y()?.[e]??null,S=()=>f(x(`partnerGroup`)),C=()=>f(x(`partnerName`)),w=new Set([`go-beacon`,`go-starter`]),T=(e=`/`)=>{let t=C();if(t&&w.has(t))return e;let n=x(`partnerUrl`);return d(n)?n.startsWith(`/`)?n:`/${n}`:e},E=()=>_().locale;function D(e){}var O=e=>[`en-US`,`en-GB`].includes(e||``),k=e=>{let t=`en-US`;return O(t)?t:e||`en-US`};export{y as a,x as c,g as d,f,T as i,b as l,u as m,D as n,S as o,d as p,E as r,C as s,k as t,_ as u}; 2//# sourceMappingURL=getLocale-wxwgNF28.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.