PageSourceSearch

https://leanpub.com/assets/use_is_mobile-DiTfGY17.js

js leanpub.com collected 2026-09-24 08:27:07 UTC 816 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9640d238-feb5-5808-ae79-c4465793cefc")}catch(e){}}();
3import{r as i}from"./vendor-react-qLnyzkeB.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:"13978386027a4a2683cfa43e79422df47742043f"}}catch{}})();function a(){const[e,o]=i.useState(!1);return i.useEffect(()=>{o((()=>{const t=navigator.userAgent;return/Mobi|Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)})())},[]),e}export{a as u};
4
5//# debugId=9640d238-feb5-5808-ae79-c4465793cefc

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.