function device_utils_isIOS() {
    const iosQuirkPresent = ()=>{
        const audio = new Audio();
        audio.volume = 0.5;
        return 1 === audio.volume;
    };
    const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
    const isAppleDevice = navigator.userAgent.includes('Macintosh');
    const isTouchScreen = navigator.maxTouchPoints >= 1;
    return isIOS || isAppleDevice && (isTouchScreen || iosQuirkPresent());
}
function isMacOS() {
    return navigator.platform.startsWith('Mac');
}
function hasKeyboard() {
    return window.matchMedia('(any-hover: hover)').matches;
}
export { device_utils_isIOS as isIOS, hasKeyboard, isMacOS };
