HEX
Server: LiteSpeed
System: Linux srv146.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: kodi1989 (1633)
PHP: 8.1.34
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/rich/__pycache__/_loop.cpython-37.pyc
B

��f��@s�ddlmZmZmZed�Zeeeeeefd�dd�Zeeeeeefd�dd�Zeeeeeeefd�dd	�Zd
S)�)�Iterable�Tuple�TypeVar�T)�values�returnccsPt|�}yt|�}Wntk
r(dSXd|fVx|D]}d|fVq:WdS)z9Iterate and generate a tuple with a flag for first value.NTF)�iter�next�
StopIteration)r�iter_values�value�r
�;/opt/alt/python37/lib/python3.7/site-packages/rich/_loop.py�
loop_firsts

rccsTt|�}yt|�}Wntk
r(dSXx|D]}d|fV|}q0Wd|fVdS)z8Iterate and generate a tuple with a flag for last value.NFT)rr	r
)rr�previous_valuerr
r
r�	loop_lasts

rccs`t|�}yt|�}Wntk
r(dSXd}x |D]}|d|fVd}|}q4W|d|fVdS)zBIterate and generate a tuple with a flag for first and last value.NTF)rr	r
)rrr�firstrr
r
r�loop_first_lasts
rN)	�typingrrrr�boolrrrr
r
r
r�<module>s