PageSourceSearch

https://cdn.peatix.com/assets/production/static/peaz-frontend/js/useWindowResize-BhDGNLZJ.js

js peatix.com collected 2026-09-24 06:33:41 UTC 1,023 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`07273ff2-977d-45de-ac82-39813dc9bad9`,e._sentryDebugIdIdentifier=`sentry-dbid-07273ff2-977d-45de-ac82-39813dc9bad9`)}catch{}})();import{H as e,U as t,_t as n,nt as r,y as i}from"./route-CITprrr5.js";var a=function(e){return e[e.MOBILE=480]=`MOBILE`,e[e.TABLET=768]=`TABLET`,e[e.DESKTOP=1280]=`DESKTOP`,e}({});function o(){let o=n(window.innerWidth),s=n(window.innerHeight);function c(){o.value=window.innerWidth,s.value=window.innerHeight}let l=i(()=>window?o.value<=a.MOBILE:!1),u=i(()=>window?o.value<=a.TABLET:!1);return r(()=>window,()=>{o.value=window.innerWidth,s.value=window.innerHeight}),e(()=>{window.addEventListener(`resize`,c)}),t(()=>{window.removeEventListener(`resize`,c)}),{width:o,height:s,isMobile:l,isTablet:u}}export{a as n,o as t};
2//# sourceMappingURL=useWindowResize-BhDGNLZJ.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.