§
     ¾<i  ã                  ó*   — d dl mZ d dlmZmZ d	d„ZdS )
é    )Úannotations)ÚIOÚCallableÚ	file_likeúIO[str]Úreturnú
int | Nonec                ód   — t          | dd¦  «        }|	  |¦   «         S # t          $ r Y dS w xY wdS )zìGet fileno() from a file, accounting for poorly implemented file-like objects.

    Args:
        file_like (IO): A file-like object.

    Returns:
        int | None: The result of fileno if available, or None if operation failed.
    ÚfilenoN)ÚgetattrÚ	Exception)r   r   s     ú‡/Users/kimhansen/Desktop/03 Workspace/ceo-agents/chl-effectiveness/mcp-servers/whoop/.venv/lib/python3.11/site-packages/rich/_fileno.pyÚ
get_filenor      sV   € õ (/¨y¸(ÀDÑ'IÔ'I€FØÐð	Ø6‘8”8ˆOøÝð 	ð 	ð 	ð 44ð		øøøð
 ˆ4s   •	 Ÿ
-¬-N)r   r   r   r	   )Ú
__future__r   Útypingr   r   r   © ó    r   ú<module>r      sM   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð Ð Ð ðð ð ð ð ð r   