var n=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})},u=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!l.call(t,r)&&r!==o&&n(t,r,{get:()=>e[r],enumerable:!(s=f(e,r))||s.enumerable});return t};var w=t=>u(n({},"__esModule",{value:!0}),t);var b={};p(b,{default:()=>m});module.exports=w(b);var a=require("react"),i=require("ua-parser-js"),d=()=>{let t=new i.UAParser;(0,a.useEffect)(()=>{t=new i.UAParser(typeof window<"u"?window.navigator.userAgent:{})},[]);let{type:e}=t.getDevice();return e==="mobile"||e==="tablet"},m=d;
