1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`v3.1.0-post5`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`de44d21b-1eda-4740-8a4a-e3874ccf96f4`,e._sentryDebugIdIdentifier=`sentry-dbid-de44d21b-1eda-4740-8a4a-e3874ccf96f4`)}catch{}})();import{o as __toESM,t as require_react}from"./NRlDU8ZH.js";import{t as require_compiler_runtime}from"./DsW7s8CU.js";import{t as require_lib}from"./Cn-WutO3.js";var import_lib=require_lib(),import_compiler_runtime=require_compiler_runtime(),import_react=__toESM(require_react(),1),hasChanged=(e,t,n)=>e===`width`?t:e===`height`?n:t||n,useResizeCallback=(e,t,n)=>{let r=(0,import_compiler_runtime.c)(7),i=t===void 0?100:t,a=n===void 0?`both`:n,o=(0,import_react.useRef)(null),s=(0,import_react.useRef)(null),c=(0,import_react.useRef)(null),l;r[0]!==e||r[1]!==i||r[2]!==a?(l=()=>{let t=window.innerWidth,n=window.innerHeight,r=s.current!==t,l=c.current!==n;s.current=t,c.current=n,hasChanged(a,r,l)&&(o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{e()},i))},r[0]=e,r[1]=i,r[2]=a,r[3]=l):l=r[3];let u=l,d,f;r[4]===u?(d=r[5],f=r[6]):(d=()=>{if(!(typeof window>`u`))return s.current=window.innerWidth,c.current=window.innerHeight,window.addEventListener(`resize`,u,{passive:!0}),()=>{window.removeEventListener(`resize`,u),o.current&&clearTimeout(o.current)}},f=[u],r[4]=u,r[5]=d,r[6]=f),(0,import_react.useEffect)(d,f)},useIsMobile=e=>{let t=(0,import_compiler_runtime.c)(3),n;t[0]===e?n=t[1]:(n=()=>e===void 0?typeof window>`u`?import_lib.isMobile:window.innerWidth<=1024:e,t[0]=e,t[1]=n);let[r,i]=(0,import_react.useState)(n),a;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{let e=window.innerWidth<=1024;i(e)},t[2]=a):a=t[2],useResizeCallback(a,0),r},useIsMobileSmall=e=>{let t=(0,import_compiler_runtime.c)(3),n;t[0]===e?n=t[1]:(n=()=>e===void 0?typeof window>`u`?import_lib.isMobile:window.innerWidth<448:e,t[0]=e,t[1]=n);let[r,i]=(0,import_react.useState)(n),a;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{let e=window.innerWidth<448;i(e)},t[2]=a):a=t[2],useResizeCallback(a,0),r},useIsMobileLandscape=()=>{let e=(0,import_compiler_runtime.c)(3),t=useIsMobile(),[n,r]=(0,import_react.useState)(!1),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=()=>{r(window.matchMedia(`(orientation: landscape)`).matches)},e[0]=i):i=e[0];let a=i,o,s;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o=()=>{a()},s=[a],e[1]=o,e[2]=s):(o=e[1],s=e[2]),(0,import_react.useEffect)(o,s),useResizeCallback(a,0),t&&n};export{useResizeCallback as i,useIsMobileLandscape as n,useIsMobileSmall as r,useIsMobile as t};
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.