1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DEc1GnNj.js","./DEvkNVmU.js","./r8JRHWyO.js","./entry.CXtp_qbA.css","./BXRvMKUE.js","./CsZcU9Nr.js","./CKNPRUG2.js","./CC1uo14-.js","./B0AHpP91.js","./CXQhh4hu.js","./BHZa8HfC.js","./CoGgVTt8.js","./x3i3Pd0n.js"])))=>i.map(i=>d[i]); 2import{be as w,bf as r,bt as se,bY as S,cy as le,bJ as q,cH as Q,cA as H,da as V,bc as oe,di as ne,bL as ie,bD as re,bQ as ue,bg as M,bk as d,bj as B,bl as a,bw as N,bp as L,bx as ce,bi as z,bm as P,bu as Y,d1 as de,bS as fe,bh as p,c3 as ve,bz as _e,bb as me,bq as O,bM as pe,bs as C,bT as ye,by as be}from"./r8JRHWyO.js";import ge from"./DGRuwsg0.js";import{_ as he}from"./D8z0vkC8.js";import{p as G}from"./CC1uo14-.js";import{u as ke}from"./C2AHdYh8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"f4aa1c830663f26352183d1eab2a4c531b586e95"};var f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="fde3397d-6876-4961-8ad8-d82eff864833",e._sentryDebugIdIdentifier="sentry-dbid-fde3397d-6876-4961-8ad8-d82eff864833")}catch{}})();function xe(){const e=w("globals",()=>null),f=w("infoBarMessage",()=>null);return{hasInfoBar:r(()=>{const o=!!e.value?.infoBar;return!!f.value||o})}}const Be=e=>{const f=se(),t=S(0),o=S(0),s=S(0),v=S(!1),u=S(!1);let c;const T=e.animationDurationMs??400,_=e.hideThreshold??2,D=e.revealThreshold??2,y=r(()=>V(e.hiddenOffset)),b=r(()=>V(e.naturalScrollRange??e.hiddenOffset)),g=r(()=>!!V(e.disabled??!1)),i=()=>{c&&(window.clearTimeout(c),c=void 0),v.value=!1},h=l=>{s.value!==l&&(c&&window.clearTimeout(c),v.value=!0,window.requestAnimationFrame(()=>{s.value=l,c=window.setTimeout(()=>{c=void 0,v.value=!1},T)}))},U=l=>({[l.animationDurationVar]:`${T}ms`,[l.translateVar]:`${l.translate}px`,[l.opacityVar]:l.isFullyHidden?0:1,pointerEvents:l.isFullyHidden?"none":void 0}),I=()=>{if(t.value=window.scrollY,o.value=t.value,g.value||t.value<=0){u.value=!1,i(),s.value=0;return}if(t.value<=b.value){u.value=!1,i(),s.value=e.topOffset(t.value,y.value);return}u.value=!1,i(),s.value=e.crossedTopOffset?.(y.value)??-y.value};return le("scroll",()=>{if(t.value=window.scrollY,g.value){u.value=!1,i(),s.value=0,o.value=t.value;return}if(t.value<=0){u.value=!1,i(),s.value=0,o.value=0;return}const l=y.value,k=b.value,m=t.value-o.value;if(t.value<=k){if(m<0&&s.value===0){u.value=!0,i(),o.value=t.value;return}u.value=!1,i(),s.value=e.topOffset(t.value,l),o.value=t.value;return}if(u.value=!1,o.value<=k&&e.crossedTopOffset){i(),s.value=e.crossedTopOffset(l),o.value=t.value;return}if(m<=-D&&s.value<0){h(0),o.value=t.value;return}if(m>=_&&s.value>-l){h(-l),o.value=t.value;return}v.value||i(),e.midOffset&&(s.value=e.midOffset({offset:s.value,scrollDelta:m,hiddenOffset:l})),o.value=t.value},{passive:!0}),q(()=>{I()}),Q(()=>{i()}),H(g,()=>{I()}),H(()=>f.fullPath,()=>{I()}),{animationDurationMs:T,currentScrollY:t,getStyleVars:U,isAnimating:v,isLockedVisibleNearTop:u,offset:s}},we=O(()=>C(()=>import("./DEc1GnNj.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(e=>e.default||e)),Te=O(()=>C(()=>import("./B0AHpP91.js"),__vite__mapDeps([8,2,3,9]),import.meta.url).then(e=>e.default||e).then(e=>ye(e))),Ie=O(()=>C(()=>import("./BHZa8HfC.js"),__vite__mapDeps([10,11,2,3,12,7,1,5,6]),import.meta.url).then(e=>e.default||e)),Se=["data-mobile-stack"],Me={class:"container mx-auto px-siteContainer"},De={class:"flex w-full items-center justify-between"},Le={key:0,class:"flex items-center justify-start gap-2 py-2.5"},Ue={key:0,class:"flex items-center justify-center whitespace-nowrap rounded-md bg-utilityBarTagBackgroun
2d px-1.5 py-1"},Ve={class:"font-bold text-xxs leading-tight text-utilityMessage"},Oe={class:"font-body text-xsUtility leading-tight text-utilityMessage"},Ce={class:"ml-auto hidden items-center py-2.5 lg:flex"},Ee={class:"flex items-center"},Re={key:1,class:"flex items-center"},Ae={key:0,class:"hidden h-6 w-px bg-utilitySeparator sm:inline"},He={class:"relative"},j=48,F=52,$=250,Ne=oe({__name:"GlobalUtilityBar",setup(e){const f=me(),t=w("globals").value,o=w("utilityBarMessage").value,s=w("desktopUtilityBarOffset",()=>0),v=w("desktopUtilityBarIsAnimating",()=>!1),{hasInfoBar:u}=xe(),c=r(()=>u.value?F:0),T=r(()=>u.value?Math.max(0,F-D.value):0),_=r(()=>{const n=t?.utilityBarMessage??{};return o?.messageText?o:n}),{currentScrollY:D,getStyleVars:y,isAnimating:b,isLockedVisibleNearTop:g,offset:i}=Be({hiddenOffset:j,naturalScrollRange:r(()=>$),topOffset:(n,x)=>Math.max(-x,-Math.max(0,Math.ceil(n)-c.value)),crossedTopOffset:n=>-n}),h=r(()=>D.value>$||b.value||g.value),U=r(()=>{const n=h.value?i.value:0,x=h.value&&n<=-j;return y({animationDurationVar:"--desktop-utility-bar-animation-duration",translateVar:"--desktop-utility-bar-translate",opacityVar:"--desktop-utility-bar-opacity",translate:n,isFullyHidden:x})}),I=r(()=>g.value?T.value:0);ne(()=>{s.value=i.value,v.value=b.value});const{mapLocaleFromIP:E}=ie(),{locale:l}=re(),k=r(()=>l.value==="us"||l.value==="bd"?pe("/partners"):void 0),{ipCountry:m,loadIpCountry:R}=ke(),W=ue("locale-settings"),J=r(()=>m.value?E(m.value.toLowerCase()):"us");return q(async()=>{await R()}),Q(()=>{s.value=0,v.value=!1}),(n,x)=>{const K=ge,X=he,Z=we,ee=Te,te=fe,ae=Ie,A=ce("pure-html");return p(),M("nav",{id:"utilityBar",class:Y(["utility-bar relative",{"utility-bar-detached":a(h),"utility-bar-transitioning":a(b)}]),"data-mobile-stack":a(_).messageText?"":void 0,style:de({...a(U),top:`${a(I)}px`})},[d("div",{class:Y(["bg-utilityBackground text-utilityMessage",a(_).messageText?"block":"hidden lg:block"])},[d("div",Me,[d("div",De,[a(_).messageText?(p(),M("div",Le,[a(_)?.tag?(p(),M("div",Ue,[N(d("span",Ve,null,512),[[A,("parseMarkdownInline"in n?n.parseMarkdownInline:a(G))(a(_).tag)]])])):B("",!0),N(d("div",Oe,null,512),[[A,("parseMarkdownInline"in n?n.parseMarkdownInline:a(G))(a(_).messageText)]]),L(K,{class:"h-3 w-3 text-utilityIcon"})])):B("",!0),d("div",Ce,[d("div",Ee,[a(k)?(p(),z(X,{key:0,to:a(k),class:"px-4 font-body text-xxs leading-[0] text-utilityMessage md:text-xsUtility",external:""},{default:P(()=>[ve(_e(n.$t("partners")),1)]),_:1},8,["to"])):B("",!0),a(f).public.SHOW_LOCALE_SWITCHER==="true"?(p(),M("div",Re,[a(k)?(p(),M("span",Ae)):B("",!0),d("div",He,[L(Z,{"in-header":""}),L(te,null,{default:P(()=>[a(W)?.hideLocaleQuestion!==!0&&a(J)!==a(l)?(p(),z(ee,{key:0,placement:"anchored",locale:a(m)||""},null,8,["locale"])):B("",!0)]),_:1})]),x[0]||(x[0]=d("span",{class:"hidden h-6 w-px bg-utilitySeparator sm:inline"},null,-1)),L(ae,{"in-header":""})])):B("",!0)])])])])],2)],14,Se)}}}),Fe=Object.assign(be(Ne,[["__scopeId","data-v-7499f406"]]),{__name:"GlobalUtilityBar"});export{Fe as default};
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.