python (3.11.7)

(root)/
lib/
python3.11/
encodings/
__pycache__/
idna.cpython-311.opt-2.pyc

e#,ddlZddlZddlZddlmZejdZdZdZdZ	dZ
dZGd	d
ejZGddej
ZGd
dejZGddeejZGddeejZdZdS)N)	ucd_3_2_0u[.。.。]sxn--zxn--c:g}|D]>}tj|r|tj|?d|}tjd|}|D]}tj|stj|stj	|sxtj
|sdtj|sPtj|s<tj
|s(tj|stj|rt!d|zd|D}t#|rGt#d|Drt!d|dr|dst!d	|S)
NNFKCzInvalid character %rc6g|]}tj|S)
stringprepin_table_d1.0xs  B/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/encodings/idna.py
<listcomp>znameprep.<locals>.<listcomp>)s#
7
7
7Aj$Q''
7
7
7c3>K|]}tj|VdS)N)r	in_table_d2rs  r	<genexpr>znameprep.<locals>.<genexpr>1s-88Qz%a((888888rzViolation of BIDI requirement 2rzViolation of BIDI requirement 3)r	in_table_b1appendmap_table_b2joinunicodedata	normalizein_table_c12in_table_c22in_table_c3in_table_c4in_table_c5in_table_c6in_table_c7in_table_c8in_table_c9UnicodeErrorany)labelnewlabelcRandALs    rnameprepr*sH
44!!$$	
/223333GGHE
!&%00E
;
;"1%%		;"1%%		;!!$$		;!!$$		;!!$$			;
!!$$		;!!$$
		;!!$$		;!!$$		;59:::		;8
7
7
7
7F
6{{B88%88888	B@AAA
ay	Br
	B@AAALrc\	|d}dt|cxkrdkrnn|Std#t$rYnwxYwt|}	|d}dt|cxkrdkrnn|Std#t$rYnwxYw|t
rtd|d}t|z}dt|cxkrdkrnn|Std)Nasciir@label empty or too longzLabel starts with ACE prefixpunycode)encodelenr$r*
startswithsace_prefix
ace_prefix)r&s rToASCIIr5<s
6W%%
s5zzBL4555




UOOE6W%%

s5zzBL4555





$$;9:::
LL$$E
E	3u::
0
1
11s#A
AA%B((
B54B5ctt|trd}n+	|d}d}n#t$rd}YnwxYw|sCt	|}	|d}n#t$rtdwxYw|tst|dS|ttd}|	d}t|}t|dt|dkrtd|||S)NTr,FzInvalid character in IDN labelr/zIDNA does not round-trip)
isinstancebytesr0r$r*r2r4strr1decoder5lower)r&
pure_asciilabel1resultlabel2s     r	ToUnicoder@gs^%

	LL))EJJ			JJJ	A	ALL))EE	A	A	A?@@@	AJ''#5'"""3z??##
$F]]:
&
&FV__F5'  ""c&'&:&:::5ufEEEMs2AAA,,BceZdZddZddZdS)Codecstrictc|dkrtd|z|sdS	|d}|d}|ddD]-}dt|cxkrdksntd	.t|ddkrtd
|t|fS#t$rYnwxYwt}t|}|r|dsd}|d=nd}|D];}|r|d|t|<t||zt|fS)NrCunsupported error handling rrr,.rrr-r.zlabel too longr)
r$r0splitr1UnicodeEncodeError	bytearraydotsextendr5r8)selfinputerrorsr>labelsr&trailing_dots       rr0zCodec.encodesX<VCDDD	6	&\\'**F
\\$''F
B
BCJJ++++++++&'@AAA,6":"$$"#34443u::%%"			D	E""	&*	Lr

L	*	*E
$

d###MM'%..))))VL())3u::55sB99
CCc|dkrtd|z|sdSt|tst|}t|vr5	|dt|fS#t$rYnwxYw|d}|rt|ddkrd}|d=nd	}g}|D]$}|t|%d
||zt|fS)
NrCUnsupported error handling rrr,rGrr.r)r$r7r8r4r:r1UnicodeDecodeErrorrHrr@r)rMrNrOrPrQr>r&s       rr:zCodec.decodes/X<VCDDD	5%''	!%LLEU""
||G,,c%jj88%



T""	c&*oo**Lr

L	,	,EMM)E**++++xx,c%jj88s#A//
A<;A<N)rC)__name__
__module____qualname__r0r:rrrrBrBs=#6#6#6#6J 9 9 9 9 9 9rrBceZdZdZdS)IncrementalEncoderc|dkrtd|z|sdSt|}d}|r|dsd}|d=n	|s|d=|rd}t}d}|D]R}|r|d|dz
}|t||t
|z
}S||z
}|t
|z
}t||fS)	NrCrErFrrrGr)r$rKrHrJrLr5r1r8	rMrNrOfinalrPrQr>sizer&s	         r_buffer_encodez!IncrementalEncoder._buffer_encodesX<VCDDD	8E""	(":
(#2JJ
(2J(#'L		E


d###	MM'%..)))CJJDD,L!!!f

t$$rN)rWrXrYrarrrr[r[s# % % % % %rr[ceZdZdZdS)IncrementalDecoderc|dkrtd|z|sdSt|trt|}n%t|d}|d}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]=}|t
||r|d	z
}|t|z
}>d||z}|t|z
}||fS)
NrCrSrTr,rUrrrr])	r$r7r9rKrHrr@r1rr^s	         r_buffer_decodez!IncrementalDecoder._buffer_decodesBX<VCDDD	7eS!!	&ZZ&&FFw''E[[%%F	'":
'"2JJ
'2J'#&L		EMM)E**+++
	CJJDD&!!L0L!!!~rN)rWrXrYrerrrrcrcs#$$$$$rrcceZdZdS)StreamWriterNrWrXrYrrrrgrg"DrrgceZdZdS)StreamReaderNrhrrrrkrk%rirrkc	tjdtjtjt
tttS)Nidna)namer0r:incrementalencoderincrementaldecoderstreamwriterstreamreader)	codecs	CodecInforBr0r:r[rcrgrkrrrgetregentryru*s=
ww~ww~--!!r)r	rersrrcompilerKr4r3r*r5r@rBBufferedIncrementalEncoderr[BufferedIncrementalDecoderrcrgrkrurrr<module>rzs000000rz.//
,,,\)2)2)2V%%%RF9F9F9F9F9FLF9F9F9P!%!%!%!%!%:!%!%!%F%%%%%:%%%N					5,								5,			
					r