o
    ¹e…  ã                   @   s   G d d„ de ƒZdS )c                   @   s¼   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd „ Zd!d"„ Zd#d$„ Zd%d&„ Zd'd(„ Zd)d*„ Zd+d,„ Zd-S ).Ú
LazyStringc                 O   s   || _ || _|| _d S ©N)Ú_funcÚ_argsÚ_kwargs)ÚselfÚfuncÚargsÚkwargs© r
   úFD:\Projects\ConvertPro\env\Lib\site-packages\flask_babel/speaklater.pyÚ__init__   s   
zLazyString.__init__c                 C   s4   |dkrt |ƒ‚t| ƒ}t||ƒrt||ƒS t |ƒ‚)NÚ__setstate__)ÚAttributeErrorÚstrÚhasattrÚgetattr)r   ÚattrÚstringr
   r
   r   Ú__getattr__   s   

zLazyString.__getattr__c                 C   s   d  t| ƒ¡S )Nzl'{0}')Úformatr   ©r   r
   r
   r   Ú__repr__   s   zLazyString.__repr__c                 C   s   t | j| ji | j¤ŽƒS r   )r   r   r   r   r   r
   r
   r   Ú__str__   s   zLazyString.__str__c                 C   ó   t t| ƒƒS r   )Úlenr   r   r
   r
   r   Ú__len__   ó   zLazyString.__len__c                 C   s   t | ƒ| S r   ©r   )r   Úkeyr
   r
   r   Ú__getitem__   r   zLazyString.__getitem__c                 C   r   r   )Úiterr   r   r
   r
   r   Ú__iter__   r   zLazyString.__iter__c                 C   s   |t | ƒv S r   r   )r   Úitemr
   r
   r   Ú__contains__    r   zLazyString.__contains__c                 C   s   t | ƒ| S r   r   ©r   Úotherr
   r
   r   Ú__add__#   r   zLazyString.__add__c                 C   ó   |t | ƒ S r   r   r$   r
   r
   r   Ú__radd__&   r   zLazyString.__radd__c                 C   s   t | ƒ| S r   r   r$   r
   r
   r   Ú__mul__)   r   zLazyString.__mul__c                 C   s   |t | ƒ S r   r   r$   r
   r
   r   Ú__rmul__,   r   zLazyString.__rmul__c                 C   s   t | ƒ|k S r   r   r$   r
   r
   r   Ú__lt__/   r   zLazyString.__lt__c                 C   s   t | ƒ|kS r   r   r$   r
   r
   r   Ú__le__2   r   zLazyString.__le__c                 C   s   t | ƒ|kS r   r   r$   r
   r
   r   Ú__eq__5   r   zLazyString.__eq__c                 C   s   t | ƒ|kS r   r   r$   r
   r
   r   Ú__ne__8   r   zLazyString.__ne__c                 C   s   t | ƒ|kS r   r   r$   r
   r
   r   Ú__gt__;   r   zLazyString.__gt__c                 C   s   t | ƒ|kS r   r   r$   r
   r
   r   Ú__ge__>   r   zLazyString.__ge__c                 C   s   t | ƒS r   r   r   r
   r
   r   Ú__html__A   s   zLazyString.__html__c                 C   r   r   )Úhashr   r   r
   r
   r   Ú__hash__D   r   zLazyString.__hash__c                 C   s   t | ƒ| S r   r   r$   r
   r
   r   Ú__mod__G   r   zLazyString.__mod__c                 C   r'   r   r   r$   r
   r
   r   Ú__rmod__J   r   zLazyString.__rmod__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r!   r#   r&   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r3   r4   r5   r
   r
   r
   r   r      s.    
r   N)Úobjectr   r
   r
   r
   r   Ú<module>   s    