
    8 f              	           U d dl Z d dlZd dlmZ  e j        de j                  Zeed<    e j        de j                  Zeed<    e j        de j                  Z	eed	<   dde
dedede
fdZdS )    N)Patternz[^\w\s-])flags_re_patternz
[^\.\w\s-]_re_pattern_allow_dotsz[-\s]+
_re_spacesFvalue
allow_dotsallow_unicodereturnc                 :   |rt           nt          }t          |           } |rjt          j        d|           } |                    d|                                                                           } t                              d|           S t          j        d|           	                    dd          
                    d          } |                    d|                                                                           } t                              d|           S )z
    Converts to lowercase, removes non-word characters (alphanumerics and
    underscores) and converts spaces to hyphens. Also strips leading and
    trailing whitespace. Modified to optionally allow dots.

    Adapted from Django 1.9
    NFKC -NFKDasciiignore)r   r   strunicodedata	normalizesubstriplowerr   encodedecode)r   r	   r
   patterns       F/var/www/equiseq/venv/lib/python3.11/site-packages/faker/utils/text.pyslugifyr      s     2<L--GJJE *%fe44B&&,,..4466~~c5)))!&%0077JJQQRYZZEKKE""((**0022E>>#u%%%    )FF)rer   typingr   compileUr   __annotations__r   r   r   boolr    r   r   <module>r&      s    					          !rz+RT:::W : : :","*]"$"G"G"G  G G G bj"$777
G 7 7 7& &3 &D & &RU & & & & & &r   