§ !A?hFC ã ó® — d Z g d¢ZddlZddlZddlZddlZddlZddlZddlZ ddl mZ ddl mZ ddl mZ ddl mZmZmZ ddlmZ d Zd Zd ZdZdZ ej d ¦ « Z ej d¦ « Zd„ Zd„ Zd,d„Zd„ Zd„ Z dZ!ddœd„Z"d„ Z#d„ Z$d„ Z%d„ Z&d-d„Z'd.d„Z(d/d„Z)d „ Z*ddœd!„Z+d"„ Z,d#„ Z-d/d$„Z. ej d%ej/ ¦ « Z0d&„ Z1 d0d)„Z2d1d+„Z3dS )2zMiscellaneous utilities.)Úcollapse_rfc2231_valueÚ decode_paramsÚdecode_rfc2231Úencode_rfc2231Ú formataddrÚ formatdateÚformat_datetimeÚgetaddressesÚ make_msgidÚ mktime_tzÚ parseaddrÚ parsedateÚparsedate_tzÚparsedate_to_datetimeÚunquoteé N)Úquote)ÚAddressList)r )r r Ú _parsedate_tz)ÚCharsetz, Ú z ú'z[][\\()<>@,:;".]z[\\"]c óR — | ¦ « dS # t $ r Y dS w xY w)z;Return True if s may contain surrogate-escaped binary data.FT)ÚencodeÚUnicodeEncodeError)Úss ú8/opt/alt/python-internal/lib64/python3.11/email/utils.pyÚ_has_surrogatesr 4 s; € ð Ø �Љ Œ ˆ ؈uøÝð ð ð Øˆtˆtðøøøs ‚ ˜ &¥&c óZ — | dd¦ « }| dd¦ « S )Núutf-8ÚsurrogateescapeÚreplace)r Údecode)ÚstringÚoriginal_bytess r Ú _sanitizer% A s. € ð —]’] 7Ð,=Ñ>Ô>€NØ× Ò ¨)Ñ4Ô4Ð4ó r c ó– — | \ }}| d¦ « |r¬ | d¦ « d}t |¦ « rd}t d|¦ « }|›|›|›d|›d�S # t $ rD t |t ¦ « rt |¦ « }| |¦ « }|›d|›d�cY S w xY w|S )aú The inverse of parseaddr(), this takes a 2-tuple of the form (realname, email_address) and returns the string value suitable for an RFC 2822 From, To or Cc header. If the first element of pair is false, then the second element is returned unmodified. The optional charset is the character set that is used to encode realname in case realname is not ASCII safe. Can be an instance of str or a Charset-like object which has a header_encode method. Default is 'utf-8'. Úasciir ú"z\\\g<0>z <ú>) r Ú specialsreÚsearchÚ escapesreÚsubr Ú isinstanceÚstrr Ú header_encode)ÚpairÚcharsetÚnameÚaddressÚquotesÚencoded_names r r r M sÿ € ð �M€Dˆ'à‡N‚N�7ÑÔÐØð Cð CØ�KŠK˜Ñ Ô Ð ð ˆFÝ× Ò Ñ&Ô&ð