__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

*:�ga���%SrSSKJr SSKrSSKrSSKJr SSKJrJ	r	 \(aSSK
JrJr Sr
S\S	'S
rS\S'SSjrSSS
jjrg)z�
babel.messages.mofile
~~~~~~~~~~~~~~~~~~~~~

Writing of files in the ``gettext`` MO (machine object) format.

:copyright: (c) 2013-2025 by the Babel Team.
:license: BSD, see LICENSE for more details.
�)�annotationsN)�
TYPE_CHECKING)�Catalog�Message)�SupportsRead�
SupportsWritel�*�int�LE_MAGICl�$<�BE_MAGICc�L�[5n0n[USS5nUR5n[U5n[R
nU"SUSS5SnU[:XaU"SUSS5up�p�S	nO)U[:XaU"S
USS5up�p�SnO
[SSU5e[U	5GH�n
U"X�X�S
-5up�X�-nU"X�X�S
-5unnUU-nUU:aUU:a
XOUnUUUnO
[SSU5eUS:Xa�S=nnUR5H�nUR5nU(dMSU;aJURSS5unnUR5R5=nnUR5UU'MlU(dMuUU==SU--
ss'M� SU;aURS5unnOSnSU;ayURS5nURS5nUVs/sHnURUR5PM  nnUVs/sHnURUR5PM  nnO6URUR5nURUR5n[!UUUS9UU'U
S
-
n
US
-
nGM� UR#5UlU$s snfs snf)aIRead a binary MO file from the given file-like object and return a
corresponding `Catalog` object.

:param fileobj: the file-like object to read the MO file from

:note: The implementation of this function is heavily based on the
       ``GNUTranslations._parse`` method of the ``gettext`` module in the
       standard library.
�name�z<IN�rz<4I�z<IIz>4Iz>IIzBad magic number�zFile is corrupt�:��
��)�context)r�getattr�read�len�struct�unpackr
r�OSError�range�
splitlines�strip�split�lower�decode�charsetr�items�mime_headers)�fileobj�catalog�headers�filename�buf�buflenr�magic�version�msgcount�origidx�transidx�ii�_i�mlen�moff�mend�tlen�toff�tend�msg�tmsg�lastkey�key�item�value�ctxt�xs                            �7/usr/lib/python3/dist-packages/babel/messages/mofile.py�read_morCs����i�G��G��w���+�H�
�,�,�.�C�
��X�F�
�]�]�F�
�4��R�a��!�!�$�E����/5�e�S��2�Y�/G�,��7�
��	�(�	�/5�e�S��2�Y�/G�,��7�
���a�+�X�6�6��H�o���B�G�a�K� 8�9�
���{���B�H��\� :�;�
��d��d�{���&�=�T�F�]��4�.�C��t�D�>�D��!�.��9�9��1�9� � �G�c����)���z�z�|�����4�<�!%���D�!�!4�J�C��$'�I�I�K�$5�$5�$7�7�G�c�#(�;�;�=�G�C�L��W��G�$����4�$�*��c�>��	�	�'�*�I�D�#��D��c�>��)�)�G�$�C��:�:�g�&�D�69�:�c��1�8�8�G�O�O�,�c�C�:�7;�<�t�!�A�H�H�W�_�_�-�t�D�<�D��*�*�W�_�_�-�C��;�;�w���/�D��s�D�$�7����	�1����A�
��W�Z#�=�=�?�G���N��;��<s�%J�
%J!c
�D�[U5nUSSVs/sH2nUR(dMU(dUR(aM0UPM4 snUSS&UR5 S=pV/nUGH�nUR(a�SRURV	s/sHo�RUR5PM sn	5n	/n
[UR5HPup�U(d3U
RUR[[U5S55 M?U
RU5 MR SRU
V
s/sHo�RUR5PM sn
5n
OJURRUR5n	URRUR5n
UR(a6SRURRUR5U	/5n	UR[U5[U	5[U5[U
545 XYS--
nXmS--
nGM� SS[U5--nU[U5-n/n/nUHunnnnUUUU-/-
nUUUU-/-
nM UU-nUR[ R""S[$S	[U5SS[U5S
--S	S	5[&R&R)[&R&"SU55-U-U-5 gs snfs sn	fs sn
f)aWrite a catalog to the specified file-like object using the GNU MO file
format.

>>> import sys
>>> from babel.messages import Catalog
>>> from gettext import GNUTranslations
>>> from io import BytesIO

>>> catalog = Catalog(locale='en_US')
>>> catalog.add('foo', 'Voh')
<Message ...>
>>> catalog.add((u'bar', u'baz'), (u'Bahr', u'Batz'))
<Message ...>
>>> catalog.add('fuz', 'Futz', flags=['fuzzy'])
<Message ...>
>>> catalog.add('Fizz', '')
<Message ...>
>>> catalog.add(('Fuzz', 'Fuzzes'), ('', ''))
<Message ...>
>>> buf = BytesIO()

>>> write_mo(buf, catalog)
>>> x = buf.seek(0)
>>> translations = GNUTranslations(fp=buf)
>>> if sys.version_info[0] >= 3:
...     translations.ugettext = translations.gettext
...     translations.ungettext = translations.ngettext
>>> translations.ugettext('foo')
u'Voh'
>>> translations.ungettext('bar', 'baz', 1)
u'Bahr'
>>> translations.ungettext('bar', 'baz', 2)
u'Batz'
>>> translations.ugettext('fuz')
u'fuz'
>>> translations.ugettext('Fizz')
u'Fizz'
>>> translations.ugettext('Fuzz')
u'Fuzz'
>>> translations.ugettext('Fuzzes')
u'Fuzzes'

:param fileobj: the file-like object to write to
:param catalog: the `Catalog` instance
:param use_fuzzy: whether translations marked as "fuzzy" should be included
                  in the output
rN�rr���Iiiiiiirr�i)�list�string�fuzzy�sort�pluralizable�join�id�encoder$�	enumerate�append�minr	rr�writer�packr
�array�tobytes)r'r(�	use_fuzzy�messages�m�ids�strs�offsets�message�msgid�msgstrs�idxrK�msgstr�keystart�
valuestart�koffsets�voffsets�o1�l1�o2�l2s                      rB�write_morlks���`�G�}�H�'���|�@�|�!��x�x��%.�a�g�g��|�@�H�Q�R�L��M�M�O���C��G�������L�L�;B�:�:�"�;E�%���W�_�_�-�:�"��E��G�(����8�����N�N�7�:�:�c�#�c�(�A�.>�#?�@��N�N�6�*�	 9�
�\�\�=D�#�=D�6�
�
�g�o�o�.�W�#��F��J�J�%�%�g�o�o�6�E��^�^�*�*�7�?�?�;�F��?�?��L�L�'�/�/�"8�"8����"I�"'�")�*�E�����C��#�e�*�c�$�i��V��E�F��w������ � ��1�8�r�C��M�)�)�H��C��H�$�J��H��H�!���B��B��R��h��'�'���R��j��)�)��"���!�G��M�M�&�+�+�i�&��!�(�m�#�#�c�(�m�a�&7�7���
 �#(�+�+�"5�"5�e�k�k�#�w�6O�"P�Q�TW�W�Z^�^�_��_@��"��#s�L�L�L�$L
�<$L
)r'zSupportsRead[bytes]�returnr)F)r'zSupportsWrite[bytes]r(rrY�boolrm�None)�__doc__�
__future__rrWr�typingr�babel.messages.catalogrr�	_typeshedrrr
�__annotations__rrCrl�rErB�<module>rwsC���#��
� �3��5���#����#��O�dg_rE

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 472 B 0644
_compat.cpython-313.pyc File 1.42 KB 0644
catalog.cpython-313.pyc File 43.18 KB 0644
checkers.cpython-313.pyc File 6.54 KB 0644
extract.cpython-313.pyc File 32.85 KB 0644
frontend.cpython-313.pyc File 52.74 KB 0644
jslexer.cpython-313.pyc File 7.69 KB 0644
mofile.cpython-313.pyc File 7.77 KB 0644
plurals.cpython-313.pyc File 6.01 KB 0644
pofile.cpython-313.pyc File 32.1 KB 0644
setuptools_frontend.cpython-313.pyc File 4.07 KB 0644
Filemanager