Sindbad~EG File Manager
�
'ٜgW$ � � � d Z ddlmZ ddlZddlZddlZddlZddlm Z ddl
mZ ddlm
Z
e� Z ej d� Z ee� ZdZd Zdd
�Zefdd�Z G d� d
� Z e� Zdd�Z d dd�Z G d� d� Zy)z�Object representations for debugging purposes. Unlike the default
repr, these expose more information and produce HTML instead of ASCII.
Together with the CSS and JavaScript of the debugger this gives a
colorful and more compact output.
� )�annotationsN)�deque)�format_exception_only)�escapez(?:\r\n|\r|\n){2,}zL<div class=box>
<h3>%(title)s</h3>
<pre class=help>%(text)s</pre>
</div>zQ<div class=box>
<h3>%(title)s</h3>
%(repr)s
<table>%(items)s</table>
</div>c �4 � t � j | � S )z1Creates a debug repr of an object as HTML string.)�DebugReprGenerator�repr)�objs �>/usr/local/lib/python3.12/site-packages/werkzeug/debug/repr.py�
debug_reprr &