PageSourceSearch

https://www.benparr.com/assets/useIsMobile-BU77Oiqq.js

js benparr.com collected 2026-10-02 10:45:16 UTC 813 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]="3e9757ea-ec51-5b0f-abae-9c4a690d6c98")}catch(e){}}();
3import{a as e}from"./jsx-runtime-CMgEUHpv.js";import{V as t}from"./dist-CAHjj65Z.js";var n=e(t(),1),r=640,i=()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{window.innerWidth<r&&t(!0)},[]),(0,n.useEffect)(()=>{let n=()=>{window.innerWidth<r&&!e?t(!0):window.innerWidth>=r&&e&&t(!1)};return window.addEventListener(`resize`,n),()=>{window.removeEventListener(`resize`,n)}},[e]),e};export{i as t};
4//# sourceMappingURL=useIsMobile-BU77Oiqq.js.map
5//# debugId=3e9757ea-ec51-5b0f-abae-9c4a690d6c98

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.