403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/breezy/bzr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/bzr/__pycache__/groupcompress.cpython-313.pyc
�

p��g���X�%SrSSKrSSKrSSKJr \"\"5S5 SSKJrJrJr SSK	J
r
 SS	KJr SS
K
JrJrJrJrJrJrJr SrSrS
rSr"SS\R25rSr"SS5r"SS5r"SS5rSr"SS5r "SS\ 5r!"SS\ 5r"S,Sjr#S r$"S!S"5r%"S#S$\5r&"S%S&5r'"S'S(5r(\)\ \*S)'SS*K+J,r,J-r-J.r.J/r/J0r0J1r1 SS+K2J3r3J-r-J.r.J/r/J1r1 \"r4g!\5ar6\Rn"\65 \!r4Sr6C6gSr6C6ff=f)-z@Core compression logic for compressing streams of related files.�N�)�lazy_importz�
from breezy import (
    debug,
    tsort,
    )
from breezy.bzr import (
    knit,
    pack,
    pack_repo,
    )

from breezy.i18n import gettext
)�errors�osutils�trace)�LRUSizeCache�)�BTreeBuilder)�AbsentContentFactory�ChunkedContentFactory�ExistingContent�UnavailableRepresentation�VersionedFilesWithFallbacks�_KeyRefs�adapter_registryis(da39a3ee5e6b4b0d3255bfef95601890afd80709c��/nUH:n[U[[45(a[U5nUR	U5 M< [U5$)z�Ensure that the object and any referenced objects are plain tuples.

:param obj: a list, tuple or StaticTuple
:return: a plain tuple instance, with all children also being tuples.
)�
isinstance�tuple�list�	as_tuples�append)�obj�result�items   �:/usr/lib/python3/dist-packages/breezy/bzr/groupcompress.pyrr>sE���F����d�U�D�M�*�*��T�?�D��
�
�d�����=��c	�V�0nUR5H9up#[U[5(d[U5S:XaSnOUSnX1UU'M; /n[U5H2nUR
[[RX555 M4 U$![a	 X#0X'M�f=f)z�Sort and group the keys in parent_map into groupcompress order.

groupcompress is defined (currently) as reverse-topological order, grouped
by the key prefix.

:return: A sorted-list of keys
r	rr)
�itemsr�bytes�len�KeyError�sorted�extend�reversed�tsort�	topo_sort)�
parent_map�per_prefix_map�key�value�prefix�present_keyss      r�sort_gc_optimalr-Ls����N� �&�&�(�
���c�5�!�!�S��X��]��F���V�F�	2�*/�6�"�3�'�
)��L���(�����H�U�_�_�^�5K�%L�M�N�)����
�	2�&)�\�N�"�	2�s�B�B(�'B(c�"�\rSrSrSrSSjrSrg)�DecompressCorruption�gz<Corruption while decompressing repository file%(orig_error)sNc��UbSRU5UlOSUl[RR	U5 g)Nz, {}�)�format�
orig_errorr�BzrError�__init__)�selfr4s  rr6�DecompressCorruption.__init__js1���!�$�m�m�J�7�D�O� �D�O���� � ��&r)r4�N)�__name__�
__module__�__qualname__�__firstlineno__�_fmtr6�__static_attributes__�rrr/r/gs��I�D�'rr/i�c��\rSrSrSrSrSr\\4rSrSr	SSjr
S	r\S
5r
\S5rSSjrS
rSrSrSrSrSrSSjrSrg)�GroupCompressBlock�xz�An object which maintains the internal structure of the compressed data.

This tracks the meta info (start of text, length, type, etc.)
sgcb1z
sgcb1l
c�f�SUlSUlSUlSUlSUlSUlSUlgr9)�_compressor_name�_z_content_chunks�_z_content_decompressor�_z_content_length�_content_length�_content�_content_chunks�r7s rr6�GroupCompressBlock.__init__�s9�� $���!%���'+��$�!%���#�����
�#��rc�4�URUR-$r9)rIrHrLs r�__len__�GroupCompressBlock.__len__�s���#�#�d�&<�&<�<�<rNc��URc[S5eUc
URnO8URb+XR:�a[SUSURS35eURc4URb'SR	UR5UlSUlURGcCUR
c[S5eSR	UR
5nUS:Xa	SUlGOURS:XaS	SKnURU5UlO�URS
:Xa�US-URS-:�a(URn[R"U5UlO�[R"5UlURRX![-5UlURR(dSUlO$[S
RUR55e[UR5U:�agURc[SUS35eURRnU(d[S5eU[UR5-
nU=RURRXE[-5-
sl[UR5U:a$[US[UR5S35eURR(dSUlgg)z�Make sure that content has been expanded enough.

:param num_bytes: Ensure that we have extracted at least num_bytes of
    content. If None, consume everything
Nz)self._content_length should never be Nonezrequested num_bytes (z) > content length (�)rzNo content to decompress�lzmar�zlib��zUnknown compressor: {!r}zNo decompressor to decompress � byteszNothing left to decompressz bytes wanted, only z
 available)rI�AssertionErrorrJrK�joinrFrE�pylzma�
decompressrT�
decompressobjrG�_ZLIB_DECOMP_WINDOW�unconsumed_tailr3r )r7�	num_bytes�	z_contentrZ�remaining_decomp�needed_bytess      r�_ensure_content�"GroupCompressBlock._ensure_content�s������'� �!L�M�M����,�,�I�
�
!�
!�
-�)�>R�>R�2R� �'�	�{�2F�t�G[�G[�F\�\]�^��
��=�=� ��#�#�/� #����)=�)=� >��
�'+��$��=�=� ��%�%�-�$�%?�@�@�����!7�!7�8�I��C�� #��
��&�&�&�0�� &� 1� 1�)� <��
��&�&�&�0��q�=�4�#7�#7�!�#;�;�!%� 4� 4�I�$(�O�O�I�$>�D�M�37�3E�3E�3G�D�0�%)�$@�$@�$K�$K�!�/B�#B�%�D�M� �7�7�G�G�7;��4��$�.�5�5�d�6K�6K�L����t�}�}���*���'�'�/� �#A�)��F�!S�T�T��7�7�G�G��� �!=�>�>� �3�t�}�}�#5�5��
	
�
�
��5�5�@�@��-@�@�
�	
�
��t�}�}��	�)� ��+�1�#�d�m�m�2D�1E�Z�P��
��+�+�;�;�+/�D�(�<rc�L�URSX"S-5n[XU5UlUS-nURSX"S-5n[XU5UlUS-n[	U5X R-:wa'[S[	U5SUSUR35eXS4Ulg)z�Read the various lengths from the header.

This also populates the various 'compressed' buffers.

:return: The position in bytes just after the last newline
�
�r	zInvalid bytes: (z) != z + N)�index�intrHrIr rXrF)r7�data�pos�pos2s    r�_parse_bytes�GroupCompressBlock._parse_bytes�s����z�z�%��B�h�/��!$�T�d�^�!4����Q�h���z�z�%��B�h�/��"�4�D�>�2����Q�h���t�9��5�5�5�6� �"�3�t�9�+�U�3�%�s�4�;Q�;Q�:R�S��
�#'�t�*���rc�T�URbSRUR5$g)zVReturn z_content_chunks as a simple string.

Meant only to be used by the test suite.
Nr)rFrYrLs r�
_z_content�GroupCompressBlock._z_content�s(���!�!�-��8�8�D�2�2�3�3�rc�8�U"5nUSSnX0R;a$[SRUR55eX0R:XaSUlO1X0R
:XaSUlO[SRU55eUR
US5 U$)N�z$bytes did not start with any of {!r}rTrSzunknown compressor: {!r})�GCB_KNOWN_HEADERS�
ValueErrorr3�
GCB_HEADERrE�
GCB_LZ_HEADERrm)�clsr�out�headers    r�
from_bytes�GroupCompressBlock.from_bytess����e���r�����.�.�.��6�=�=�c�>S�>S�T��
��^�^�#�#)�C� �
�(�(�
(�#)�C� ��7�>�>�v�F�G�G������"��
rc��X#s=:XaS:Xa/$ URU5 URX"S-nUS:XaO US:wa[SRU55e[	URUS-US-5upgUS-U-nX8U-:wa[SRX8U-55eUS:XaURX�/$[URX�5/$)z�Extract the text for a specific key.

:param key: The label used for this content
:param sha1: TODO (should we validate only when sha1 is supplied?)
:return: The bytes for the content
rr	�f�dz Unknown content control code: {}rsz-end != len according to field header {} != {})rcrJrur3�decode_base128_int�apply_delta_to_source)	r7r)�start�end�sha1�c�content_len�len_len�
content_starts	         r�extract�GroupCompressBlock.extracts�����1���I�����S�!�

�M�M�%�!�)�,����9���D�y� �!C�!J�!J�1�!M�N�N�1�$�-�-���	�E�TU�I�2V�W�����	�G�+�
��+�-�-��?�F�F���4���
�

��9��M�M�-�4�5�5�%�d�m�m�]�H�I�Irc�8�X lXlSUlSUlg)z2Set the content of this block to the given chunks.N)rIrKrJrF)r7�content_chunks�lengths   r�set_chunked_content�&GroupCompressBlock.set_chunked_content8s�� &��-����
�!%��rc�>�[U5UlXlSUlg)zSet the content of this block.N)r rIrJrF)r7�contents  r�set_content�GroupCompressBlock.set_contentDs��"�7�|����
�!%��rc�b�[R"[R5n[[	UR
U55nUR
UR55 UVs/sH
oD(dMUPM snUl[[	[UR55Ulgs snfr9)rT�compressobj�Z_DEFAULT_COMPRESSIONr�map�compressr�flushrF�sumr rH)r7�chunks�
compressor�compressed_chunksr�s     r�_create_z_content_from_chunks�0GroupCompressBlock._create_z_content_from_chunksJs����%�%�d�&@�&@�A�
�!��Z�%8�%8�&�!A�B��� � ��!1�!1�!3�4�->�!D�->��!�!�->�!D���!$�S��d�.D�.D�%E�!F����"Es�'
B,�5B,c��URbgURb
URnO
UR4nURU5 gr9)rFrKrJr�)r7r�s  r�_create_z_content�$GroupCompressBlock._create_z_contentTsB���!�!�-�����+��)�)�F��m�m�%�F��*�*�6�2rc���UR5 URnSXRUR4-/nUR	UR
5 [
[[U55nX24$)z/Create the byte stream as a series of 'chunks'.s%s%d
%d
)	r�rvrHrIr#rFr�r�r )r7rzr��	total_lens    r�	to_chunks�GroupCompressBlock.to_chunks]se����� ������V�%;�%;�T�=Q�=Q�R�R�
��	�
�
�d�,�,�-���C��(�)�	�� � rc�H�UR5upSRU5$)z*Encode the information into a byte stream.r)r�rY)r7r�r�s   r�to_bytes�GroupCompressBlock.to_byteshs �� �N�N�,��	��x�x���rc��UR5 /nSnX0R:Ga�URX3S-nUS-
nUS;a[SR	U55e[URX3S-5upVX6-
nXS-UR:�a[SUSX6-
S-
35eUS:XaBU(a&URX3U-nUR
SXW45 GOUR
SU45 GO	US	:XGaURX3U-n/n	[U5up�UR
S	XZU	45 SnX�:a�X�n
US-
nU
S
-(aT[X�U5up�nU(a&URX�U-nU	R
SX�U45 OU	R
SX�45 X�-
nO,U(aX�X�-nOSnU	R
S
U
U45 X�-
nX�-
nX�:aM�X�:wa[SUSU35eX�:wa[SU
SUS35eX5-
nX0R:aGM�U$)a�Take this block, and spit out a human-readable structure.

:param include_text: Inserts also include text bits, chose whether you
    want this displayed in the dump or not.
:return: A dump of the given block. The layout is something like:
    [('f', length), ('d', delta_length, text_length, [delta_info])]
    delta_info := [('i', num_bytes, text), ('c', offset, num_bytes),
    ...]
rr	)r~rzinvalid kind character: {!r}�zinvalid content_len z for record @ pos r~r��cr�iz&Delta consumed a bad number of bytes: z != zDelta claimed fulltext was z# bytes, but extraction resulted in rW)rcrIrJrur3r�r�decode_copy_instruction)r7�include_textrrk�kindr�r��text�
delta_content�
delta_info�
decomp_len�	delta_pos�measured_lenr��offsetr��txts                 r�_dump�GroupCompressBlock._dumpmsi��	
���������(�(�(��=�=��Q�w�/�D��1�H�C��<�'� �!?�!F�!F�t�!L�M�M�#5�d�m�m�C�PQ�'�6R�#S� �K��N�C�� �4�#7�#7�7� �*�;�-�7I�#�-�Z[�J[�I\�]����t�|���=�=��[�/@�A�D��M�M�4��";�<��M�M�4��"5�6���� $�
�
�c�+�4E� F�
��
�(:�=�(I�%�
��
�
�t�[�j�I�J� ���-�%�0�A���N�I��4�x�6M�)�i�7�3���(�#'�=�=��6�/�#J�D�&�-�-�t�V�T�.J�K�&�-�-�t�V�.D�E�$�.��'�"/�I�M�"J�C�"%�C�"�)�)�4��C�.�9�$�)��!��	�) �-�*�+�$�@���4�P[�}�]��� �-�$�5�j�\�Ad�eq�dr�rx�y���
��C�k�(�(�(�l�
r)rErJrKrIrFrGrHr9�F)r:r;r<r=�__doc__rvrwrtr6rOrcrm�propertyrp�classmethodr{r�r�r�r�r�r�r�r�r?r@rrrBrBxs�����J��M�#�]�3��$�=�O0�b/�.�������� J�B
&�&�G�3�	!� �
CrrBc�6�\rSrSrSrSrSrSrSrSr	Sr
g	)
�_LazyGroupCompressFactoryi�z2Yield content from a GroupCompressBlock on demand.c��XlX lSUlSUlX0lSUlSUlU(dSUlX`lX@lXPl	g)a�Create a _LazyGroupCompressFactory.

:param key: The key of just this record
:param parents: The parents of this key (possibly None)
:param gc_block: A GroupCompressBlock object
:param start: Offset of the first byte for this record in the
    uncompressd content
:param end: Offset of the byte just after the end of this record
    (ie, bytes = content[start:end])
:param first: Is this the first Factory for the given block?
N�groupcompress-block�groupcompress-block-ref)
r)�parentsr��size�_manager�_chunks�storage_kind�_first�_start�_end)r7r)r��managerr�r��firsts       rr6�"_LazyGroupCompressFactory.__init__�sL��������	���	� �
����1���� 9�D�������	rc�x�SRURRURUR5$)Nz{}({}, first={}))r3�	__class__r:r)r�rLs r�__repr__�"_LazyGroupCompressFactory.__repr__�s)��!�(�(����)@�)@�$�(�(�D�K�K�X�Xrc�*�URR5 URR
nUR
URURUR5Ul
g![Ran[	SU<35UeSnAff=f)Nzzlib: )r��_prepare_for_extractrT�errorr/�_blockr�r)r�r�r�)r7r*�blocks   r�_extract_bytes�(_LazyGroupCompressFactory._extract_bytes�su��	F��M�M�.�.�0��
�
�$�$���}�}�T�X�X�t�{�{�D�I�I�F�����z�z�	F�&���y�'9�:��E��	F�s�A)�)B�=B
�
Bc��XR:Xa,UR(aURR5$gUS;apURcUR5 US:XaSR
UR5$US:XaUR$[R"UR5$[URXR5e)Nr)�fulltext�chunked�linesr�r�)r�r�r��_wire_bytesr�r�rYr�chunks_to_linesrr)�r7r�s  r�get_bytes_as�&_LazyGroupCompressFactory.get_bytes_as�s����,�,�,��{�{��}�}�0�0�2�2���;�;��|�|�#��#�#�%��z�)��x�x����-�-���*��|�|�#��.�.�t�|�|�<�<�'����,�@Q�@Q�R�Rrc��URcUR5 US:Xa[UR5$US:Xa)[[R"UR55$[URXR5e)Nr�r�)r�r��iterrr�rr)r�r�s  r�
iter_bytes_as�'_LazyGroupCompressFactory.iter_bytes_as�sh���<�<�����!��9�$�����%�%�
�W�
$���/�/����=�>�>�'����,�@Q�@Q�R�Rr)
r�r�r�r�r�r)r�r�r�r�N)r:r;r<r=r�r6r�r�r�r�r?r@rrr�r��s"��<��<Y�	G�S�$Srr�c��\rSrSrSrSrSrSrSrSr	SS	jr
S
rSrSr
S
rSrSrSrSrSrSrSr\S5rSrg)�_LazyGroupContentManageriz:This manages a group of _LazyGroupCompressFactory objects.g�?�@� i0iNc�F�Xl/UlSUlX lSUlg�Nr)r��
_factories�
_last_byte�
_get_settings�_compressor_settings)r7r��get_compressor_settingss   rr6�!_LazyGroupContentManager.__init__s#����������4��$(��!rc��URbUR$SnURbUR5nUc[nURnXlUR$r9)r�r��GroupCompressVersionedFiles�_DEFAULT_COMPRESSOR_SETTINGS)r7�settings�vfs   r�_get_compressor_settings�1_LazyGroupContentManager._get_compressor_settingssa���$�$�0��,�,�,������)��)�)�+�H���,�B��6�6�H�$,�!��(�(�(rc	��UR(dSnOSn[XXXES9nX@R:�aX@lURRU5 g)NTF)r�)r�r�r�r)r7r)r�r�r�r��factorys       r�add_factory�$_LazyGroupContentManager.add_factory sD������E��E�+�C�$�s�X����� �!�O������w�'rc#�V# �URHnUv� SUlSUlM g7f)z'Get a record for all keys added so far.N)r��_bytesr�)r7r�s  r�get_record_stream�*_LazyGroupContentManager.get_record_stream.s'������G��M�!�G�N�#�G��	'�s�')c��[R"SURRU5 [	5nURRU5 UR
URRSU5 X lg)z?Create a new GroupCompressBlock, with just some of the content.z:stripping trailing bytes from groupcompress block %d => %dN)r�mutterr�rIrBrcr�rJ)r7�	last_byte�	new_blocks   r�_trim_block�$_LazyGroupContentManager._trim_block8sc��
	���H��K�K�'�'��	
�
'�(�	����#�#�I�.����d�k�k�2�2�:�I�>�?��rc�4�[UR55$r9��GroupCompressorr�rLs r�_make_group_compressor�/_LazyGroupContentManager._make_group_compressorG����t�<�<�>�?�?rc�P�UR5n[R"5nURRnSnURHxnURS5nURnUc[[[U55nURURXgUR5up�pJX�lX�l
XElMz X@lUR!5n[R"5U-
nX�l["R$"SUUURR5 g)z?Create a new GroupCompressBlock with only the referenced texts.rr�NzFcreating new compressed block on-the-fly in %.3fs %d bytes => %d bytes)r�timer�rIr�r�r�r�r�r r�r)r�r�r�r�r�rr)
r7r��tstart�
old_length�	end_pointr�r��
chunks_len�
found_sha1�start_point�typer�deltas
             r�_rebuild_block�'_LazyGroupContentManager._rebuild_blockJs����0�0�2�
�������[�[�0�0�
��	����G��)�)�)�4�F� ���J��!� ��S�&�!1�2�
�9C�9L�9L����V����:�6�Z�i�&�L�(�N�$�L�'�$���$�$�&�	��	�	��f�$����
���T����K�K�'�'�		
rc�N�URRUR5 g)z<A _LazyGroupCompressFactory is about to extract to fulltext.N)r�rcr�rLs rr��-_LazyGroupContentManager._prepare_for_extractps��	
���#�#�D�O�O�4rc��SnSnURH;nXRUR-
-
nX#R:dM/URnM= US-URR:�aSX!4$US-U:�aSX!4$SX!4$)z-Check to see if our block should be repacked.rrN�trim�rebuild)r�r�r�r�rI)r7�total_bytes_used�last_byte_usedr�s    r�_check_rebuild_action�._LazyGroupContentManager._check_rebuild_actionxs����������G����w�~�~� =�=�����,�!(����'��a��4�;�;�#>�#>�>���9�9��a��.�0��>�;�;��.�:�:rc�V�[UR5S:XagUR5upnURRnX4UR
-:agX@R:�agSnURH1nURSSnUcUnMXu:wdM X@R:�a g g g)z�Is the current block considered 'well utilized'?

This heuristic asks if the current block considers itself to be a fully
developed group, rather than just a loose collection of data.
r	FTN���)	r r�r"r�rI�_max_cut_fraction�_full_enough_block_sizer)�_full_enough_mixed_block_size)r7�actionr!r �
block_size�
common_prefixr�r+s        r�check_is_well_utilized�/_LazyGroupContentManager.check_is_well_utilized�s����t����1�$��37�3M�3M�3O�0�� 0��[�[�0�0�
��4�+A�+A�A�A��$�5�5�5��
�
����G��[�[��"�%�F��$� &�
��(��!C�!C�C����''�&rc���UR5upnUcgUS:XaURU5 gUS:XaUR5 g[SR	U55e)Nrrzunknown rebuild action: {!r})r"rrrur3)r7r)r!r s    r�_check_rebuild_block�-_LazyGroupContentManager._check_rebuild_block�s_��37�3M�3M�3O�0�� 0��>���V�����^�,�
�y�
 ����!��;�B�B�6�J�K�Krc��UR5 S/n/nURHvnSRUR5nURnUcSnOSRSU55nSUUUR
UR4-nURU5 Mx SRU5nA[U5n	[R"U5n
A[U
5nURR5up�URSX�U4-5 URU
5 URU
5 A
A
SRU5$)	z=Return a byte stream suitable for transmitting over the wire.sgroupcompress-block
��None:�	c3�D# �UHnSRU5v� M g7f)r2N)rY)�.0r)s  r�	<genexpr>�7_LazyGroupContentManager._wire_bytes.<locals>.<genexpr>�s���)O�w��'�,�,�s�*;�*;�w�s� s%s
%s
%d
%d
rs	%d
%d
%d
)r/r�rYr)r�r�r�rr rTr�r�r�r#)r7r��header_linesr��	key_bytesr��parent_bytes�
record_header�header_bytes�header_bytes_len�z_header_bytes�z_header_bytes_len�block_bytes_len�block_chunkss              rr��$_LazyGroupContentManager._wire_bytes�s1���!�!�#�*�*�������G����W�[�[�1�I��o�o�G���'��$�z�z�)O�w�)O�O��/���������	3��M�
���
�.�'� �x�x��-����|�,�����|�4��� ��0��(,���(=�(=�(?�%��
����1�_�U�U�	
�	���^�$�
���\�"��L��x�x���rc��URSS5up#pEnAUS:wa[SRU55e[U5n[	U5U:a[S5eUSUn[U5n[
R"U5n[	U5U:wa[S5eA[U5n[	U5X5-:wa[S5eXcSn	AURS5n
AU
R5nUS:wa[S	5e[	U
5S-S
:wa[S5e[RU	5nA	U"U5n
[S
[	U
5S5H�n[X�RS55nX�S
-nUS:XaSnOL[URS5Vs/sH&nU(dM[URS55PM( sn5n[X�S-5n[X�S-5nU
RUUUU5 M� U
$s snf)NrfrUsgroupcompress-block�Unknown storage kind: {}z,Compressed header len shorter than all bytesz%invalid length for decompressed byteszInvalid length for blockrz0header lines did not end with a trailing newlinerz.The header was not an even multiple of 4 linesr2r	r3r4rrV)
�splitrur3rir rTr[�poprBr{�rangerr�)rxrr��z_header_len�
header_len�	block_len�rest�z_headerrz�block_bytesr9�lastr�rr�r)�parents_liner��segment�start_offset�
end_offsets                     rr{�#_LazyGroupContentManager.from_bytess��
EJ�K�K��1�E
�A��Z�D�
��1�1��7�>�>�|�L�M�M��<�(���t�9�|�#��K�L�L��
��&����_�
�����*���v�;�*�$��D�E�E���	�N�	��t�9��0�0��7�8�8��=�)����|�|�E�*������!���3�;��O�P�P��|��q� �A�%��M�N�N�"�-�-�k�:����U����1�c�,�/��3�E���+�1�1�'�:�;�C�'��	�2�L��x�'����(4�'9�'9�%�'@��'@�G�"�6��g�m�m�G�4�5�'@�����|�A�I�6�7�L��\�!�)�4�5�J����s�G�\�:�F�!4�"�
��s�H
�$H
)r�r�r�r�r�r9)r:r;r<r=r�r&�_full_block_size�_full_mixed_block_sizer'r(r6r�r�rrrrr�r"r,r/r�r�r{r?r@rrr�r�sz��D���'��,��-��$2�!�)�
)�(�$�
 �@�$
�L5�;�><�|	L�3�j�5��5rr�c��US:wa[SRU55e[RU5nUR	5$)Nr�rE)rur3r�r{r)r�r�line_endr�s    r�network_block_to_recordsrYNsA���,�,��3�:�:�<�H�I�I�&�1�1�%�8�G��$�$�&�&rc�J�\rSrSrSSjrSSjrS
SjrSrSrSr	S	r
S
rg)�_CommonGroupCompressoriUNc��/UlSUlSUlSUl0UlSUl[
5UlUc0UlgXlg)zCreate a GroupCompressor.Nr)	r��_last�endpoint�input_bytes�
labels_deltas�_delta_indexrBr��	_settings)r7r�s  rr6�_CommonGroupCompressor.__init__VsK�������
���
������� ���(�*������D�N�%�Nrc��US:XaU[:Xa
[5e[SSS4$UbUnO[R"U5nUbXu:Xa
[5eUScUSSSU-4-nUR	XX3S-U5up�n
XxX�4$)agCompress lines with label key.

:param key: A key tuple. It is stored in the output
    for identification of the text during decompression. If the last
    element is b'None' it is replaced with the sha1 of the text -
    e.g. sha1:xxxxxxx.
:param chunks: Chunks of bytes to be compressed
:param length: Length of chunks
:param expected_sha: If non-None, the sha the lines are believed to
    have. During compression the sha is calculated; a mismatch will
    cause an error.
:param nostore_sha: If the computed sha1 sum matches, we will raise
    ExistingContent rather than adding the text.
:param soft: Do a 'soft' compression. This means that we require larger
    ranges to match to be considered for a copy command.

:return: The sha1 of lines, the start and end offsets in the delta, and
    the type ('fulltext' or 'delta').

:seealso VersionedFiles.add_lines:
rr�Nr%�sha1:r)�
_null_sha1r
r�sha_strings�	_compress)r7r)r�r��expected_sha�nostore_sha�softr�r�r�rs           rr��_CommonGroupCompressor.compressds���,�Q�;��j�(�%�'�'��q�!�Z�/�/��#��D��&�&�v�.�D��"��"�%�'�'��r�7�?��c�r�(�h��o�/�/�C��>�>�#�v��z�4�P���D��C�%�%rc�,�[UR5e)a8Compress lines with label key.

:param key: A key tuple. It is stored in the output for identification
    of the text during decompression.

:param chunks: The chunks of bytes to be compressed

:param input_len: The length of the chunks

:param max_delta_size: The size above which we issue a fulltext instead
    of a delta.

:param soft: Do a 'soft' compression. This means that we require larger
    ranges to match to be considered for a copy command.

:return: The sha1 of lines, the start and end offsets in the delta, and
    the type ('fulltext' or 'delta').
)�NotImplementedErrorrh)r7r)r��	input_len�max_delta_sizerks      rrh� _CommonGroupCompressor._compress�s��&"�$�.�.�1�1rc��URUup#pEURX5nSRU5nUSSnUS:XaT[USS5up�U	S-U
-nU[	U5:wa$[SR
[	U5U55eXzS-S/nO�US:wa[SR
U55eSRURSU5n
[USS5up�US-U
-nU[	U5:wa$[S	R
[	U5U55e[X�U
S-S5/n[R"U5nX�4$)
z�Extract a key previously added to the compressor.

:param key: The key to extract.
:return: An iterable over chunks and the sha1.
rNr	r~�
z;Index claimed fulltext len, but stored bytes claim {} != {}rz$Unknown content kind, bytes claim {}z8Index claimed delta len, but stored bytes claim {} != {})
r`r�rYr�r rur3�apply_deltarrg)r7r)�
start_byte�start_chunk�end_byte�	end_chunk�delta_chunks�stored_bytesr��fulltext_lenr��data_lenrj�source�	delta_len�	data_sha1s                rr��_CommonGroupCompressor.extract�sk��:>�9K�9K�C�9P�6��(��{�{�;�9���x�x��-���B�Q����4�<�#5�l�1�R�6H�#I� �L�#�a�'�&�0�H��3�|�,�,� �&�&,�f�S��->��&I���!�!���.�/�D��t�|� �!G�!N�!N�t�!T�U�U��X�X�d�k�k�,�;�7�8�F� 2�<��"�3E� F��I� �1�}�v�-�H��3�|�,�,� �N�U�U��L�)�8����
 ��V�a�Z�\�(B�C�D�D��'�'��-�	���rc��URRURUR5 SUlSUlUR$)zmFinish this group, creating a formatted stream.

After calling this, the compressor should no longer be used
N)r�r�r�r^rarLs rr��_CommonGroupCompressor.flush�s9��
	
���'�'����T�]�]�C���� ����{�{�rc��SUlURURSS2	URSUlSUlg)z�Call this if you want to 'revoke' the last compression.

After this, the data structures will be rolled back, but you cannot do
more compression.
Nrr	)rar�r]r^rLs r�pop_last�_CommonGroupCompressor.pop_last�s8��!����K�K��
�
�1�
��(��
�
�1�
��
���
rc�X�[UR5[UR5-$)z%Return the overall compression ratio.)�floatr_r^rLs r�ratio�_CommonGroupCompressor.ratio�s!���T�%�%�&��t�}�}�)=�=�=r)r�rar]rbr�r^r_r`r9)NFr�)r:r;r<r=r6r�rhr�r�r�r�r?r@rrr[r[Us'��&�&&�P2�*"�H�	�>rr[c�6^�\rSrSrSU4SjjrSSjrSrU=r$)�PythonGroupCompressori�c�z>�[TU]U5 [/5UlURRUlg)zLCreate a GroupCompressor.

Used only if the pyrex version is not available.
N)�superr6�LinesDeltaIndexrar�r�)r7r�r�s  �rr6�PythonGroupCompressor.__init__�s2���
	����"�+�B�/����'�'�-�-��rc���[R"U5nURRXcUS9upx[	[[U55n	X�:�aCSn
S[U5/nURU5 SS/nURS/[
U5-5 OSn
SUS'[U	5US	'URn[
UR5nX�R4UlURRXx5 URRUl	U=RU-
sl
[
UR5n
X�URU
4URU'X�RU
4$)
�%See _CommonGroupCompressor._compress.)�bytes_lengthrkr�r~FTrrrr	)rr�ra�
make_deltar�r�r �encode_base128_intr#r^r�r]�extend_linesr_r`)r7r)r�rorprk�	new_lines�	out_lines�index_lines�delta_lengthrr��chunk_start�	chunk_ends              rrh�PythonGroupCompressor._compress�sF���+�+�F�3�	�!%�!2�!2�!=�!=��D�">�"
��	��3�s�I�.�/���(��D��1�)�<�=�I����Y�'� �%�.�K�����v��I��6�7��D��I�a�L�-�l�;�I�a�L��
�
���$�+�+�&��!�=�=�1��
����&�&�y�>��)�)�2�2��
����I�%������$�	�#(�t�}�}�i�"P����3���m�m�T�)�)r)rar]r�r^r9r�)r:r;r<r=r6rhr?�
__classcell__�r�s@rr�r��s���.�*�*rr�c�@^�\rSrSrSrSU4SjjrSSjrSrSrU=r	$)	�PyrexGroupCompressori
a�Produce a serialised group of compressed texts.

It contains code very similar to SequenceMatcher because of having a similar
task. However some key differences apply:

* there is no junk, we want a minimal edit not a human readable diff.
* we don't filter very common lines (because we don't know where a good
  range will start, and after the first text we want to be emitting minmal
  edits only.
* we chain the left side, not the right side
* we incrementally update the adjacency matrix as new lines are provided.
* we look for matches in all of the left side, so the routine which does
  the analagous task of find_longest_match does not need to filter on the
  left side.
c�x>�[TU]U5 URRSS5n[	US9Ulg)N�max_bytes_to_indexr)r�)r�r6rb�get�
DeltaIndexra)r7r�r�r�s   �rr6�PyrexGroupCompressor.__init__s6���
����"�!�^�^�/�/�0D�a�H��&�:L�M��rc��URRUR:wa[S5eSR	U5nURRXd5nUc>Sn[
U5n	S[U	5-n
URRXj5 SU	/U-nOCSn[
[U55n	S[U	5-n
SX�/nURRXz5 URn[UR5n
URU5 U=RU-
sl[UR5nX�URU4URU'URRUR:Xd9[SRURRUR55eX�RU4$)	r�zW_source_offset != endpoint somehow the DeltaIndex got out of sync with the output linesrr�r	r~rrz<the delta index is out of syncwith the output lines {} != {})ra�_source_offsetr^rXrYr�r�r �
add_source�add_delta_sourcer��_output_chunksr_r`r3)r7r)r�rorprkrrr�
enc_length�len_mini_header�
new_chunksr�r�r�s               rrh�PyrexGroupCompressor._compress s������+�+�t�}�}�<� �$��
�
���� ���!�!�,�,�U�C���=��D�+�I�6�J��#�j�/�1�O����(�(��@��
�+�f�4�J��D�+�C��J�7�J��#�j�/�1�O��
�2�J����.�.�u�F��
�
���$�+�+�&�����J�'����I�%������$�	�#(�t�}�}�i�"P����3��� � �/�/�4�=�=�@� �N�U�U��%�%�4�4�d�m�m���
�
�m�m�T�)�)rc���[UR5UR4UlURnURR	U5 U[[
[U55-
nX lg)z>Output some chunks.

:param new_chunks: The chunks to output.
N)r r�r^r]r#r�r�)r7r�r^s   rr��#PyrexGroupCompressor._output_chunksOsS��
�$�+�+�&��
�
�6��
��=�=�������:�&��C��C��,�-�-�� �
r)rar]r^r9r�)
r:r;r<r=r�r6rhr�r?r�r�s@rr�r�
s���� N�
-*�^	!�	!rr�c�@^^^^^^�SSKJm SSKJm UUUUUU4SjnU$)aCreate a factory for creating a pack based groupcompress.

This is only functional enough to run interface tests, it doesn't try to
provide a full pack environment.

:param graph: Store a graph.
:param delta: Delta compress contents.
:param keylength: How long should keys be.
r	)�ContainerWriter)�_DirectPackAccessc�4>�TnSnT(aSn[UTS9nURS5nT	"UR5nUR5 [	USUUR
T
S9nT
"05nUR
XSUS45 [XgT5nXHlXXl	U$)Nrr	)�reference_lists�key_elements�newpackc��g)NTr@r@rr�<lambda>�4make_pack_factory.<locals>.factory.<locals>.<lambda>ss��Dr)r��add_callback�inconsistency_fatal)
r
�open_write_stream�write�begin�
_GCGraphIndex�	add_nodes�
set_writerr��stream�writer)�	transportr��
ref_length�graph_indexr�r�rh�accessrr�r�r�graphr��	keylengths         ������rr��"make_pack_factory.<locals>.factoryhs�������
���J�"�:�I�V���,�,�Y�7�� ����.����������$�.�.� 3�
��#�2�&�����&�	�9�/E�F�,�U�E�B���
��
��
r)�packr��	pack_repor�)r�rr�r�r�r�r�s```` @@r�make_pack_factoryr�[s���&�,���.�Nrc�l�URR5 URR5 gr9)r�r�r��close)�versioned_filess r�cleanup_pack_groupr��s&������� ���� � �"rc�8�\rSrSrSrS	SjrSrSrS
SjrSr	g)�_BatchingBlockFetcheri�z�Fetch group compress blocks in batches.

:ivar total_bytes: int of expected number of bytes needed to fetch the
    currently pending batch.
Nc�|�XlX l/Ul0Ul/UlSUlSUlSUlX0lgr�)	�gcvf�	locations�keys�batch_memos�memos_to_get�total_bytes�last_read_memor�r�)r7r�r�r�s    rr6�_BatchingBlockFetcher.__init__�s@���	�"����	����������"������(?�%rc���URRU5 URUun  nUSSnX@R;aUR$UR
RUnXPRU'UR$![aR SURU'URRU5 USnU=RU-
slUR$f=f)zkAdd another to key to fetch.

:return: The estimated number of bytes needed to fetch the batch so
    far.
rrVNr)	r�rr�r�r�r��_group_cacher!r�)r7r)�
index_memo�_�	read_memo�cached_block�byte_lengths       r�add_key�_BatchingBlockFetcher.add_key�s���	
�	�	�����"�n�n�S�1��
�A�q�!��q��O�	�
�(�(�(��#�#�#�	7��9�9�1�1�)�<�L�+7���Y�'�������	,�+/�D���Y�'����$�$�Y�/�#�A�,�K�����+������	,�s�B�AC �C c#�# �URb1URR5Shv�N SUlSUlggN7fr9)r�rr�rLs r�_flush_manager�$_BatchingBlockFetcher._flush_manager�s<����<�<�#��|�|�5�5�7�7�7��D�L�"&�D��$�7�s�+A�A�Ac#�# �URcUR(dgURRUR5n[UR5nUR
5 URH�nURUupVpvUSSnURU:wa�UR5Shv�N U(aTUSU:XaK[U5up�X�:wa[SRX�55eX�RU'UR5 OURUn
[X�R S9UlX�lUSSup�URR#XGX�5 M� U(aUR5Shv�N URSS2	URR%5 URSS2	SUlgGNNG7f)a"Yield factories for keys added since the last yield.  They will be
returned in the order they were added via add_key.

:param full_flush: by default, some results may not be returned in case
    they can be part of the next batch.  If full_flush is True, then
    all results are returned.
NrVr%z8block_read_memo out of sync with read_memo({!r} != {!r})�r�r�r)r�r�r��_get_blocksr�r�reverser�r�r��nextrXr3r�rGr�r�r��clearr�)
r7�
full_flush�blocks�memos_to_get_stackr)r�r�r�r��block_read_memor�r�r�s
             r�yield_factories�%_BatchingBlockFetcher.yield_factories�s�����<�<���	�	�����&�&�t�'8�'8�9��!�$�"3�"3�4���"�"�$��9�9�C�(,���s�(;�%�J�7�"�2�A��I��"�"�i�/� �.�.�0�0�0�%�*<�R�*@�I�*M�.2�&�\�*�O�&�3�,�-�-3�V�O�-O���38�$�$�Y�/�&�*�*�,� �,�,�Y�7�E�7��3P�3P� ���'0�#�#�A�a��J�E��L�L�$�$�S�5�>�7�8��*�*�,�,�,��I�I�a�L������ ����a� ����51�,
-�s&�B3G
�5G�6C
G
�G�AG
�G
)	r�r�r�r�r�r�r�r�r�r9r�)
r:r;r<r=r�r6r�r�r�r?r@rrr�r��s���	@�  �D'�0rr�c���\rSrSrSrSrS\0rS"SjrSrS#Sjr	S$S	jr
S
rSrSr
S%S
jrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrS&SjrS'Sjr S r!S!r"g)(r�i�z5A group-compress based VersionedFiles implementation.ir�Nc�~�XlX lX0lUc0nX@lUc	[	SS9nXPl/UlSUlg)aHCreate a GroupCompressVersionedFiles object.

:param index: The index object storing access and graph data.
:param access: The access object storing raw data.
:param delta: Whether to delta compress or just entropy compress.
:param _unadded_refs: private parameter, don't use.
:param _group_cache: private parameter, don't use.
Ni )�max_size)�_index�_access�_delta�
_unadded_refsrr��_immediate_fallback_vfs�_max_bytes_to_index)r7rhr�rr�r�s      rr6�$GroupCompressVersionedFiles.__init__sK��������� ��M�*����'�1A�B�L�(��')��$�#'�� rc��[URURUR[	UR
5URS9$)z?Return a clone of this object without any fallbacks configured.)r�r�)r�r�r�r��dictr�r�rLs r�without_fallbacks�-GroupCompressVersionedFiles.without_fallbackss;��*��K�K��L�L��K�K��t�1�1�2��*�*�
�	
rc	
���URR5 U(a"URU5 URU5 UR	[X[R"U5USS9UUUU5$)a�Add a text to the store.

:param key: The key tuple of the text to add.
:param parents: The parents key tuples of the text to add.
:param lines: A list of lines. Each line must be a bytestring. And all
    of them except the last must be terminated with \\n and contain no
    other \\n's. The last line may either contain no \\n's or a single
    terminating \\n. If the lines list does meet this constraint the
    add routine may error or may succeed - but you will be unable to
    read the data back accurately. (Checking the lines have been split
    correctly is expensive and extremely unlikely to catch bugs so it
    is not done at runtime unless check_content is True.)
:param parent_texts: An optional dictionary containing the opaque
    representations of some or all of the parents of version_id to
    allow delta optimisations.  VERY IMPORTANT: the texts must be those
    returned by add_lines or data corruption can be caused.
:param left_matching_blocks: a hint about which areas are common
    between the text and its left-hand-parent.  The format is
    the SequenceMatcher.get_matching_blocks format.
:param nostore_sha: Raise ExistingContent and do not add the lines to
    the versioned file if the digest of the lines matches this.
:param random_id: If True a random id has been selected rather than
    an id determined by some deterministic process such as a converter
    from a foreign VCS. When True the backend may choose not to check
    for uniqueness of the resulting key within the versioned file, so
    this should only be done when the result is expected to be unique
    anyway.
:param check_content: If True, the lines supplied are verified to be
    bytestrings that are correctly formed lines.
:return: The text sha1, the number of bytes in the text, and an opaque
         representation of the inserted version which can be provided
         back to future add_lines calls in the parent_texts dictionary.
T)�chunks_are_lines)r��_check_write_ok�_check_lines_not_unicode�_check_lines_are_lines�add_contentrrrg)	r7r)r�r��parent_texts�left_matching_blocksrj�	random_id�
check_contents	         r�	add_lines�%GroupCompressVersionedFiles.add_lines#sr��X	
���#�#�%���)�)�%�0��'�'��.����!��g�1�1�%�8�%�RV�
�
� ���
�	
rc���URR5 URnURURU5 UcSn[UR
U/XTS95SupxXxS4$)a�Add a text to the store.

:param factory: A ContentFactory that can be used to retrieve the key,
    parents and contents.
:param parent_texts: An optional dictionary containing the opaque
    representations of some or all of the parents of version_id to
    allow delta optimisations.  VERY IMPORTANT: the texts must be those
    returned by add_lines or data corruption can be caused.
:param left_matching_blocks: a hint about which areas are common
    between the text and its left-hand-parent.  The format is
    the SequenceMatcher.get_matching_blocks format.
:param nostore_sha: Raise ExistingContent and do not add the lines to
    the versioned file if the digest of the lines matches this.
:param random_id: If True a random id has been selected rather than
    an id determined by some deterministic process such as a converter
    from a foreign VCS. When True the backend may choose not to check
    for uniqueness of the resulting key within the versioned file, so
    this should only be done when the result is expected to be unique
    anyway.
:return: The text sha1, the number of bytes in the text, and an opaque
         representation of the inserted version which can be provided
         back to future add_lines calls in the parent_texts dictionary.
Nr@)rrjr)r�rr��
_check_addr)r�_insert_record_stream)	r7r�r
rrjrr�r�r�s	         rr	�'GroupCompressVersionedFiles.add_content]sx��>	
���#�#�%��/�/��������Y�/��?��G���&�&��	�Y�
'�
�
��	
���
�T�!�!rc�:�URRU5 g)znAdd a source of texts for texts not present in this knit.

:param a_versioned_files: A VersionedFiles object.
N)r�r)r7�a_versioned_filess  r�add_fallback_versioned_files�8GroupCompressVersionedFiles.add_fallback_versioned_files�s��
	
�$�$�+�+�,=�>rc�D�UR5nURU5$)zSee VersionedFiles.annotate.)�
get_annotator�
annotate_flat)r7r)�anns   r�annotate�$GroupCompressVersionedFiles.annotate�s!��� � �"��� � ��%�%rc��SSKJn U"U5$)Nr)�	Annotator)rr)r7rs  rr�)GroupCompressVersionedFiles.get_annotator�s��(����rc��UcCUR5nURUSS5HnURS5HnM M gURUSS5$)zSee VersionedFiles.check().N�	unorderedTr�)r�rr�)r7�progress_barr��record�_chunks     r�check�!GroupCompressVersionedFiles.check�s[���<��9�9�;�D��0�0��{�D�I��$�2�2�9�=�F��>�J��)�)�$��T�B�Brc���URR5 URRR	5 URR
R5 g)z!See VersionedFiles.clear_cache().N)r�r�r��_graph_index�clear_cache�
_int_cacherLs rr*�'GroupCompressVersionedFiles.clear_cache�s@�������!���� � �,�,�.������$�$�&rc��USnUb1[R"U5(a[R"X05eUR	U5 g)z0Check that version_id and lines are safe to add.r%N)r�contains_whitespacer�InvalidRevisionId�check_not_reserved_id)r7r)r�
version_ids    rr�&GroupCompressVersionedFiles._check_add�sA����W�
��!��*�*�:�6�6��.�.�z�@�@��"�"�:�.rc�*�URU5S$)z�Get a map of the graph parents of keys.

:param keys: The keys to look up parents for.
:return: A mapping from keys to parents. Absent keys are absent from
    the mapping.
r)�_get_parent_map_with_sources�r7r�s  r�get_parent_map�*GroupCompressVersionedFiles.get_parent_map�s���0�0��6�q�9�9rc��0nUR/UR-n/n[U5nUH[nU(d X$4$URU5nUR	U5 URU5 UR
[U55 M] X$4$)axGet a map of the parents of keys.

:param keys: The keys to look up parents for.
:return: A tuple. The first element is a mapping from keys to parents.
    Absent keys are absent from the mapping. The second element is a
    list with the locations each key was found in. The first element
    is the in-this-knit parents, the second the first fallback source,
    and so on.
)r�r��setr6r�update�difference_update)r7r�r�sources�source_results�missingr}�
new_results        rr4�8GroupCompressVersionedFiles._get_parent_map_with_sources�s������;�;�-�$�">�">�>�����d�)���F���
�%�%�	 �.�.�w�7�J��!�!�*�-��M�M�*�%��%�%�c�*�o�6�
��%�%rc#��# �0nUHnURUnXBU'M /n[5nUH3nX2;aM
X6;aMURU5 UR	U5 M5 UR
R
U5nUHnX2U4v� M g![a M�f=f![a; [U5n[RU5nX@RU'XBU'X44v� Mff=f7f)z�Get GroupCompressBlocks for the given read_memos.

:returns: a series of (read_memo, block) pairs, in the order they were
    originally passed.
N)
r�r!r9r�addr��get_raw_recordsr�rBr{)	r7�
read_memos�cachedr�r��
not_cached�not_cached_seen�raw_records�zdatas	         rr��'GroupCompressVersionedFiles._get_blocks�s
�����#�I�
*��)�)�)�4��%*�y�!�
$��
��%��#�I��"���+�����i�(����	�*�$��l�l�2�2�:�>��#�I�
'��	�!2�2�2�$��!�
��
��&�
'��[�)��*�5�5�e�<��/4�!�!�)�,�$)�y�!��&�&�

'�sM�C.�B�A-C.�B&�C.�
B#�C.�"B#�#C.�&AC+�'C.�*C+�+C.c��[5$)z�Return the keys of missing compression parents.

Missing compression parents occur when a record stream was missing
basis texts, or a index was scanned that had missing basis texts.
)�	frozensetrLs r�#get_missing_compression_parent_keys�?GroupCompressVersionedFiles.get_missing_compression_parent_keys�s���{�rc#�# �[U5n[U5nU(dgURR(dUS;aSnUn[U5nUR	XX#5H"nURUR5 Uv� M$ g![Ra%nURRU5 SnAOSnAff=fM�7f)a�Get a stream of records for keys.

:param keys: The keys to include.
:param ordering: Either 'unordered' or 'topological'. A topologically
    sorted stream has compression parents strictly before their
    children.
:param include_delta_closure: If True then the closure across any
    compression parents will be included (in the opaque data).
:return: An iterator of ContentFactory objects, each of which is only
    valid until the iterator is advanced.
N��topological�
groupcompressr")rr9r��	has_graph�_get_remaining_record_stream�discardr)r��RetryWithNewPacksr��reload_or_raise)r7r��ordering�include_delta_closure�	orig_keys�remaining_keys�content_factory�es        rr�-GroupCompressVersionedFiles.get_record_streams������J�	��4�y�����{�{�$�$��5U�)U�#�H����	
0��>�*��'+�'H�'H��X�(�O�#�*�*�?�+>�+>�?�)�)�	(�
���.�.�
0����,�,�Q�/�/��
0���s1�AC
�AB�C
�C� C�;C
�C�C
c�(^�0n0n/nURHxmU(d OpTRU5nURU5 [U5nUR	TU45 URU4SjU55 URU5 Mz X#U4$)aeFind whatever keys you can from the fallbacks.

:param missing: A set of missing keys. This set will be mutated as keys
    are found from a fallback_vfs
:return: (parent_map, key_to_source_map, source_results)
    parent_map  the overall key => parent_keys
    key_to_source_map   a dict from {key: source}
    source_results      a list of (source: keys)
c3�*># �UHoT4v� M
 g7fr9r@)r6r)r}s  �rr7�BGroupCompressVersionedFiles._find_from_fallback.<locals>.<genexpr>?s����$M�n�s�6�]�n�s�)r�r6r:rrr;)r7r>r'�key_to_source_mapr=�source_parentsr}s      @r�_find_from_fallback�/GroupCompressVersionedFiles._find_from_fallback+s�����
������2�2�F���#�2�2�7�;�N����n�-�!�.�1�N��!�!�6�>�":�;��$�$�$M�n�$M�M��%�%�n�5�3��n�<�<rc���US:Xa[RU5nO[U5n/nSnUHDnURXp5nX�LaUR	U/45 UnUSSR	U5 MF U$)aCGet the (source, [keys]) list.

The returned objects should be in the order defined by 'ordering',
which can weave between different sources.

:param ordering: Must be one of 'topological' or 'groupcompress'
:return: List of [(source, [keys])] tuples, such that all keys are in
    the defined order, regardless of source.
rQNr%r	)r%r&r-r�r)	r7rXr'rbr,�source_keys�current_sourcer)r}s	         r�_get_ordered_source_keys�4GroupCompressVersionedFiles._get_ordered_source_keysCs����}�$� �?�?�:�6�L�+�:�6�L������C�&�*�*�3�5�F��+��"�"�F�B�<�0�!'����O�A��%�%�c�*� ��rc��/nSnUHLnXr;dXs;aUnOXt;aXGnOMX�LaURU/45 UnUSSRU5 MN U$)Nr%r	)r)	r7rZr��unadded_keysrbrgrhr)r}s	         r�_get_as_requested_source_keys�9GroupCompressVersionedFiles._get_as_requested_source_keysasu�������C���3�#6����)�*�/����+��"�"�F�B�<�0�!'����O�A��%�%�c�*���rc�^�U4Sjn[U5nUR[TUS95 X4/nURU5 U$)Nc�>�TUS$r�r@)r)r�s �r�	get_group�JGroupCompressVersionedFiles._get_io_ordered_source_keys.<locals>.get_groupts����S�>�!�$�$r)r))rr#r")r7r�rl�
source_resultrqr,rgs `     r�_get_io_ordered_source_keys�7GroupCompressVersionedFiles._get_io_ordered_source_keysssH���	%��L�)�����F�9�)�<�=��+�,�����=�)��rc#�# �URRU5n[UR5R	U5nURU5nUR
U5 URU5up�n
US;aeUR5VVs0sH
up�X�S_M n
nnUHnURUX�'M U
RU5 URX=U	5nO+US:XaURX%Xi5nOURXVU
5nUHn[U5v� M [XURS9nUH�unnUULa�UH�nX�R;aVUR!SS9Shv�N UR"R%U5unnURUn['UUUU5v� MhUR)U5[*:�dM�UR!5Shv�N M� M�UR!SS9Shv�N UR-XU5Shv�N M� UR!SS9Shv�N gs snnfN�N_NDN,N7f)a�Get a stream of records for keys.

:param keys: The keys to include.
:param ordering: one of 'unordered', 'topological', 'groupcompress' or
    'as-requested'
:param include_delta_closure: If True then the closure across any
    compression parents will be included (in the opaque data).
:return: An iterator of ContentFactory objects, each of which is only
    valid until the iterator is advanced.
rPrzas-requestedr�T)r�N)r��get_build_detailsr9r��intersection�
differencer;rdrr:rirmrtrr�r�r��_compressorr�rr��
BATCH_SIZEr)r7r�rZrXrYr�rlr>�fallback_parent_maprbrsr)�detailsr'rg�batcherr}r�r�r�s                    rrT�8GroupCompressVersionedFiles._get_remaining_record_stream�sZ����K�K�1�1�$�7�	��4�-�-�.�;�;�D�A���/�/�)�,���!�!�,�/��$�$�W�-�	@�	���7�7�?H�o�o�>O�P�>O�l�c�#�q�z�/�>O�J�P�#��"&�"4�"4�S�"9�
��$����1�2��7�7��&7��K���
'��<�<��l��K��:�:����K��C�&�s�+�+��(��T�5R�5R�
��(�L�F�D���~��C��0�0�0�$+�#:�#:�d�#:�#K�K�K�'+�'7�'7�'?�'?��'D����"&�"4�"4�S�"9��3�C��$��O�O� ����s�+�j�8�#*�#:�#:�#<�<�<� �#�2�2�d�2�C�C�C�!�3�3��$9����!(�&�*�*�d�*�;�;�;��[Q�@L�=�C��	<�sn�BI�H5�"C	I�+H;�,AI�
I�H=�I�:H?�;I�I�I�/I�0I�=I�?I�I�Ic��0nURUSS5HmnURbURX#R'M*URS:wdM<[R
"UR
S55X#R'Mo U$)zSee VersionedFiles.get_sha1s().r"T�absentr�)rr�r)r�rrgr�)r7r�rr$s    r�	get_sha1s�%GroupCompressVersionedFiles.get_sha1s�su�����,�,�T�;��E�F��{�{�&�%+�[�[��z�z�"��&�&�(�2�)0�)<�)<��,�,�Y�7�*�F�:�:�&�F��
rc�8�URUSS9Hu nM g)z�Insert a record stream into this container.

:param stream: A stream of records to insert.
:return: None
:seealso VersionedFiles.get_record_stream:
F�rN)r)r7r�r�s   r�insert_record_stream�0GroupCompressVersionedFiles.insert_record_stream�s&���.�.�v��.�G�D�A�q��Hrc�*�SSKJn URc<U"5nURS5nUb[	U5nUcURnX0lSUR0$![
a* [R"SRU55 SnNVf=f)Nr)�GlobalConfigz$bzr.groupcompress.max_bytes_to_indexzGValue for "bzr.groupcompress.max_bytes_to_index" {!r} is not an integerr�)
�configr�r��get_user_optionrirur�warningr3�_DEFAULT_MAX_BYTES_TO_INDEX)r7r�r��vals    rr��4GroupCompressVersionedFiles._get_compressor_settings�s���)��#�#�+���A��#�#�$J�K�C�����c�(�C��{��6�6��'*�$�$�d�&>�&>�?�?��"���M�M�2�28�&��+��
�C�
�s�A�1B�Bc�4�[UR55$r9r
rLs rr�2GroupCompressVersionedFiles._make_group_compressor�rrc
#��^^^%^&# �0m%U%U4SjnTR5Tl0Tl/m&U&UU4SjnSnSnSn	Sn
SnSn[5n
UnUGH�nURS:Xa![
R"URT5eT(aWURU
;a,[R"[S5UR5 MxU
RUR5 U(a-URS:XaURn
U
R5nOSnU(a�URS:XaXURn
URRR5unnTR R#SUU5unnnUnUnURS	;a|U
c[%S
5eX�RLa[%S5eSUUUR&UR(4-nURUUR*44/nTR,R/UTS
9 GM�UR1S5nUR6nUc[9[;[<U55n[=UR5S:�aURSnUU:HnOSnSnUU:aUnUn	TRR?URUUUR@UUS9unnnnUU	:XaUSU-:aSn OUS:�aSn OUbUU:wa	US:�aSn OSn UnU (aZTRRC5 U"5 UnTRR?URUUUR@5unnnnURScURSSSU-4-n!OURn!UR*TRU!'UU4v� UR*b0[EUR*V"s/sHn"[EU"5PM sn"5n#OSn#U#4n$T&RGU!SUU4-U$45 GM� [=T&5(aU"5 STlg![2a, URS4nU"U5nUR5US5nGN3f=fs sn"f7f)a�Internal core to insert a record stream into this container.

This helper function has a different interface than insert_record_stream
to allow add_lines to be minimal, but still return the needed data.

:param stream: A stream of records to insert.
:param nostore_sha: If the sha1 of a given text matches nostore_sha,
    raise ExistingContent, rather than committing the new text.
:param reuse_blocks: If the source is streaming from
    groupcompress-blocks, just insert the blocks as-is, rather than
    expanding the texts and inserting again.
:return: An iterator over (sha1, length) of the inserted records.
:seealso insert_record_stream:
:seealso add_lines:
c�z>�TU$![a( [R"U5nU"T5nUTU'Us$f=fr9)r!rr�)�adapter_key�adapter_factory�adapter�adaptersr7s   ��r�get_adapter�FGroupCompressVersionedFiles._insert_record_stream.<locals>.get_adaptersK���
���,�,���
�"2�"6�"6�{�"C��)�$�/��(/���%���	
�s��/:�:c�\>�TRR5R5upTR5TlTRRSX5up#n/nT	HupgnUR
USX4U4-U45 M! TRRUT
S9 0Tl	T	SS2	g)Ns%d %d %sr�)
rzr�r�rr��add_raw_recordrr��add_recordsr�)�	bytes_lenr�rhr�r��nodesr)�reads�refs�keys_to_addrr7s         ���rr��@GroupCompressVersionedFiles._insert_record_stream.<locals>.flush#s���� $� 0� 0� 6� 6� 8� B� B� D��I�#�:�:�<�D��$(�<�<�#>�#>�t�Y�#W� �E�&��E�$/� ��D����c�;�%��1G�#G��N�O�%0��K�K�#�#�E�Y�#�?�!#�D���A�rNrr�z=Insert claimed random_id=True, but then inserted %r two timesr�F)r�r�zNo insert_manager setzrinsert_manager does not match the current record, we cannot be positive that the appropriate content was inserted.s%d %d %d %dr�r�r	)rkrjrr�Tr�r%res%d %d)$rrzr�r9r�r�RevisionNotPresentr)r�note�gettextrBr�r,r�r�r�r�rXr�r�r�r�r�r�r�	get_bytesr�r�r�r r�r�r�rr)'r7r�rrj�reuse_blocksr�r��last_prefix�max_fulltext_len�max_fulltext_prefix�insert_manager�block_start�block_length�
inserted_keys�reuse_this_blockr$r�r�r�r�r�r*r�r�r�rr+rkrrrr�start_new_blockr)�pr�r�r�r�s'` `                                  @@rr�1GroupCompressVersionedFiles._insert_record_streams}����$��	� �6�6�8��������	�$����"����������
�'���F��"�"�h�.��/�/��
�
�D�A�A���:�:��.��J�J��>���
�
����!�!�&�*�*�-���&�&�*?�?�%+�_�_�N�'5�'L�'L�'N�$��#(� ���&�&�*?�?�%+�_�_�N�(.���(>�(>�(H�(H�(J�%�I�v�'+�|�|�'B�'B��i��(�$�A�u�f�#(�K�#)�L��&�&�+��&�-�,�-D�E�E�%�_�_�<�,�J���
+�#�$��
�
����	.��E�%�j�j�%�&�.�.�1B�C�D�E��K�K�+�+�E�Y�+�G��
>��,�,�Y�7��
 ���J��!� ��S�&�!1�2�
��6�:�:���"����A�����,�������*�,�#-� �&,�#�9=�9I�9I�9R�9R��
�
�������'�
:S�:�6�Z��i���,�,��Q�AQ�=Q�1Q�#(���_�,�"&���"��k�)���/�"&��"'�� �K��� � �)�)�+���#-� �=A�=M�=M�=V�=V��J�J��
�F�K�K�>�:��[�)�T��z�z�"�~�%��j�j��"�o��J�)>�(@�@���j�j��&,�n�n�D���s�#��j�(�(��~�~�)��6�>�>� B�>�a��q��>� B�C�����:�D�����X��i�0H�%H�$�O�P�w�x�{����G�����}-�
>�$�1�1�9�<��%�k�2�� �*�*�6�9�=��
>��n!C�s8�HQ"�P$�&FQ"�Q
�A
Q"�$2Q�Q"�Q�Q"c#�v# �[U5n[U5n[URUSS55HiupEURnUbURSXC5 URS:Xa[R"X`5eURS5HnXv4v� M
 Mk UbURSX35 gg7f)a�Iterate over the lines in the versioned files from keys.

This may return lines from other keys. Each item the returned
iterator yields is a tuple of a line and a text version that that line
is present in (not introduced in).

Ordering of results is in whatever order is most suitable for the
underlying storage format.

If a progress bar is supplied, it may be used to indicate progress.
The caller is responsible for cleaning up progress bars (because this
is an iterator).

Notes:
 * Lines are normalised by the underlying store: they will all have \n
   terminators.
 * Lines are returned in arbitrary order.

:return: An iterator over (line, key).
r"TNzWalking contentr�r�)
r9r �	enumeraterr)r:r�rr�r�)r7r��pb�total�key_idxr$r)�lines        r�#iter_lines_added_or_present_in_keys�?GroupCompressVersionedFiles.iter_lines_added_or_present_in_keys�s����*�4�y���D�	�� )��"�"�4��d�;� 
�O�G��*�*�C��~��	�	�+�W�<��"�"�h�.��/�/��:�:��,�,�W�5���i��6� 
��>��I�I�'��6��s�B7B9c���S[R;a[R"SS5 UR/UR
-n[
5nUH"nURUR55 M$ U$)zSee VersionedFiles.keys.�evilrz keys scales with size of history)	�debug�debug_flagsr�mutter_callsiter�r�r9r:r�)r7r<rr}s    rr�� GroupCompressVersionedFiles.keys�s_���U�&�&�&��!�!�!�%G�H��;�;�-�$�">�">�>������F��M�M�&�+�+�-�(���
r)r�rzr�r�r�r�r�r�)TNN)NNNFT)NNNF)NN)FNTr9)#r:r;r<r=r�r�r�r6rrr	rrrr&r*rr6r4r�rMrrdrirmrtrTr�r�r�rrr�r�r?r@rrr�r��s���?�#.��$8�:U�#V� �KO�(�.
��!����8
�z�!���
-"�^?�&�
�
C�'�/�:�&�.#'�J�!0�F=�0�<�$
�F<�P��@�0@�GK�| �|&7�Prr�c�\�\rSrSrSrSrSrSrSrSr	\
S5r\
S	5rS
r
SrSrg)�_GCBuildDetailsi�z�A blob of data about the build details.

This stores the minimal data, which then allows compatibility with the old
api, without taking as much memory.
)�
_basis_end�
_delta_end�
_group_end�_group_startr��_parents�groupNc�R�XlUuUlUlUlUlUlgr9)r�r�r�r�r�r�)r7r��
position_infos   rr6�_GCBuildDetails.__init__s+���
�
�
	
��K����O��O��Orc�x�SRURRURUR5$)Nz
{}({}, {}))r3r�r:r�r�rLs rr��_GCBuildDetails.__repr__s.���"�"��N�N�#�#�T�_�_�d�m�m�
�	
rc�t�URURURURUR4$r9)r�r�r�r�r�rLs rr��_GCBuildDetails.index_memos3��
�K�K�����O�O��O�O��O�O�
�	
rc��URS4$r9)�methodrLs r�record_details�_GCBuildDetails.record_detailss�����T�"�"rc��US:XaUR$US:XaUR$US:XaUR$US:XaUR$[	S5e)z(Compatibility thunk to act like a tuple.rr	rrVzoffset out of range)r��compression_parentr�r��
IndexError)r7r�s  r�__getitem__�_GCBuildDetails.__getitem__!sV���Q�;��?�?�"�
�q�[��*�*�*�
�q�[��=�=� �
�q�[��&�&�&��2�3�3rc��g)NrUr@rLs rrO�_GCBuildDetails.__len__.s��r)r:r;r<r=r��	__slots__r�r�r6r�r�r�r�r�rOr?r@rrr�r��sW����I��F����
�
�
��
��#��#�4�rr�c�v�\rSrSrSrSSjrSSjrSrSrSSjr	S	r
S
rSrSr
S
rSrSrSrg)r�i2zFMapper from GroupCompressVersionedFiles needs into GraphIndex storage.Nc��X@lXlX0lX0lX lX`l0UlU(a[US9UlgSUlg)a*Construct a _GCGraphIndex on a graph_index.

:param graph_index: An implementation of breezy.index.GraphIndex.
:param is_locked: A callback, returns True if the index is locked and
    thus usable.
:param parents: If True, record knits parents, if not do not record
    parents.
:param add_callback: If not None, allow additions to the index and call
    this callback with a list of added GraphIndex nodes:
    [(node, value, node_refs), ...]
:param track_external_parent_refs: As keys are added, keep track of the
    keys they reference, so that we can query get_missing_parents(),
    etc.
:param inconsistency_fatal: When asked to add records that are already
    present, and the details are inconsistent with the existing
    record, raise an exception instead of warning (and skipping the
    record).
)�track_new_keysN)	�
_add_callbackr)r�rS�
_is_locked�_inconsistency_fatalr+r�_key_dependencies)r7r��	is_lockedr�r��track_external_parent_refsr�r�s        rr6�_GCGraphIndex.__init__5sF��8*��'���
� ��#��$7�!����%�%-�^�%L�D�"�%)�D�"rc�2�UR(d[R"U5eSn0nUHMupVnUR(d1U(a*UH nU(dM[RUS5e SnSnXg4XE'MO U(d�UR
U5n	U	H�up�pk[U5n[XE5nX�S:waaSRXVU4U5n
UR(a%[RUSRU
55e[R"SU
5 XE	SnM� U(as/nUR(a0UR5HunupkURXVU45 M O.UR5HunupkURXV45 M UnURnUbVUR(a$UHupVnUS
nURUU5 M O!UHupVn[ R#U5 M URU5 g	)a�Add multiple records to the index.

This function does not insert data into the Immutable GraphIndex
backing the KnitGraphIndex, instead it prepares data for insertion by
the caller and checks that it is safe to insert then calls
self._add_callback with the prepared GraphIndex nodes.

:param records: a list of tuples:
                 (key, options, access_memo, parents).
:param random_id: If True the ids being added were randomly generated
    and no check for existence will be performed.
Fz5attempt to add node with parents in parentless index.r@Tr	z{} {} {}z'inconsistent details in add_records: {}z*inconsistent details in skipped record: %sNr)r�r�
ReadOnlyErrorr��knit�KnitCorrupt�_get_entriesrr3r�rr�rrr��add_references�new_keysr�)r7�recordsr�changedr�r)r*r��ref�
present_nodesr��	node_refs�passedr}r�key_dependenciesr�s                 rr��_GCGraphIndex.add_records_s����!�!��&�&�t�,�,����� '��C���=�=��#���3�"&�"2�"2� $� W�#�� $��D�"�G��
�D�I�!(�� �-�-�d�3�M�1>�-��U�%�i�0�	�"�4�9�-���q�	�)�(�/�/��Y�5G��P�G��0�0�"�.�.� �E�L�L�W�U���
�
�
�H�'���I���!2?�"��F��}�}�/3�z�z�|�+�C�+�%��M�M�3�y�"9�:�0<�04�z�z�|�+�C�+�%��M�M�3�,�/�0<��G��1�1���'��}�}�(/�$�C��"�1�g�G�$�3�3�C��A�)0�)0�$�C���$�$�S�)�)0����7�#rc�Z�UR5(d[R"U5eg)z.Raise an exception if reads are not permitted.N�r�r�ObjectNotLockedrLs r�_check_read�_GCGraphIndex._check_read��%����� � ��(�(��.�.�!rc�Z�UR5(d[R"U5eg)z/Raise an exception if writes are not permitted.Nr�rLs rr�_GCGraphIndex._check_write_ok�r�rc#��# �[U5n[5nUR(a;URRU5HnUv� UR	US5 M OGURRU5H(nUSUSUSS4v� UR	US5 M* U(a>URU5nU(a%[R"UR5U5egg7f)z�Get the entries for keys.

Note: Callers are responsible for checking that the index is locked
before calling this method.

:param keys: An iterable of index key tuples.
r	rrr@N)	r9r�r)�iter_entriesrBryrr�rG)r7r��
check_present�
found_keys�node�missing_keyss      rr��_GCGraphIndex._get_entries�s�����4�y���U�
��=�=��)�)�6�6�t�<���
����t�A�w�'�=�
�)�)�6�6�t�<���1�g�t�A�w��Q���3�3����t�A�w�'�=���?�?�:�6�L���/�/��0@�0@�0B�D�I�I���s�C/C1c�:�URRUS5$)z%See CombinedGraphIndex.find_ancestry.r)r)�
find_ancestryr5s  rr�_GCGraphIndex.find_ancestry�s��� � �.�.�t�Q�7�7rc��UR5 URU5n0nUR(aUHnUSSX4S'M U$UH
nSX4S'M U$)z�Get a map of the parents of keys.

:param keys: The keys to look up parents for.
:return: A mapping from keys to parents. Absent keys are absent from
    the mapping.
rVrr	N)r�r�r�)r7r�r�rrs     rr6�_GCGraphIndex.get_parent_map�sl��	
�����!�!�$�'�����=�=���"&�q�'�!�*��A�w���
�
���"&��A�w����
rc���URRURURR555 [	URR55$)z#Return the keys of missing parents.)r��satisfy_refs_for_keysr6�get_unsatisfied_refsrLrLs r�get_missing_parents�!_GCGraphIndex.get_missing_parents�sQ��	
���4�4����� 6� 6� K� K� M�N�	
���/�/�D�D�F�G�Grc���UR5 0nURU5nUHBnUSnUR(dSnOUSSn[X`R	U55nXrU'MD U$)aGet the various build details for keys.

Ghosts are omitted from the result.

:param keys: An iterable of keys.
:return: A dict of key:
    (index_memo, compression_parent, parents, record_details).

    * index_memo: opaque structure to pass to read_records to extract
      the raw data
    * compression_parent: Content that this record is built upon, may
      be None
    * parents: Logical parents of this node
    * record_details: extra information about the content which needs
      to be passed to Factory.parse_record
r	NrVr)r�r�r�r��_node_to_position)r7r�r�entries�entryr)r�r}s        rrw�_GCGraphIndex.get_build_details�st��"	
�������#�#�D�)���E���(�C��=�=�����(�1�+��%�g�/E�/E�e�/L�M�G�!�3�K���
rc��UR5 URR5Vs/sHoSPM	 sn$s snf)z?Get all the keys in the collection.

The keys are not ordered.
r	)r�r)�iter_all_entries)r7rs  rr��_GCGraphIndex.keys	s;��
	
����$(�$5�$5�$F�$F�$H�I�$H�D�Q��$H�I�I��Is�>c��USRS5n[US5nURRX35n[US5nURRXD5n[US5n[US5nUSX4XV4$)z+Convert an index value to position details.r� rr	rV)rFrir+�
setdefault)r7r�bitsr��stop�	basis_end�	delta_ends       rr�_GCGraphIndex._node_to_position	s����A�w�}�}�T�"���D��G������*�*�5�8���4��7�|�����)�)�$�5����Q��L�	���Q��L�	��Q���i�;�;rc��URnUcgUR5HnURUSUSS5 M  g)a!Inform this _GCGraphIndex that there is an unvalidated index.

This allows this _GCGraphIndex to keep track of any missing
compression parents we may want to have filled in to make those
indices valid.  It also allows _GCGraphIndex to track any new keys.

:param graph_index: A GraphIndex
Nr	rVr)r�rr�)r7r�r�rs    r�scan_unvalidated_index�$_GCGraphIndex.scan_unvalidated_index%	sJ�� �1�1���#���0�0�2�D�
�+�+�D��G�T�!�W�Q�Z�@�3r)r�r)r�r+r�r�r�rS)TNFTFr�)r:r;r<r=r�r6r�r�rr�rr6rrwr�rrr?r@rrr�r�2sY��P���#(� ��(*�TF$�P/�
/�
J�08��$H��<J�<�.Arr�r)r�rtr�r�r�r�)r�rtr�r�r�)T)8r�rrTr�globalsr2rrr�	lru_cacher�btree_indexr
�
versionedfilerrr
rrrrr{rfrr-r5r/r]rBr�r�rYr[r�r�r�r�r�r�r�r�r�__annotations__�_groupcompress_pyr�rtr�r�r�r��_groupcompress_pyxr�r�ImportErrorr]�failed_to_load_extensionr@rr�<module>r*s_��"G���%���I���"&�%�$�%�����
�9�
���6'�6�?�?�'� ��x�x�v	KS�KS�\J�J�Z
'�G>�G>�T(*�2�(*�VN!�1�N!�b$�N#�
j�j�Zz�"=�z�z>�>�BBA�BA�J�,�-�-���,���+�O���,��$�$�Q�'�+�O��,�s�4D�D)�D$�$D)

Youez - 2016 - github.com/yon3zu
LinuXploit