PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  oYB0@sddddgZddlmZddlZddlZddlmZddlmZd Z d Z d Z d Z d Z dZdZde e dfde e dfde e dfde e dfde e dfde e dfde e dfde e dfde e dfde e dfde e dfde e dfd dEde e dfde e dfde ddfd e ddfde ddfd!e e dfd"e e d"fiZd#dd$dd%dd&dd'dd(dd)dd*dd+dd,dd-dd.dd/dd0dd1dd2dd3dd4dd5dd6dd7d8d9dd:d;d<d iZdd=dd>d diZdddd?dZd@dZdAdZdBdCZGdDddZdS)FCharset add_alias add_charset add_codec)partialN)errors)encode_7or8bitzus-asciiz unknown-8bitz iso-8859-1z iso-8859-2z iso-8859-3z iso-8859-4z iso-8859-9z iso-8859-10z iso-8859-13z iso-8859-14z iso-8859-15z iso-8859-16z windows-1252Zvisciibig5gb2312zeuc-jpz iso-2022-jp shift_jiszkoi8-rzutf-8latin_1zlatin-1Zlatin_2zlatin-2Zlatin_3zlatin-3Zlatin_4zlatin-4Zlatin_5zlatin-5Zlatin_6zlatin-6Zlatin_7zlatin-7Zlatin_8zlatin-8Zlatin_9zlatin-9Zlatin_10zlatin-10cp949zks_c_5601-1987euc_jpeuc_krzeuc-krascii eucgb2312_cnbig5_twcCs/|tkrtd|||ft|Add character set properties to the global registry. charset is the input character set, and must be the canonical name of a character set. Optional header_enc and body_enc is either Charset.QP for quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for the shortest of qp or base64 encoding, or None for no encoding. SHORTEST is only valid for header_enc. It describes how message headers and message bodies in the input charset are to be encoded. Default is no encoding. Optional output_charset is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output charset when the method Charset.convert() is called. The default is to output in the same character set as the input. Both input_charset and output_charset must have Unicode codec entries in the module's charset-to-codec mapping; use add_codec(charset, codecname) to add codecs the module does not know about. See the codecs module's documentation for more information. z!SHORTEST not allowed for body_encN)SHORTEST ValueErrorCHARSETS)charsetZ header_encZbody_encoutput_charsetr&/opt/python35/lib/python3.5/charset.pyrms  cCs|t|r?encoderrextralinesZ current_linemaxlen characterZ this_linelengthZ separatorZ joined_linerrrheader_encode_lines,s6       zCharset.header_encode_linescCs|jtkrtjS|jtkr,tjS|jtkr|tjj|}tjj|}||krrtjStjSndSdS)N)r/r.email base64mimer9 quoprimimerrG)r2r>Zlen64Zlenqprrrr<js  zCharset._get_encodercCs|s |S|jtkrJt|tr:|j|j}tjj|S|jt krt|trz|j|j}|j d}tj j|St|tr|j|jj d}|SdS)avBody-encode a string by converting it first to bytes. The type of encoding (base64 or quoted-printable) will be based on self.body_encoding. If body_encoding is None, we assume the output charset is a 7bit encoding, so re-encoding the decoded string using the ascii codec produces the correct string version of the content. latin1rN) r0r.r(r)r$rrPrQ body_encoder9decoderR)r2r%rrrrTys zCharset.body_encodeN)__name__ __module__ __qualname____doc__DEFAULT_CHARSETr4r5__repr__r7r:r;r=rOr<rTrrrrrs +!      > )NNN)__all__ functoolsrZemail.base64mimerPZemail.quoprimimerZemail.encodersrr9r.rrBrZr#rErrr!rrrr'rrrrrs