B ”äî\‹ã@sŠdZddlZddlmZddlmZdd„Zdd „Zd d „Zd d „Zdd„Z dd„Z dd„Z dd„Z e  d¡Zdd„Zdd„Zdd„ZdS)z.Module with functions to normalize components.éNé)Úcompat)ÚmisccCs| ¡S)zNormalize the scheme component.)Úlower)Úscheme©rúG/tmp/pip-build-uw_ogi45/urllib3/urllib3/packages/rfc3986/normalizers.pyÚnormalize_schemesr cCsF|\}}}d}|r"|t|ƒd7}|r2|t|ƒ7}|rB|d|7}|S)z)Normalize an authority tuple to a string.Úú@ú:)Únormalize_percent_charactersÚnormalize_host)Ú authorityÚuserinfoÚhostÚportÚresultrrrÚnormalize_authoritys   rcCs t |¡S)zs      "