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:`5ae8add9e1b1cf7fc8d221a20f4e72a7e1903a7f-app.mercury.com`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9d049f0f-8fe9-47c5-a5d8-f120e8314f5a`,e._sentryDebugIdIdentifier=`sentry-dbid-9d049f0f-8fe9-47c5-a5d8-f120e8314f5a`)}catch{}})();import{o as e,t}from"./rolldown-runtime-dXcnzKUm.js";import{t as n}from"./react-BzePN1c-.js";var r=t(((e,t)=>{var n=NaN,r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,c=typeof global==`object`&&global&&global.Object===Object&&global,l=typeof self==`object`&&self&&self.Object===Object&&self,u=c||l||Function(`return this`)(),d=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return u.Date.now()};function h(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,h=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);t=y(t)||0,g(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?f(y(n.maxWait)||0,t):a,h=`trailing`in n?!!n.trailing:h);function _(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function v(e){return l=e,s=setTimeout(S,t),u?_(e):o}function b(e){var n=e-c,r=e-l,i=t-n;return d?p(i,a-r):i}function x(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function S(){var e=m();if(x(e))return C(e);s=setTimeout(S,b(e))}function C(e){return s=void 0,h&&r?_(e):(r=i=void 0,o)}function w(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?o:C(m())}function E(){var e=m(),n=x(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return v(c);if(d)return s=setTimeout(S,t),_(c)}return s===void 0&&(s=setTimeout(S,t)),o}return E.cancel=w,E.flush=T,E}function g(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function _(e){return!!e&&typeof e==`object`}function v(e){return typeof e==`symbol`||_(e)&&d.call(e)==`[object Symbol]`}function y(e){if(typeof e==`number`)return e;if(v(e))return n;if(g(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=g(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(r,``);var c=a.test(e);return c||o.test(e)?s(e.slice(2),c?2:8):i.test(e)?n:+e}t.exports=h})),i=e(n(),1);r();var a=typeof window<`u`?i.useLayoutEffect:i.useEffect;function o(e,t,n,r){let o=(0,i.useRef)(t);a(()=>{o.current=t},[t]),(0,i.useEffect)(()=>{let t=n?.current??window;if(!(t&&t.addEventListener))return;let i=e=>{o.current(e)};return t.addEventListener(e,i,r),()=>{t.removeEventListener(e,i,r)}},[e,n,r])}function s(e,t){let n=(0,i.useRef)(e);a(()=>{n.current=e},[e]),(0,i.useEffect)(()=>{if(t===null)return;let e=setInterval(()=>{n.current()},t);return()=>{clearInterval(e)}},[t])}function c(e){let t=(0,i.useRef)(()=>{throw Error(`Cannot call an event handler while rendering.`)});return a(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>t.current?.call(t,...e),[t])}var l=typeof window>`u`;function u(e,t,n={}){let{initializeWithValue:r=!0}=n,a=(0,i.useCallback)(e=>n.serializer?n.serializer(e):JSON.stringify(e),[n]),s=(0,i.useCallback)(e=>{if(n.deserializer)return n.deserializer(e);if(e===`undefined`)return;let r=t instanceof Function?t():t,i;try{i=JSON.parse(e)}catch(e){return console.error(`Error parsing JSON:`,e),r}return i},[n,t]),u=(0,i.useCallback)(()=>{let n=t instanceof Function?t():t;if(l)return n;try{let t=window.localStorage.getItem(e);return t?s(t):n}catch(t){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,t),n}},[t,e,s]),[d,f]=(0,i.useState)(()=>r?u():t instanceof Function?t():t),p=c(t=>{l&&console.warn(`Tried setting localStorage key \u201C${e}\u201D even though environment is not a client`);try{let n=t instanceof Function?t(u()):t;window.localStorage.setItem(e,a(n)),f(n),window.dispatchEvent(new StorageEvent(`local-storage`,{key:e}))}catch(t){console.warn(`Error setting localStorage key \u201C${e}\u201D:`,t)}}),m=c(()=>{l&&console.warn(`Tried removing localStorage key \u201C${e}\u201D even though environment is not a client`);let n=t instanceof Function?t():t;window.localStorage.removeItem(e),f(n),window.dispatchEvent(new StorageEvent(`local-storage`,{key:e}))});(0,i.useEffect)(()=>{f(u())},[e]);let h=(0,i.useCallback)(t=>{t.key&&t.key!==e||f(u())},[e,u]);return o(`storage`,h),o(`local-storage`,h),[d,p,m]}var d=typeof window>`u`;function f(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){let r=e=>d?t:window.matchMedia(e).matches,[o,s]=(0,i.useState)(()=>n?r(e):t);function c(){s(r(e))}return a(()=>{let t=window.matchMedia(e);return c(),t.addListener?t.addListener(c):t.addEventListener(`change`,c),()=>{t.removeListener?t.removeListener(c):t.removeEventListener(`change`,c)}},[e]),o}function p(e){let t=(0,i.useRef)(e);t.current=e,(0,i.useEffect)(()=>()=>{t.current()},[])}function m(e,t){let n=(0,i.useRef)(e);a(()=>{n.current=e},[e]),(0,i.useEffect)(()=>
1{if(!t&&t!==0)return;let e=setTimeout(()=>{n.current()},t);return()=>{clearTimeout(e)}},[t])}var h={"mobile-landscape-and-wider":`(min-width: 540px)`,"tablet-and-wider":`(min-width: 768px)`,"desktop-only":`(min-width: 1100px)`,"large-desktop-and-wider":`(min-width: 1440px)`,"tablet-and-thinner":`(max-width: 1099.98px)`,"mobile-landscape-and-thinner":`(max-width: 767.98px)`,"mobile-only":`(max-width: 539.98px)`,"template-fem-max-supported-desktop-width":`(min-width: 1728px)`,"template-fem-desktop-and-thinner":`(max-width: 1599.98px)`,"template-fem-tablet-and-thinner":`(max-width: 1023.98px)`,"template-fem-mobile-only":`(max-width: 599.98px)`,"prefers-reduced-motion":`(prefers-reduced-motion: reduce)`,"portrait-orientation":`(orientation: portrait)`};function g(e){return f(v(e))}function _(e){return typeof e==`object`&&`custom`in e}function v(e){return _(e)?e.custom:h[e]}export{m as a,u as i,h as n,p as o,s as r,r as s,g as t}; 2//# sourceMappingURL=useMediaQuery-Co0VS_RG.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.