ó
    Mîh¼
  ã                  ó>   • S r SSKJr  SSKJr  SS jrS	S jrS	S jrg)
z+
Internal module for console introspection
é    )Úannotations)Úget_terminal_sizec                 óæ   • SSK Jn   U " S5      nU " S5      n[        5       (       a3  [        5       (       a  SSKJn  U" S5      nU" S5      nO[        5       u  pEOSu  pEU=(       d    UU=(       d    U4$ )zb
Return console size as tuple = (width, height).

Returns (None,None) in non-interactive session.
r   ©Ú
get_optionzdisplay.widthzdisplay.max_rows)Úget_default_val)NN)Úpandasr   Úin_interactive_sessionÚin_ipython_frontendÚpandas._config.configr   r   )r   Údisplay_widthÚdisplay_heightr   Úterminal_widthÚterminal_heights         ÚK/var/www/html/env/lib/python3.13/site-packages/pandas/io/formats/console.pyÚget_console_sizer   	   sy   € õ "á˜Ó/€MÙÐ 2Ó3€Nô ×ÑÜ× Ñ õ >á,¨_Ó=ˆNÙ-Ð.@ÓA‰Oô /@Ó.AÑ+ˆN˜Oà*4Ñ'ˆð
 ×*˜N¨N×,M¸oÐMÐMó    c                 ót   ^• SSK Jm  U4S jn  [        =(       d    U " 5       $ ! [         a
    U " 5       s $ f = f)zƒ
Check if we're running in an interactive shell.

Returns
-------
bool
    True if running under python/ipython interactive shell.
r   r   c                 ó~   >•  SS K n [        U S5      (       + =(       d    T" S5      $ ! [         a    T" S5      s $ f = f)Nr   zmode.sim_interactiveÚ__file__)Ú__main__ÚModuleNotFoundErrorÚhasattr)Úmainr   s    €r   Ú
check_mainÚ*in_interactive_session.<locals>.check_mainA   sE   ø€ ð	6Û#ô ˜4 Ó,Ô,×R±
Ð;QÓ0RÐRøô #ó 	6ÙÐ4Ó5Ò5ð	6ús   ƒ' §<»<)r	   r   Ú__IPYTHON__Ú	NameError)r   r   s    @r   r
   r
   6   s7   ø€ õ "õSðä×*™j›lÐ*øÜó Ù‹|Òðús   # £7¶7c                 ó‚   •  [        5       n S[        [        U 5      5      R                  5       ;   $ ! [         a     gf = f)zF
Check if we're inside an IPython zmq frontend.

Returns
-------
bool
ÚzmqF)Úget_ipythonÚstrÚtypeÚlowerr   )Úips    r   r   r   O   s?   € ðä‹]ˆØœœD ›H›×+Ñ+Ó-Ñ-Ð-øÜó Øàðús   ‚.1 ±
>½>N)Úreturnztuple[int | None, int | None])r&   Úbool)Ú__doc__Ú
__future__r   Úshutilr   r   r
   r   © r   r   Ú<module>r,      s#   ðñõ #å $ô&NôZõ2r   