license /** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */ export function isFakeMousedownFromScreenReader ( event ) { return event . offsetX === 0 && event . offsetY === 0 ; } /** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */ export function isFakeTouchstartFromScreenReader ( event ) { const touch = ( event . touches && event . touches [ 0 ] ) || ( event . changedTouches && event . changedTouches [ 0 ] ) ; return ( ! ! touch && touch . identifier === - 1 && ( touch . radiusX == null || touch . radiusX === 1 ) && ( touch . radiusY == null || touch . radiusY === 1 ) ) ; }