"use strict";function n(n){var t;if("undefined"==typeof window||null==window.navigator)return!1;let r=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(r)&&r.some((t=>n.test(t.brand)))||n.test(window.navigator.userAgent)}function t(n){var t;return"undefined"!=typeof window&&null!=window.navigator&&n.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function r(n){if("test"===process.env.NODE_ENV)return n;let t=null;return()=>(null==t&&(t=n()),t)}Object.defineProperty(exports,"__esModule",{value:!0});const i=r((function(){return t(/^Mac/i)})),e=r((function(){return t(/^iPhone/i)})),o=r((function(){return t(/^iPad/i)||i()&&navigator.maxTouchPoints>1})),u=r((function(){return e()||o()}));r((function(){return i()||u()})),r((function(){return n(/AppleWebKit/i)&&!a()}));const a=r((function(){return n(/Chrome/i)})),s=r((function(){return n(/Android/i)}));r((function(){return n(/Firefox/i)})),exports.isAndroid=s,exports.isChrome=a,exports.isIOS=u,exports.isIPad=o,exports.isIPhone=e,exports.isMac=i;
//# sourceMappingURL=platform.mjs.js.map
