+
    niy                     l    R t ^ RItRt ! R R]P                  P
                  4      tR R ltR R ltR# )	zDNS TTL conversion.Nc                       ] tR t^tRtRtR# )BadTTLz!DNS TTL value is not well-formed. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       aC:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO\maestro-backend\venv\Lib\site-packages\dns/ttl.pyr   r      s    +r   r   c                0    V ^8  d   QhR\         R\        /# )   textreturn)strint)formats   "r   __annotate__r   "   s     / /C /C /r   c                   V P                  4       '       d   \        V 4      pEM	\        V 4      ^ 8X  d   \        h^ p^ pRpV  F  pVP                  4       '       d    V^
,          pV\        V4      ,          pRpK8  V'       d   \        hVP	                  4       pVR8X  d   WR,          ,          pMdVR8X  d   WR,          ,          pMMVR8X  d   WR,          ,          pM6VR	8X  d   W^<,          ,          pMVR
8X  d
   W,          pM\        RV R24      h^ pRpK  	  V^ 8X  g   \        R4      hV^ 8  g   V\
        8  d   \        R4      hV# )zConvert the text form of a TTL to an integer.

The BIND 8 units syntax for TTLs (e.g. '1w6d4h3m10s') is supported.

*text*, a ``str``, the textual TTL.

Raises ``dns.ttl.BadTTL`` if the TTL is not well-formed.

Returns an ``int``.
TFwi:	 diQ hi  mszunknown unit ''ztrailing integerz1TTL should be between 0 and 2**32 - 1 (inclusive))isdigitr   lenr   lowerMAX_TTL)r   totalcurrent
need_digitcs   &    r   	from_textr$   "   s(    ||~~D		Ta
Ayy{{23q6!"
 LGGI8v--E#Xu_,E#Xt^+E#Xr\)E#X$E >!A!677!
- . !|+,,qyEGOHIILr   c                F    V ^8  d   QhR\         \        ,          R\         /# )r   valuer   )r   r   )r   s   "r   r   r   T   s     8 8c	 8c 8r   c                     \        V \        4      '       d   V # \        V \        4      '       d   \        V 4      # \	        R 4      h)zcannot convert value to TTL)
isinstancer   r   r$   
ValueError)r&   s   &r   maker*   T   s8    %	E3		677r   l    )	r	   dns.exceptiondnsr   	exceptionSyntaxErrorr   r$   r*   r   r   r   <module>r/      s5   $   ,S]]&& ,/d8r   