1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__assetsPath("download-apps-banner-ihxmdjqw.js"),window.__assetsPath("use-banner-service-mg3goacv.js"),window.__assetsPath("use-service-k6uz85f2.js"),window.__assetsPath("decorate-nyiu1wsn.js"),window.__assetsPath("rolldown-runtime-d7iuo4nk.js"),window.__assetsPath("preload-helper-iecr7p4u.js"),window.__assetsPath("theme-init-script-crdialu7.js"),window.__assetsPath("realtimelogging.api-e8pi9wbo.js"),window.__assetsPath("utils-j19nf4rh.js"),window.__assetsPath("url-utils-mnric08i.js"),window.__assetsPath("axios-ncryv8ke.js"),window.__assetsPath("datetime-o1oa8kab.js"),window.__assetsPath("esm-ezp3ztp3.js"),window.__assetsPath("vendor-react-hjibvy6c.js"),window.__assetsPath("noop-ek2zzu4b.js"),window.__assetsPath("mobx.esm-d47kztp6.js"),window.__assetsPath("banner.service-mr3b5hhx.js"),window.__assetsPath("decorate-param-cli1id0x.js"),window.__assetsPath("legacy-ios-version-mriazoq1.js"),window.__assetsPath("service-ixrgesy3.js"),window.__assetsPath("parse-iso-nsurqr8m.js"),window.__assetsPath("utils-c3idkeyo.js"),window.__assetsPath("week-day-m5k6jgx5.js"),window.__assetsPath("week-day-oe34n10d.js"),window.__assetsPath("to-finite-h5deiznp.js"),window.__assetsPath("member-hjcrv54i.js"),window.__assetsPath("consent-l5a6fgfq.js"),window.__assetsPath("types-ci41grw1.js"),window.__assetsPath("memberinfo.api-llvdxj8n.js"),window.__assetsPath("membersettings.api-ophmjl3g.js"),window.__assetsPath("_define-property-c9zzen2p.js"),window.__assetsPath("async-kjkhj1mj.js"),window.__assetsPath("global-ms4edq5k.js"),window.__assetsPath("localization-hf9jy747.js"),window.__assetsPath("use-t-cbs64j0h.js"),window.__assetsPath("chunk-le25-cjyf-igo96ppq.js"),window.__assetsPath("schedule-call-banner-lyx9l0f4.js"),window.__assetsPath("calendly-utils-mb1xdqu3.js"),window.__assetsPath("use-member-settings-service-fym3l3x5.js"),window.__assetsPath("use-member-service-hccg89ao.js"),window.__assetsPath("use-tracked-actions-fzg74595.js"),window.__assetsPath("service-k82l2rjb.js"),window.__assetsPath("public-profile-banner-kt69763u.js"),window.__assetsPath("dist-c89u2i8u.js"),window.__assetsPath("garmin-health-promo-banner-msxvb99z.js"),window.__assetsPath("core-bs1qrxxs.js"),window.__assetsPath("banner-f8tx6pyz.js"),window.__assetsPath("minimal-top-nav-gyayluu4.js"),window.__assetsPath("theme-styles-b1izixvc.js"),window.__assetsPath("constants-oqxwdkl9.js"),window.__assetsPath("ride-sync-overlay-e3c9pwpr.js"),window.__assetsPath("ride-sync-eefpk1eu.js"),window.__assetsPath("modal-kqmy73qc.js"),window.__assetsPath("document-scroll-lock-okk0bjhb.js"),window.__assetsPath("escape-mh8cdvd0.js"),window.__assetsPath("system-info-provider-g7kc1p3t.js"),window.__assetsPath("username-path-normalizer-drjl6jsz.js"),window.__assetsPath("connections-api-fjduzgds.js"),window.__assetsPath("garmin-health-roles-opdn3wfd.js"),window.__assetsPath("health-data-invite-gate-gxoxe9kj.js"),window.__assetsPath("use-member-roles-f040u426.js"),window.__assetsPath("use-member-setting-nkk80sgf.js"),window.__assetsPath("activitysync.api-cco8lxlj.js"),window.__assetsPath("tr-enums-bvtp9axg.js"),window.__assetsPath("mobxreact.esm-hu84giho.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-hjibvy6c.js";import{$ as r,Ht as i,Jt as a,Pt as o,Vt as s,qt as c,zt as l}from"./esm-ezp3ztp3.js";import{t as u}from"./preload-helper-iecr7p4u.js";import{u as d}from"./dist-c89u2i8u.js";import{t as f}from"./mobxreact.esm-hu84giho.js";import"./minimal-top-nav-gyayluu4.js";import{t as p}from"./garmin-health-roles-opdn3wfd.js";import{t as m}from"./constants-oqxwdkl9.js";import{t as h}from"./health-data-invite-gate-gxoxe9kj.js";import{t as g}from"./role-guard-j5ektvyd.js";import{t as _}from"./use-banner-service-mg3goacv.js";var v=e(t()),y=n(),b=(0,v.lazy)(()=>u(()=>import(`./download-apps-banner-ihxmdjqw.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)),x=(0,v.lazy)(()=>u(()=>import(`./schedule-call-banner-lyx9l0f4.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)),S=(0,v.lazy)(()=>u(()=>import(`./public-profile-banner-kt69763u.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)),C=(0,v.lazy)(()=>u(()=>import(`./garmin-health-promo-banner-msxvb99z.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 w(){let e=window.trainerRoad.isActiveMember.toLocaleLowerCase()===`true`,t=d(`/app/onboarding/*`),n=d(`/app/renew-subscription/*`),r=d(`/app/renew-subscription-onetime/*`),i=d(`/app/refund-subscription/*`),a=d(`/app/cancel-subscription/*`),o=d(`/app/getting-started/*`),s=d(`/app/plans/*`),c=d(`/app/sync/*`),l=d(`/app/subscribe/*`),u=d(`/app/priority-access/*`),f=d(`/app/open/*`),w=d(`/app/legacy-plan/*`),T=d(`/app/profile/*`),E=d(`/app/post-workout-survey/*`),D=d(`/app/career/*`),O=d(`/app/calendar/*`),k=!!(t||n||r||i||a),A=!!(t||n||r||i||a||o||s||c||l||u||f||w||T||E),j=!!(D||O),M={profile:T,career:D,calendar:O},N=m.some(e=>M[e]!==null),P=_();return(0,v.useEffect)(()=>{k?P.dismissScheduleCallBanner(!1):P.requestScheduleCallBanner(`onboarding`),A?P.dismissDownloadAppsBanner(!1):P.requestDownloadAppsBanner(),j?P.requestPublicProfileBanner():P.dismissPublicProfileBanner(!1)},[P,k,A,j]),e?(0,y.jsxs)(y.Fragment,{children:[N&&h()&&(0,y.jsx)(g,{allOf:[...p],children:(0,y.jsx)(v.Suspense,{fallback:null,children:(0,y.jsx)(C,{})})}),(0,y.jsxs)(v.Suspense,{fallback:null,children:[P.visibleBanner===`schedule_call`&&(0,y.jsx)(x,{variant:P.scheduleCallBannerState.variant}),P.visibleBanner===`download_apps`&&(0,y.jsx)(b,{}),P.visibleBanner===`public_profile`&&(0,y.jsx)(S,{})]})]}):null}var T=f(w),E={[s.Light]:c``,[s.Dark]:c` 3 background: ${i.grey3}; 4 color: ${i.grey14}; 5 `},D=a(r)` 6 position: relative; 7 width: 100%; 8 display: flex; 9 align-items: center; 10 justify-content: center; 11 gap: 8px; 12 background: ${i.grey14}; 13 padding: 8px 32px 8px 16px; 14 font-size: 1.4rem; 15 color: ${i.grey1}; 16 text-align: center; 17 flex-wrap: wrap; 18 ${({theme:e})=>l(E,e.mode)} 19 20 ${o.tabletLarge` 21 padding: 8px 32px; 22 `} 23 24 ${({variant:e})=>e===`account`?` 25 padding: 16px; 26 border-radius: 2px; 27 `:c` 28 ${o.tabletLargeMax` 29 top: ${61}px; 30 z-index: 1; 31 `} 32 `} 33`;export{T as n,D as t}; 34//# sourceMappingURL=app-banners-ka12dsr3.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.