8fb nddlmZmZmZmZmZddlZddlZddlm Z m Z m Z ej dZ GddejZGdd ejZGd d ejZGd d eejZGddeejZdede ejfdZejedS))encodedecodealabelulabel IDNAErrorN)AnyTupleOptionalu [.。.。]c ZeZdZddededeeeffdZddededeeeffdZdS) Codecstrictdataerrorsreturnc|dkr"td||sdSt|t|fS)NrUnsupported error handling "{}"r)rformatrlenselfrrs v/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/idna/codec.pyrz Codec.encode sN X  ?FFvNNOO O 6d||SYY&&rc|dkr"td||sdSt|t|fS)Nrrr)rrrrrs rrz Codec.decodesN X  ?FFvNNOO O 5d||SYY&&rN)r) __name__ __module__ __qualname__strr bytesintrrrrr r s''3''5;L''''''5'#'U38_''''''rr c 6eZdZdedededeeeffdZdS)IncrementalEncoderrrfinalrc|dkr"td||sdSt|}d}|r|dsd}|d=n |s|d=|rd}g}d}|D]=}|t ||r|dz }|t |z }>d||z} |t |z }| |fS) Nrrrr.rr)rr_unicode_dots_resplitappendrrjoin) rrrr'labels trailing_dotresultsizelabel result_bytess r_buffer_encodez!IncrementalEncoder._buffer_encodes X  ?FFvNNOO O 6!''--  (": (# 2JJ (2J(#'L  E MM&-- ( ( (   CJJ DDyy((<7  L!!!T!!rN) rrr r!boolr r"r#r5r$rrr&r&sN"3""D"U5RU:EV""""""rr&c 6eZdZdedededeeeffdZdS)IncrementalDecoderrrr'rc|dkr"td||sdSt|tst|d}t|}d}|r|dsd}|d=n |s|d=|rd}g}d}|D]=}|t||r|d z }|t|z }>d ||z} |t|z }| |fS) Nrrrasciirr).rr) rr isinstancer!r+r,r-rrr.) rrrr'r/r0r1r2r3 result_strs r_buffer_decodez!IncrementalDecoder._buffer_decode>s5 X  ?FFvNNOO O 7$$$ &tW%%D!''--  '": '" 2JJ '2J'#&L  E MM&-- ( ( (   CJJ DDXXf%% 4  L!!!D!!rN) rrr r r!r6r r#r>r$rrr8r8=sM "3 " "D "U3PS8_ " " " " " "rr8ceZdZdS) StreamWriterNrrr r$rrr@r@aDrr@ceZdZdS) StreamReaderNrAr$rrrDrDerBrrDnamerc |dkrdStj|tjtjt t ttS)Nidna2008)rErrincrementalencoderincrementaldecoder streamwriter streamreader) codecs CodecInfor rrr&r8r@rD)rEs rsearch_functionrNisM zt   ww~ww~--!!   r)corerrrrrrLretypingr r r compiler+r BufferedIncrementalEncoderr&BufferedIncrementalDecoderr8r@rDr!rMrNregisterr$rrrVs;;;;;;;;;;;;;; ''''''''''2::;;'''''FL'''(""""":"""B!"!"!"!"!":!"!"!"H     5&-        5&-    # (6+;"<     r