1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__assetsPath("download-apps-banner-kxorfuno.js"),window.__assetsPath("use-banner-service-ilpg5ljg.js"),window.__assetsPath("use-service-du0qnyad.js"),window.__assetsPath("decorate-enfn96bc.js"),window.__assetsPath("rolldown-runtime-d7iuo4nk.js"),window.__assetsPath("preload-helper-nq9ya8gj.js"),window.__assetsPath("theme-init-script-ls3p1kq6.js"),window.__assetsPath("realtimelogging.api-ix6mwkbk.js"),window.__assetsPath("utils-iy375pv8.js"),window.__assetsPath("url-utils-hrx6lzl6.js"),window.__assetsPath("axios-lod6h7d2.js"),window.__assetsPath("datetime-hs2rtlqs.js"),window.__assetsPath("esm-doitckdw.js"),window.__assetsPath("vendor-react-g7dyc9sh.js"),window.__assetsPath("noop-ek2zzu4b.js"),window.__assetsPath("mobx.esm-f0vwoq6j.js"),window.__assetsPath("banner.service-jnfjlod8.js"),window.__assetsPath("decorate-param-hlx7gcuv.js"),window.__assetsPath("legacy-ios-version-orrui6c3.js"),window.__assetsPath("service-nnvfru1g.js"),window.__assetsPath("parse-iso-h709tymn.js"),window.__assetsPath("utils-wdzjab4x.js"),window.__assetsPath("week-day-hejrvytq.js"),window.__assetsPath("week-day-kr26j8ds.js"),window.__assetsPath("to-finite-jy4ui09m.js"),window.__assetsPath("member-it15ycm9.js"),window.__assetsPath("consent-jyhz8trv.js"),window.__assetsPath("types-h917iux8.js"),window.__assetsPath("memberinfo.api-elihyac4.js"),window.__assetsPath("membersettings.api-jun41fnn.js"),window.__assetsPath("_define-property-gko8tqyo.js"),window.__assetsPath("async-mh6fav7f.js"),window.__assetsPath("global-i7hkuitp.js"),window.__assetsPath("localization-e0yedzfc.js"),window.__assetsPath("use-t-j7erhf80.js"),window.__assetsPath("chunk-le25-cjyf-3j0wklxh.js"),window.__assetsPath("schedule-call-banner-l5fwwo83.js"),window.__assetsPath("calendly-utils-kr8yg0x5.js"),window.__assetsPath("use-member-settings-service-ea14uv5w.js"),window.__assetsPath("use-member-service-icud9psv.js"),window.__assetsPath("use-tracked-actions-ioprhw4k.js"),window.__assetsPath("service-hdvu6lax.js"),window.__assetsPath("public-profile-banner-bkw3ndpp.js"),window.__assetsPath("dist-24hutsxa.js"),window.__assetsPath("garmin-health-promo-banner-bvla1iti.js"),window.__assetsPath("core-dkbwdx2s.js"),window.__assetsPath("banner-myyn5ptn.js"),window.__assetsPath("minimal-top-nav-che7yxqe.js"),window.__assetsPath("theme-styles-nm1jf25a.js"),window.__assetsPath("constants-oqxwdkl9.js"),window.__assetsPath("ride-sync-overlay-hb40z7tw.js"),window.__assetsPath("ride-sync-brw1a63c.js"),window.__assetsPath("modal-bh7z57np.js"),window.__assetsPath("document-scroll-lock-kobamyl2.js"),window.__assetsPath("escape-u05nbg91.js"),window.__assetsPath("system-info-provider-bhyzh2oo.js"),window.__assetsPath("username-path-normalizer-ilyl92qz.js"),window.__assetsPath("connections-api-br3kl2pr.js"),window.__assetsPath("use-can-offer-garmin-health-mx4slo0b.js"),window.__assetsPath("garmin-health-roles-o9pr2228.js"),window.__assetsPath("use-member-roles-n25t7jex.js"),window.__assetsPath("use-member-setting-c004qngr.js"),window.__assetsPath("activitysync.api-mcdbmttw.js"),window.__assetsPath("tr-enums-mkpjjyqc.js"),window.__assetsPath("mobxreact.esm-fm260xcp.js")])))=>i.map(i=>d[i]); 2import{o as e}from"./rolldown-runtime-d7iuo4nk.js";import{a as t,r as n}from"./vendor-react-g7dyc9sh.js";import{$ as r,It as i,Ut as a,Vt as o,Wt as s,Xt as c,Yt as l}from"./esm-doitckdw.js";import{t as u}from"./preload-helper-nq9ya8gj.js";import{d}from"./dist-24hutsxa.js";import{t as f}from"./mobxreact.esm-fm260xcp.js";import"./minimal-top-nav-che7yxqe.js";import{t as p}from"./constants-oqxwdkl9.js";import{t as m}from"./use-can-offer-garmin-health-mx4slo0b.js";import{t as h}from"./use-banner-service-ilpg5ljg.js";var g=e(t()),_=n(),v=(0,g.lazy)(()=>u(()=>import(`./download-apps-banner-kxorfuno.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]),import.meta.url)),y=(0,g.lazy)(()=>u(()=>import(`./schedule-call-banner-l5fwwo83.js`).then(e=>e.n),__vite__mapDeps([36,4,37,18,9,38,39,2,3,5,6,7,8,10,11,12,13,14,15,27,40,41,1,16,17,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34]),import.meta.url)),b=(0,g.lazy)(()=>u(()=>import(`./public-profile-banner-bkw3ndpp.js`),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,43,35]),import.meta.url)),x=(0,g.lazy)(()=>u(()=>import(`./garmin-health-promo-banner-bvla1iti.js`).then(e=>({default:e.GarminHealthPromoBanner})),__vite__mapDeps([44,2,3,4,5,6,7,8,9,10,11,12,13,14,15,45,32,46,33,34,47,48,49,50,51,52,53,54,55,56,43,57,58,59,60,27,39,61,38,62,63,64]),import.meta.url));function S(){let e=window.trainerRoad.isActiveMember.toLocaleLowerCase()===`true`,t=m(),n=d(`/app/onboarding/*`),r=d(`/app/renew-subscription/*`),i=d(`/app/renew-subscription-onetime/*`),a=d(`/app/refund-subscription/*`),o=d(`/app/cancel-subscription/*`),s=d(`/app/getting-started/*`),c=d(`/app/plans/*`),l=d(`/app/sync/*`),u=d(`/app/subscribe/*`),f=d(`/app/priority-access/*`),S=d(`/app/open/*`),C=d(`/app/legacy-plan/*`),w=d(`/app/profile/*`),T=d(`/app/post-workout-survey/*`),E=d(`/app/career/*`),D=d(`/app/calendar/*`),O=!!(n||r||i||a||o),k=!!(n||r||i||a||o||s||c||l||u||f||S||C||w||T),A=!!(E||D),j={profile:w,career:E,calendar:D},M=p.some(e=>j[e]!==null),N=h();return(0,g.useEffect)(()=>{O?N.dismissScheduleCallBanner(!1):N.requestScheduleCallBanner(`onboarding`),k?N.dism
2issDownloadAppsBanner(!1):N.requestDownloadAppsBanner(),A?N.requestPublicProfileBanner():N.dismissPublicProfileBanner(!1)},[N,O,k,A]),e?(0,_.jsxs)(_.Fragment,{children:[M&&t&&(0,_.jsx)(g.Suspense,{fallback:null,children:(0,_.jsx)(x,{})}),(0,_.jsxs)(g.Suspense,{fallback:null,children:[N.visibleBanner===`schedule_call`&&(0,_.jsx)(y,{variant:N.scheduleCallBannerState.variant}),N.visibleBanner===`download_apps`&&(0,_.jsx)(v,{}),N.visibleBanner===`public_profile`&&(0,_.jsx)(b,{})]})]}):null}var C=f(S),w={[a.Light]:l``,[a.Dark]:l` 3 background: ${s.grey3}; 4 color: ${s.grey14}; 5 `},T=c(r)` 6 position: relative; 7 width: 100%; 8 display: flex; 9 align-items: center; 10 justify-content: center; 11 gap: 8px; 12 background: ${s.grey14}; 13 padding: 8px 32px 8px 16px; 14 font-size: 1.4rem; 15 color: ${s.grey1}; 16 text-align: center; 17 flex-wrap: wrap; 18 ${({theme:e})=>o(w,e.mode)} 19 20 ${i.tabletLarge` 21 padding: 8px 32px; 22 `} 23 24 ${({variant:e})=>e===`account`?` 25 padding: 16px; 26 border-radius: 2px; 27 `:l` 28 ${i.tabletLargeMax` 29 top: ${61}px; 30 z-index: 1; 31 `} 32 `} 33`;export{C as n,T as t}; 34//# sourceMappingURL=app-banners-hxnlftuc.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.