+
    G8
kQ  ã                  óþ  € R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
HtHtHt ^ RIHt ^ RIHt ^ RIHt ]P$                  '       d   ^ RIt^ RIt^ RIHt ]t]t]t]P8                  t ! R R	]]]3,          4      t ! R
 R4      tR R lt R)R R llt!R R lt"R R lt#]$! R4      t%R R lt&]PN                  ! R]PP                  4      t)R R lt* ! R R4      t+ ! R R4      t,R R lt-R  R! lt.]P^                  Pa                  R"4      '       g!   ]P^                  Pa                  R#4      R$8X  d   ].t1M ^ R%I2H3t1 R' R( lt5R#   ]4 d'    ]P^                  Pa                  R#4      R&8X  d   h ].t1 L4i ; i)*aÞ  Miscellaneous utility functions and classes.

This module is used internally by Tornado.  It is not necessarily expected
that the functions and classes defined here will be useful to other
applications, but they are documented here in case they are.

The one public-facing part of this module is the `Configurable` class
and its `~Configurable.configure` method, which becomes a part of the
interface of its subclasses, including `.AsyncHTTPClient`, `.IOLoop`,
and `.Resolver`.
)ÚannotationsN)ÚCallableÚMappingÚSequence)Úgetfullargspec)ÚMatch)ÚAny)ÚTracebackTypec                  ó2   € ] tR t^3tRtR R ltR R ltRtR# )Ú
ObjectDictzFMakes a dictionary behave like an object, with attribute-style access.c               ó    € V ^8„  d   QhRRRR/# ©é   ÚnameÚstrÚreturnr   © )Úformats   "Úƒ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/tornado/util.pyÚ__annotate__ÚObjectDict.__annotate__6   s   € ÷ 'ñ ' ð '¨ñ 'ó    c                	óH   €  W,          #   \          d    \        T4      hi ; i©N)ÚKeyErrorÚAttributeError)Úselfr   s   &&r   Ú__getattr__ÚObjectDict.__getattr__6   s)   € ð	'Ø•:ÐøÜô 	'Ü  Ó&Ð&ð	'ús   ‚
 Š!c               ó$   € V ^8„  d   QhRRRRRR/# )r   r   r   Úvaluer   r   ÚNoner   )r   s   "r   r   r   <   s!   € ÷ ñ  ð ¨Cð °Dñ r   c                	ó   € W V&   R # r   r   )r   r   r    s   &&&r   Ú__setattr__ÚObjectDict.__setattr__<   s	   € ØˆT‹
r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r#   Ú__static_attributes__r   r   r   r   r   3   s   † ÙPõ'÷ñ r   r   c                  óz   € ] tR t^@tRtR R lt]R R l4       tRR R lltR R	 lt	]
R
 R l4       tR R ltRtR# )ÚGzipDecompressora  Streaming gzip decompressor.

The interface is like that of `zlib.decompressobj` (without some of the
optional arguments, but it understands gzip headers and checksums.

.. versionchanged:: 6.6

   Streams containing multiple gzip members (as defined in :rfc:`1952`
   section 2.2) are now decompressed in full; previously everything
   after the first member was ignored. Any data after the last member
   that is not the start of another member is now an error, as is a
   stream that ends partway through a member.
c               ó   € V ^8„  d   QhRR/# ©r   r   r!   r   )r   s   "r   r   ÚGzipDecompressor.__annotate__O   s   € ÷ $ñ $˜$ñ $r   c                	ó"   € R V n         RV n        R # )Nr   ©Ú_decompressobjÚ_unconsumed_tail©r   s   &r   Ú__init__ÚGzipDecompressor.__init__O   s   € ð 8<ˆÔð !$ˆÖr   c               ó   € V ^8„  d   QhRR/# )r   r   z'zlib._Decompress'r   )r   s   "r   r   r/   ^   s   € ÷ 7ñ 7Ð 2ñ 7r   c                 	óX   € \         P                  ! ^\         P                  ,           4      # )é   )ÚzlibÚdecompressobjÚ	MAX_WBITSr   r   r   Ú_new_decompressobjÚ#GzipDecompressor._new_decompressobj]   s   € ô
 ×!Ò! "¤t§~¡~Õ"5Ó6Ð6r   c               ó$   € V ^8„  d   QhRRRRRR/# ©r   r    ÚbytesÚ
max_lengthÚintr   r   )r   s   "r   r   r/   d   s!   € ÷ #ñ # ð #°3ð #¸uñ #r   c                óî   € V'       g   \         P                  ! R\        ^R7       V P                  W4      pV'       g7   V P                  '       d%   W0P                  V P                  ^ 4      ,          pK6  V# )a[  Decompress a chunk, returning newly-available data.

When there is no more input, call `flush` to check that the stream
was complete.

If ``max_length`` is given, some input data may be left over
in ``unconsumed_tail``; you must retrieve this value and pass
it back to a future call to `decompress` if it is not empty.
A call may return less than ``max_length``, or nothing at all,
even though ``unconsumed_tail`` is not empty (for example, at the
end of one gzip member and the start of the next), so keep
calling `decompress` until ``unconsumed_tail`` is empty.

Raises `zlib.error` if the input is not valid gzip data.

.. deprecated:: 6.6

   Calling this method without ``max_length`` (or with
   ``max_length=0``) is deprecated, because a small input can
   decompress to an arbitrarily large output. In Tornado 7.0,
   ``max_length`` will be required.
z<GzipDecompressor.decompress without max_length is deprecated)Ú
stacklevel)ÚwarningsÚwarnÚDeprecationWarningÚ_decompressr3   ©r   r    rB   Úresults   &&& r   Ú
decompressÚGzipDecompressor.decompressd   s_   € ÷. Ü�MŠMØNÜ"Øõð
 ×!Ñ! %Ó4ˆßð ×'×'Ð'Ø×*Ñ*¨4×+@Ñ+@À!ÓDÕD’Øˆr   c               ó$   € V ^8„  d   QhRRRRRR/# r@   r   )r   s   "r   r   r/   ‰   s!   € ÷ ñ  ð °Cð ¸Eñ r   c                	óÞ  € V'       g
   R V n         R # V P                  fX   RP                  VR,          4      '       g%   \        P                  ! RVR,          ,          4      hV P                  4       V n        V P                  P                  W4      pV P                  P                  '       d%   V P                  P                  V n         RV n        V# V P                  P                  V n         V# )r   Ns   ‹:Nr   Nzexpected a gzip member, got %r)
r3   r2   Ú
startswithr:   Úerrorr=   rL   ÚeofÚunused_dataÚunconsumed_tailrJ   s   &&& r   rI   ÚGzipDecompressor._decompress‰   sÇ   € ÷ à$'ˆDÔ!ÙØ×ÑÒ&ð
 ×)Ñ)¨%°­)×4Ò4Ü—j’jÐ!AÀEÈ"ÅIÕ!MÓNÐNØ"&×"9Ñ"9Ó";ˆDÔØ×$Ñ$×/Ñ/°ÓBˆØ×Ñ×"×"Ð"ð
 %)×$7Ñ$7×$CÑ$CˆDÔ!Ø"&ˆDÔð ˆð %)×$7Ñ$7×$GÑ$GˆDÔ!Øˆr   c               ó   € V ^8„  d   QhRR/# ©r   r   rA   r   )r   s   "r   r   r/   ¦   s   € ÷ %ñ % ñ %r   c                ó   € V P                   # )z(Returns the unconsumed portion left over)r3   r4   s   &r   rT   Ú GzipDecompressor.unconsumed_tail¥   s   € ð ×$Ñ$Ð$r   c               ó   € V ^8„  d   QhRR/# rW   r   )r   s   "r   r   r/   ª   s   € ÷  ñ  �uñ  r   c                óˆ   € V P                   '       d   \        R4      hV P                  e   \        P                  ! R4      hR# )aÔ  Signals the end of the input.

Call this once, after the last call to `decompress`, to check that
the stream was complete. Raises `zlib.error` if the input ended
partway through a gzip member. Raises `ValueError` if
`unconsumed_tail` is not empty; it must be passed back to
`decompress` first.

Always returns an empty byte string, because `decompress` returns
all of the output. The return value is kept for compatibility with
`zlib.Decompress.flush`, whose interface this follows.

No other methods may be called on this object after `flush`.

.. versionchanged:: 6.6

   Previously, this decompressed any remaining ``unconsumed_tail``
   with no limit on the size of the output, and it did not detect
   truncated input.
z9unconsumed_tail must be passed to decompress before flushz#incomplete or truncated gzip streamr   )r3   Ú
ValueErrorr2   r:   rQ   r4   s   &r   ÚflushÚGzipDecompressor.flushª   sC   € ð* × × Ð ÜØKóð ð ×ÑÒ*ô —*’*ÐBÓCÐCÙr   r1   N)é    )r%   r&   r'   r(   r)   r5   Ústaticmethodr=   rL   rI   ÚpropertyrT   r]   r*   r   r   r   r,   r,   @   sI   † ñõ$ð ô7ó ð7÷#õJð8 ô%ó ð%÷ ñ  r   r,   c               ó    € V ^8„  d   QhRRRR/# r   r   )r   s   "r   r   r   Í   s   € ÷ <ñ <˜ð < ñ <r   c                ó*  € V P                  R4      ^ 8X  d   \        V 4      # V P                  R4      p\        RP                  VRR 4      VR,          .R7      p \	        W!R,          4      #   \
         d    \        RTR,          ,          4      hi ; i)aà  Imports an object by name.

``import_object('x')`` is equivalent to ``import x``.
``import_object('x.y.z')`` is equivalent to ``from x.y import z``.

>>> import tornado.escape
>>> import_object('tornado.escape') is tornado.escape
True
>>> import_object('tornado.escape.utf8') is tornado.escape.utf8
True
>>> import_object('tornado') is tornado
True
>>> import_object('tornado.missing_module')
Traceback (most recent call last):
    ...
ImportError: No module named missing_module
Ú.N)ÚfromlistzNo module named %séÿÿÿÿ)ÚcountÚ
__import__ÚsplitÚjoinÚgetattrr   ÚImportError)r   ÚpartsÚobjs   &  r   Úimport_objectro   Í   s…   € ð$ ‡z�z�#ƒ˜!ÔÜ˜$ÓÐà�J‰J�s‹O€EÜ
�S—X‘X˜e C R˜jÓ)°U¸2µY°KÔ
@€Cð<Ü�s "�IÓ&Ð&øÜô <ÜÐ.°°rµÕ:Ó;Ð;ð<ús   ÁA- Á-%Bc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   Úcoder   Úglobúdict[str, Any]ÚloczMapping[str, Any] | None | Noner   r!   r   )r   s   "r   r   r   ê   s,   € ÷ ñ Ø
ðØ#ðØ*Iðà	ñr   c                óh   € \        V \        4      '       d   \        V R RRR7      p \        WV4       R# )z<string>ÚexecT)Údont_inheritN)Ú
isinstancer   Úcompilerv   )rq   rr   rt   s   &&&r   Úexec_inrz   ê   s-   € ô �$œ×Òô �t˜Z¨¸dÔCˆÜˆ�SÖr   c               ó    € V ^8„  d   QhRRRR/# )r   Úexc_infoz>tuple[type | None, BaseException | None, TracebackType | None]r   ztyping.NoReturnr   )r   s   "r   r   r   ô   s   € ÷ &ñ &ØLð&àñ&r   c                ó|   €  V ^,          e    V ^,          P                  V ^,          4      h\        R4      h  Rp i ; i)é   z'raise_exc_info called with no exception)NNN)Úwith_tracebackÚ	TypeError)r|   s   &r   Úraise_exc_infor�   ô   s?   € ð&Ø�A�;Ò"Ø˜1•+×,Ñ,¨X°a­[Ó9Ð9äÐEÓFÐFøð &‰ús   ‚57 ·;c               ó    € V ^8„  d   QhRRRR/# )r   ÚeÚBaseExceptionr   z
int | Noner   )r   s   "r   r   r     s   € ÷ ñ ˜Mð ¨jñ r   c                óŒ   € \        V R4      '       d   V P                  # V P                  '       d   V P                  ^ ,          # R# )a4  Provides the errno from an Exception object.

There are cases that the errno attribute was not set so we pull
the errno out of the args but if someone instantiates an Exception
without any args you will get a tuple error. So this function
abstracts all that behavior to give you a safe way to get the
errno.
ÚerrnoN)Úhasattrr†   Úargs)rƒ   s   &r   Úerrno_from_exceptionr‰     s4   € ô ˆq�'×ÒØ�w‰wˆØ	
��ˆØ�v‰v�a�yÐár   Ú>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789c               ó    € V ^8„  d   QhRRRR/# )r   Úmatchz
Match[str]r   r   r   )r   s   "r   r   r     s   € ÷ ñ  Jð °3ñ r   c                ó~   € V P                  ^4      pV^ ,          \        9   d   \        RV^ ,          ,          4      hV# )r~   zcannot unescape '\\%s')ÚgroupÚ	_alphanumr\   )rŒ   rŽ   s   & r   Ú_re_unescape_replacementr�     s5   € Ø�K‰K˜‹N€EØˆQ…x”9ÔÜÐ3°e¸AµhÕ>Ó?Ð?Ø€Lr   z\\(.)c               ó    € V ^8„  d   QhRRRR/# )r   Úsr   r   r   )r   s   "r   r   r   !  s   € ÷ 	Añ 	A�3ð 	A˜3ñ 	Ar   c                ó6   € \         P                  \        V 4      # )zãUnescape a string escaped by `re.escape`.

May raise ``ValueError`` for regular expressions which could not
have been produced by `re.escape` (for example, strings containing
``\d`` cannot be unescaped).

.. versionadded:: 4.4
)Ú_re_unescape_patternÚsubr�   )r’   s   &r   Úre_unescaper–   !  s   € ô  ×#Ñ#Ô$<¸aÓ@Ð@r   c                  óð   a € ] tR tRt$ RtRtR]R&   RtR]R&   R V 3R	 llt]	R
 R l4       t
]	R R l4       tR R lt]tR]R&    ]	R R l4       t]	R R l4       t]	R R l4       t]	R R l4       tRtV ;t# )ÚConfigurablei-  aâ  Base class for configurable interfaces.

A configurable interface is an (abstract) class whose constructor
acts as a factory function for one of its implementation subclasses.
The implementation subclass as well as optional keyword arguments to
its initializer can be set globally at runtime with `configure`.

By using the constructor as the factory method, the interface
looks like a normal class, `isinstance` works as usual, etc.  This
pattern is most useful when the choice of implementation is likely
to be a global decision (e.g. when `~select.epoll` is available,
always use it instead of `~select.select`), or when a
previously-monolithic class has been split into specialized
subclasses.

Configurable subclasses must define the class methods
`configurable_base` and `configurable_default`, and use the instance
method `initialize` instead of ``__init__``.

.. versionchanged:: 5.0

   It is now possible for configuration to be specified at
   multiple levels of a class hierarchy.

Nztype[Configurable] | NoneÚ_Configurable__impl_classzdict[str, Any] | NoneÚ_Configurable__impl_kwargsc               ó$   € V ^8„  d   QhRRRRRR/# )r   rˆ   r   Úkwargsr   r   )r   s   "r   r   ÚConfigurable.__annotate__S  s!   € ÷ ñ ˜Cð ¨3ð °3ñ r   c                	óR  <€ V P                  4       p/ pWJ d?   V P                  4       pVP                  '       d   VP                  VP                  4       MT pVP                  V4       VP                  4       VJd	   V! V/ VB # \        SV `  V4      pVP                  ! V/ VB  V# r   )Úconfigurable_baseÚconfigured_classrš   ÚupdateÚsuperÚ__new__Ú
initialize)Úclsrˆ   rœ   ÚbaseÚinit_kwargsÚimplÚinstanceÚ	__class__s   &*,    €r   r£   ÚConfigurable.__new__S  s¦   ø€ Ø×$Ñ$Ó&ˆØ&(ˆØ‹;Ø×'Ñ'Ó)ˆDØ×!×!Ð!Ø×"Ñ" 4×#5Ñ#5Ô6øàˆDØ×Ñ˜6Ô"Ø×!Ñ!Ó#¨4Ó/á˜Ð- Ñ-Ð-Ü‘7‘? 4Ó(ˆð 	×Ò˜TÐ1 [Ò1Øˆr   c               ó   € V ^8„  d   QhRR/# ©r   r   ztype[Configurable]r   )r   s   "r   r   r�   h  s   € ÷ $ñ $Ð"4ñ $r   c                ó   € \        4       h)z¾Returns the base class of a configurable hierarchy.

This will normally return the class in which it is defined.
(which is *not* necessarily the same as the ``cls`` classmethod
parameter).

©ÚNotImplementedError©r¥   s   &r   rŸ   ÚConfigurable.configurable_baseg  s   € ô "Ó#Ð#r   c               ó   € V ^8„  d   QhRR/# r­   r   )r   s   "r   r   r�   s  s   € ÷ $ñ $Ð%7ñ $r   c                ó   € \        4       h)zBReturns the implementation class to be used if none is configured.r¯   r±   s   &r   Úconfigurable_defaultÚ!Configurable.configurable_defaultr  s   € ô "Ó#Ð#r   c               ó   € V ^8„  d   QhRR/# r.   r   )r   s   "r   r   r�   w  s   € ÷ ñ ˜Tñ r   c                	ó   € R # r   r   r4   s   &r   Ú_initializeÚConfigurable._initializew  s   € Ùr   zCallable[..., None]r¤   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r¨   zNone | str | type[Configurable]rœ   r   r   r!   r   )r   s   "r   r   r�   „  s#   € ÷ $ñ $Ð<ð $Èð $ÐPTñ $r   c                ó  € V P                  4       p\        V\        4      '       d0   \        P                  ! \
        \        ,          \        V4      4      pVe$   \        W4      '       g   \        RV ,          4      hWn
        W#n        R# )zÐSets the class to use when the base class is instantiated.

Keyword arguments will be saved and added to the arguments passed
to the constructor.  This can be used to set global defaults for
some parameters.
NzInvalid subclass of %s)rŸ   rx   r   ÚtypingÚcastÚtyper˜   ro   Ú
issubclassr\   r™   rš   )r¥   r¨   rœ   r¦   s   &&, r   Ú	configureÚConfigurable.configureƒ  sf   € ð ×$Ñ$Ó&ˆÜ�dœC× Ò Ü—;’;œt¤LÕ1´=ÀÓ3FÓGˆDØÒ¤J¨t×$9Ò$9ÜÐ5¸Õ;Ó<Ð<Ø ÔØ#Ör   c               ó   € V ^8„  d   QhRR/# r­   r   )r   s   "r   r   r�   ”  s   € ÷ ;ñ ;Ð!3ñ ;r   c                óÐ   € V P                  4       pVP                  P                  R4      f   V P                  4       Vn        VP                  e   VP                  # \        R4      h)z'Returns the currently configured class.r™   zconfigured class not found)rŸ   Ú__dict__Úgetrµ   r™   r\   ©r¥   r¦   s   & r   r    ÚConfigurable.configured_class“  sa   € ð ×$Ñ$Ó&ˆð �=‰=×ÑÐ8Ó9ÒAØ #× 8Ñ 8Ó :ˆDÔØ×ÑÒ(Ø×$Ñ$Ð$ô Ð9Ó:Ð:r   c               ó   € V ^8„  d   QhRR/# )r   r   ú7tuple[type[Configurable] | None, dict[str, Any] | None]r   )r   s   "r   r   r�   £  s   € ÷ 7ñ 7à	@ñ7r   c                	óR   € V P                  4       pVP                  VP                  3# r   ©rŸ   r™   rš   rÇ   s   & r   Ú_save_configurationÚ Configurable._save_configuration¢  s)   € ð ×$Ñ$Ó&ˆØ×!Ñ! 4×#5Ñ#5Ð6Ð6r   c               ó    € V ^8„  d   QhRRRR/# )r   ÚsavedrÊ   r   r!   r   )r   s   "r   r   r�   ª  s   € ÷ &ñ &ØKð&à	ñ&r   c                	ó^   € V P                  4       pV^ ,          Vn        V^,          Vn        R# ©r_   NrÌ   )r¥   rÐ   r¦   s   && r   Ú_restore_configurationÚ#Configurable._restore_configuration©  s*   € ð ×$Ñ$Ó&ˆØ! !�HˆÔØ" 1�XˆÖr   r   )r%   r&   r'   r(   r)   r™   Ú__annotations__rš   r£   ÚclassmethodrŸ   rµ   r¹   r¤   rÁ   r    rÍ   rÓ   r*   Ú__classcell__)rª   s   @r   r˜   r˜   -  sº   ø‡ ñðD /3€LÐ+Ó2Ø+/€MÐ(Ó/÷ð ð( ô$ó ð$ð ô$ó ð$õð '2€JÐ#Ó1ðð ô$ó ð$ð ô;ó ð;ð ô7ó ð7ð ô&ó ö&r   r˜   c                  óN   € ] tR tRtRtR R ltR R ltRR R	 lltR
 R ltRt	R# )ÚArgReplaceri²  zÇReplaces one value in an ``args, kwargs`` pair.

Inspects the function signature to find an argument by name
whether it is passed by position or keyword.  For use in decorators
and similar wrappers.
c               ó$   € V ^8„  d   QhRRRRRR/# )r   Úfuncr   r   r   r   r!   r   )r   s   "r   r   ÚArgReplacer.__annotate__º  s!   € ÷  ñ  ˜Xð  ¨Sð  °Tñ  r   c                	ó�   € W n          V P                  V4      P                  V4      V n        R #   \         d    R T n         R # i ; ir   )r   Ú_getargnamesÚindexÚarg_posr\   )r   rÛ   r   s   &&&r   r5   ÚArgReplacer.__init__º  s?   € ØŒ	ð	 Ø'+×'8Ñ'8¸Ó'>×'DÑ'DÀTÓ'JˆDŽLøÜô 	 àˆD�Lð	 ús   ˆ%/ ¯AÁAc               ó    € V ^8„  d   QhRRRR/# )r   rÛ   r   r   z	list[str]r   )r   s   "r   r   rÜ   Â  s   € ÷ ñ  ð ¨iñ r   c                	óÀ   €  \        V4      P                  #   \         d<    \        TR 4      '       d(   TP                  pTP
                  RTP                   u # h i ; i)Ú	func_codeN)r   rˆ   r€   r‡   rä   Úco_varnamesÚco_argcount)r   rÛ   rq   s   && r   rÞ   ÚArgReplacer._getargnamesÂ  s\   € ð	Ü! $Ó'×,Ñ,Ð,øÜô 
	Ü�t˜[×)Ò)ð —~‘~�Ø×'Ñ'Ð(:¨$×*:Ñ*:Ð;Ò;Øð
	ús   ‚ —AAÁANc               ó(   € V ^8„  d   QhRRRRRRRR/# )r   rˆ   úSequence[Any]rœ   rs   Údefaultr   r   r   )r   s   "r   r   rÜ   Ñ  s,   € ÷ 
2ñ 
2Ø!ð
2Ø+9ð
2ØDGð
2à	ñ
2r   c                ó®   € V P                   e-   \        V4      V P                   8”  d   WP                   ,          # VP                  V P                  V4      # )zwReturns the old value of the named argument without replacing it.

Returns ``default`` if the argument is not present.
)rà   ÚlenrÆ   r   )r   rˆ   rœ   rê   s   &&&&r   Úget_old_valueÚArgReplacer.get_old_valueÑ  s?   € ð �<‰<Ò#¬¨D«	°D·L±LÔ(@ØŸ™Õ%Ð%à—:‘:˜dŸi™i¨Ó1Ð1r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   Ú	new_valuer   rˆ   ré   rœ   rs   r   z)tuple[Any, Sequence[Any], dict[str, Any]]r   )r   s   "r   r   rÜ   Ý  s,   € ÷ 'ñ 'Øð'Ø$1ð'Ø;Ið'à	2ñ'r   c                ó  € V P                   eG   \        V4      V P                   8”  d-   W P                   ,          p\        V4      pWV P                   &   M)VP                  V P                  4      pWV P                  &   WBV3# )ad  Replace the named argument in ``args, kwargs`` with ``new_value``.

Returns ``(old_value, args, kwargs)``.  The returned ``args`` and
``kwargs`` objects may not be the same as the input objects, or
the input objects may be mutated.

If the named argument was not found, ``new_value`` will be added
to ``kwargs`` and None will be returned as ``old_value``.
)rà   rì   ÚlistrÆ   r   )r   rð   rˆ   rœ   Ú	old_values   &&&& r   ÚreplaceÚArgReplacer.replaceÝ  si   € ð �<‰<Ò#¬¨D«	°D·L±LÔ(@àŸ\™\Õ*ˆIÜ˜“:ˆDØ!*�—‘Òð Ÿ
™
 4§9¡9Ó-ˆIØ )�4—9‘9ÑØ Ð&Ð&r   )rà   r   r   )
r%   r&   r'   r(   r)   r5   rÞ   rí   rô   r*   r   r   r   rÙ   rÙ   ²  s    † ñõ õ÷
2÷'ñ 'r   rÙ   c               ó    € V ^8„  d   QhRRRR/# )r   Útdzdatetime.timedeltar   Úfloatr   )r   s   "r   r   r   õ  s   € ÷ ñ Ð/ð °Eñ r   c                ó"   € V P                  4       # )z@Equivalent to ``td.total_seconds()`` (introduced in Python 2.7).)Útotal_seconds)r÷   s   &r   Útimedelta_to_secondsrû   õ  s   € à×ÑÓÐr   c               ó$   € V ^8„  d   QhRRRRRR/# )r   ÚmaskrA   Údatar   r   )r   s   "r   r   r   ú  s!   € ÷ "ñ " ð "¨eð "¸ñ "r   c                ó&  € \        V 4      ^8w  d   \        R4      h\        P                  ! RV 4      p\        P                  ! RV4      p\        \        V4      4       F!  pW4,          W$^,          ,          ,          W4&   K#  	  VP	                  4       # )a=  Websocket masking function.

`mask` is a `bytes` object of length 4; `data` is a `bytes` object of any length.
Returns a `bytes` object of the same length as `data` with the mask applied
as specified in section 5.3 of RFC 6455.

This pure-python implementation may be replaced by an optimized version when available.
zmask must be 4 bytesÚB)rì   r\   ÚarrayÚrangeÚtobytes)rý   rþ   Úmask_arrÚunmasked_arrÚis   &&   r   Ú_websocket_mask_pythonr  ú  sq   € ô ˆ4ƒy�A„~ÜÐ/Ó0Ð0Ü�{Š{˜3 Ó%€HÜ—;’;˜s DÓ)€LÜ”3�t“9ÖˆØ&�/¨H¸µU­OÕ;ˆ‹ñ à×ÑÓ!Ð!r   ÚTORNADO_NO_EXTENSIONÚTORNADO_EXTENSIONÚ0)Úwebsocket_maskÚ1c               ó   € V ^8„  d   QhRR/# )r   r   zunittest.TestSuiter   )r   s   "r   r   r     s   € ÷ "ñ "Ð$ñ "r   c                 ó*   € ^ RI p V P                  4       # rÒ   )ÚdoctestÚDocTestSuite)r  s    r   Údoctestsr    s   € Ûà×ÑÓ!Ð!r   r   )6r)   Ú
__future__r   r  ÚasyncioÚosÚrer½   rF   r:   Úcollections.abcr   r   r   Úinspectr   r   r   ÚTYPE_CHECKINGÚdatetimeÚunittestÚtypesr	   rA   Ú
bytes_typer   Úunicode_typeÚbasestring_typeÚTimeoutErrorÚdictr   r,   ro   rz   r�   r‰   Ú	frozensetr�   r�   ry   ÚDOTALLr”   r–   r˜   rÙ   rû   r  ÚenvironrÆ   Ú_websocket_maskÚtornado.speedupsr  rl   r  r   r   r   Ú<module>r&     sc  ðñ
õ #ã Û Û 	Û 	Û Û Û ß 7Ñ 7Ý "Ý õð 
××Ðó ÛÝ#ð
 €
Ø€Ø€ð ×#Ñ#€ô
��c˜3�h•ô 
÷Jñ JõZ<÷:õ&õñ$ ÐVÓW€	õð —z’z (¨B¯I©IÓ6Ð õ	A÷B&ñ B&÷J@'ñ @'õFõ
"ð$ ‡:�:‡>�>Ð(×)Ò)¨R¯Z©Z¯^©^Ð<OÓ-PÐTWÔ-Wð -�Oð1ÝF÷"øð ô 1Ø�:‰:�>‰>Ð-Ó.°#Ô5ØØ0Šð1ús   ÅE Å*E<Å;E<