Hacked By AnonymousFox
�
i��f� � � � d Z dZddlmZ ddlZn2# e$ r* ddlZ G d� d� � Zee_ n
# e$ r dZY nw xY wY nw xY wddlm Z ddl
mZmZ dd l
mZ dd
l
mZmZ ddlmZ G d� d
e� � Z G d� de� � ZdS )z+
Directives for figures and simple images.
�reStructuredText� )�url2pathnameNc � � e Zd ZdS )�PILN)�__name__�
__module__�__qualname__� � ��/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/docutils/parsers/rst/directives/images.pyr r s � � � � � � � r r )�nodes)�fully_normalize_name�whitespace_normalize_name)� Directive)�
directives�states)�set_classesc � � e Zd ZdZdZeez Zd� ZdZdZdZ e
j e
j e
j
e
j ee
j e
j e
j d�Zd� Zd S )
�Image)�left�center�right)�top�middle�bottomc �@ � t j | t j � � S �N)r �choicer �align_values��arguments r �alignzImage.align$ s � � � ��5�+=�>�>�>r � r T)�alt�height�width�scaler"