PageSourceSearch

https://cdn-prod-www-01.trainerroad.com/app/assets/generated/react/document-scroll-lock-okk0bjhb.js

js trainerroad.com collected 2026-09-24 17:34:52 UTC 791 bytes, 2 lines download raw bytes

1var e=`data-drawer-open`,t=0,n=0,r=0,i=``,a=``,o=``,s=0;function c({surface:c=`drawer`}={}){let{body:d,documentElement:f}=document,p=c!==`page`;t===0&&(s=window.innerWidth-f.clientWidth,i=d.style.overflow,a=d.style.paddingRight,o=a,d.style.overflow=`hidden`,p&&l()),t+=1,p&&(n+=1);let m=c===`drawer`;m&&(r===0&&f.setAttribute(e,``),r+=1);let h=!1;return()=>{if(!h){if(h=!0,m&&(--r,r===0&&f.removeAttribute(e)),p&&(--n,n===0&&u()),--t,t>0){t===n&&l();return}d.style.overflow===`hidden`&&(d.style.overflow=i),u()}}}function l(){let{body:e}=document;s<=0||o!==a||e.style.paddingRight!==a||(o=`${s}px`,e.style.paddingRight=o)}function u(){let{body:e}=document;e.style.paddingRight===o&&(e.style.paddingRight=a),o=a}export{c as n,e as t};
2//# sourceMappingURL=document-scroll-lock-okk0bjhb.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.