System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./index-legacy-Bbj6l0yZ.js"],function(t,e){var n,r,i,o,u,f,c,a,s;return{setters:[function(t){n=t.a,r=t.t},function(t){i=t.St,o=t.U,u=t.bt,f=t.yt}],execute:function(){c=r((t,e)=>{u();var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,c=parseInt,a="object"==typeof f&&f&&f.Object===Object&&f,s="object"==typeof self&&self&&self.Object===Object&&self,l=a||s||Function("return this")(),v=Object.prototype.toString,d=Math.max,y=Math.min,p=function(){return l.Date.now()};function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==v.call(t)}(t))return NaN;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var u=i.test(t);return u||o.test(t)?c(t.slice(2),u?2:8):r.test(t)?NaN:+t}e.exports=function(t,e,n){var r,i,o,u,f,c,a=0,s=!1,l=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function j(e){var n=r,o=i;return r=i=void 0,a=e,u=t.apply(o,n)}function w(t){var n=t-c;return void 0===c||n>=e||n<0||l&&t-a>=o}function g(){var t=p();if(w(t))return x(t);f=setTimeout(g,function(t){var n=e-(t-c);return l?y(n,o-(t-a)):n}(t))}function x(t){return f=void 0,v&&r?j(t):(r=i=void 0,u)}function h(){var t=p(),n=w(t);if(r=arguments,i=this,c=t,n){if(void 0===f)return function(t){return a=t,f=setTimeout(g,e),s?j(t):u}(c);if(l)return f=setTimeout(g,e),j(c)}return void 0===f&&(f=setTimeout(g,e)),u}return e=m(e)||0,b(n)&&(s=!!n.leading,o=(l="maxWait"in n)?d(m(n.maxWait)||0,e):o,v="trailing"in n?!!n.trailing:v),h.cancel=function(){void 0!==f&&clearTimeout(f),a=0,r=c=i=f=void 0},h.flush=function(){return void 0===f?u:x(p())},h}}),a=n(i(),1),s=n(c(),1),t("t",()=>{const[t,e]=(0,a.useState)(!1);return(0,a.useLayoutEffect)(()=>{const t=()=>{e(window.innerWidth<o.screenSizes.tablet)};return window.addEventListener("resize",(0,s.default)(t,250)),t(),()=>window.removeEventListener("resize",t)},[]),t})}}});
//# sourceMappingURL=useIsMobile-legacy-DcW3TuZD.js.map