a
    %ñ»jr  ã                   @  s<   d dl mZ d dlmZ er(d dlmZ dddœdd„Zd	S )
é    )Úannotations)ÚTYPE_CHECKING)ÚURLr   Ústr)ÚurlÚreturnc                 C  s´   d}|| j pd7 }|| jrdnd7 }|| jr6| jd nd7 }| jr`d| jv r`|d| j d 7 }n|| jpjd7 }|| jr€d| j nd7 }|| jp�d7 }|| jpžd7 }|| jp¬d7 }|S )NÚ z//ú@ú:ú[ú])ÚprotocolZslashesÚauthÚhostnameÚportÚpathnameÚsearchÚhash)r   Úresult© r   ú3E:\soccer\ml_env\Lib\site-packages\mdurl/_format.pyÚformat	   s    r   N)Ú
__future__r   Útypingr   Z
mdurl._urlr   r   r   r   r   r   Ú<module>   s   