PageSourceSearch

https://cdn-prod-www-01.trainerroad.com/app/assets/generated/react/notify-electron-modal-state-kox6qy9j.js

js trainerroad.com collected 2026-10-02 02:56:56 UTC 843 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-d7iuo4nk.js";import{t}from"./use-service-du0qnyad.js";import{a as n}from"./vendor-react-g7dyc9sh.js";import{n as r}from"./system-info-provider-bhyzh2oo.js";var i=e(n()),a=new Set,o=null;function s(){return typeof window<`u`&&window.tr?.appInfo?.isElectron===!0}function c(e){if(s())try{window.tr?.postMessage({type:`fullscreen-modal-state`,isOpen:e})}catch{}}function l(){let e=a.size>0;o!==e&&(o=e,c(e))}function u(){let e=a.size>0;o=e,c(e)}function d(e){a.add(e),l()}function f(e){a.delete(e),l()}typeof document<`u`&&document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`&&u()});function p(e,n){let{isElectron:a}=t(r);(0,i.useEffect)(()=>{if(!(!a||!n))return d(e),()=>f(e)},[a,n,e])}export{p as n,u as t};
2//# sourceMappingURL=notify-electron-modal-state-kox6qy9j.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.