+
    NV-j«  ã                  óö   € ^ RI Ht ^ RIHtHtHtHt ^ RIHtH	t	H
t
 ^ RIHtHt ^ RIHtHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHtHt ^ RIHtHtHtH t H!t!H"t" ]
! RRR7      t#]	! R4      t$ ! R R4      t%R# )é    )Úannotations)Ú	AwaitableÚCallableÚMappingÚSequence)ÚAnyÚ	ParamSpecÚTypeVar)ÚStateÚURLPath)Ú
MiddlewareÚ_MiddlewareFactory)ÚServerErrorMiddleware)ÚExceptionMiddleware)ÚRequest)ÚResponse)Ú	BaseRouteÚRouter)ÚASGIAppÚExceptionHandlerÚLifespanÚReceiveÚScopeÚSendÚAppTypeÚ	Starlette)ÚboundÚPc                  ó¬   € ] tR t^tRtRR R lltR R lt]R R l4       tR	 R
 lt	R R lt
RR R lltRR R lltR R ltR R ltRR R lltRtR# )r   z!Creates an Starlette application.Nc               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# )é   Úselfr   ÚdebugÚboolÚrouteszSequence[BaseRoute] | NoneÚ
middlewarezSequence[Middleware] | NoneÚexception_handlersz%Mapping[Any, ExceptionHandler] | NoneÚlifespanzLifespan[AppType] | NoneÚreturnÚNone© )Úformats   "Úg/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/starlette/applications.pyÚ__annotate__ÚStarlette.__annotate__   sO   € ÷ !5ñ !5Øð!5àð!5ð +ð!5ð 0ð	!5ð
 Bð!5ð +ð!5ð 
ñ!5ó    c                ó¸   € Wn         \        4       V n        \        W%R7      V n        Vf   / M
\        V4      V n        Vf   . M
\        V4      V n        RV n	        R# )a±  Initializes the application.

Parameters:
    debug: Boolean indicating if debug tracebacks should be returned on errors.
    routes: A list of routes to serve incoming HTTP and WebSocket requests.
    middleware: A list of middleware to run for every request. A starlette
        application will always automatically include two middleware classes.
        `ServerErrorMiddleware` is added as the very outermost middleware, to handle
        any uncaught errors occurring anywhere in the entire stack.
        `ExceptionMiddleware` is added as the very innermost middleware, to deal
        with handled exception cases occurring in the routing or endpoints.
    exception_handlers: A mapping of either integer status codes,
        or exception class types onto callables which handle the exceptions.
        Exception handler callables should be of the form
        `handler(request, exc) -> response` and may be either standard functions, or
        async functions.
    lifespan: A lifespan context function, which can be used to perform
        startup and shutdown tasks. This is a newer style that replaces the
        `on_startup` and `on_shutdown` handlers. Use one or the other, not both.
)r(   N)
r#   r   Ústater   ÚrouterÚdictr'   ÚlistÚuser_middlewareÚmiddleware_stack)r"   r#   r%   r&   r'   r(   s   &&&&&&r-   Ú__init__ÚStarlette.__init__   sO   € ð8 Œ
Ü“WˆŒ
Ü˜VÔ7ˆŒØ(:Ò(B¡"ÌÐM_ÓH`ˆÔØ%/Ò%7™r¼TÀ*Ó=MˆÔØ04ˆÖr0   c               ó   € V ^8„  d   QhRR/# )r!   r)   r   r+   )r,   s   "r-   r.   r/   9   s   € ÷ ñ ¨ñ r0   c                	ód  € V P                   pR p/ pV P                  P                  4        F  w  rEVR\        39   d   TpK  WSV&   K  	  \	        \
        W!R7      .V P                  ,           \	        \        W1R7      .,           pV P                  p\        V4       F  w  r‰p
V! V.V	O5/ V
B pK  	  V# )Niô  )Úhandlerr#   )Úhandlersr#   )
r#   r'   ÚitemsÚ	Exceptionr   r   r6   r   r3   Úreversed)r"   r#   Úerror_handlerr'   ÚkeyÚvaluer&   ÚappÚclsÚargsÚkwargss   &          r-   Úbuild_middleware_stackÚ Starlette.build_middleware_stack9   s»   € Ø—
‘
ˆØˆØ:<Ðà×1Ñ1×7Ñ7Ö9‰JˆCØ�sœIÐ&Ô&Ø %’à*/ 3Ó'ñ	 :ô Ô-°}ÔRÐSØ×"Ñ"õ#äÔ-Ð8JÔXÐYõZð 	ð �k‰kˆÜ!)¨*Ö!5ÑˆC�vÙ�cÐ+˜DÒ+ FÑ+ŠCñ "6àˆ
r0   c               ó   € V ^8„  d   QhRR/# )r!   r)   zlist[BaseRoute]r+   )r,   s   "r-   r.   r/   P   s   € ÷ "ñ "˜ñ "r0   c                	ó.   € V P                   P                  # ©N)r3   r%   )r"   s   &r-   r%   ÚStarlette.routesO   s   € à�{‰{×!Ñ!Ð!r0   c               ó$   € V ^8„  d   QhRRRRRR/# )r!   ÚnameÚstrÚpath_paramsr   r)   r   r+   )r,   s   "r-   r.   r/   S   s!   € ÷ =ñ = ð =¸ð =Àñ =r0   c               	ó<   € V P                   P                  ! V3/ VB # rL   )r3   Úurl_path_for)r"   rO   rQ   s   "",r-   rS   ÚStarlette.url_path_forS   s   € Ø�{‰{×'Ò'¨Ñ<°Ñ<Ð<r0   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r!   Úscoper   Úreceiver   Úsendr   r)   r*   r+   )r,   s   "r-   r.   r/   V   s(   € ÷ :ñ : Eð :°Gð :À4ð :ÈDñ :r0   c              ƒ  	ó”   "  € WR &   V P                   f   V P                  4       V n         V P                  WV4      G Rj  x€L
  R#  L5i)rD   N)r7   rH   )r"   rV   rW   rX   s   &&&&r-   Ú__call__ÚStarlette.__call__V   s?   é € Øˆe‰Ø× Ñ Ò(Ø$(×$?Ñ$?Ó$AˆDÔ!Ø×#Ñ# E°DÓ9×9Ô9ùs   ‚=A¿AÁ Ac               ó(   € V ^8„  d   QhRRRRRRRR/# )	r!   ÚpathrP   rD   r   rO   ú
str | Noner)   r*   r+   )r,   s   "r-   r.   r/   \   s(   € ÷ 4ñ 4˜#ð 4 Gð 4°:ð 4Èñ 4r0   c                	ó@   € V P                   P                  WVR 7       R# ©)rD   rO   N)r3   Úmount)r"   r]   rD   rO   s   &&&&r-   ra   ÚStarlette.mount\   s   € Ø�‰×Ñ˜$¨dÐÖ3r0   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r!   ÚhostrP   rD   r   rO   r^   r)   r*   r+   )r,   s   "r-   r.   r/   _   s(   € ÷ 3ñ 3˜ð 3 7ð 3°*ð 3Èñ 3r0   c                	ó@   € V P                   P                  WVR 7       R# r`   )r3   rd   )r"   rd   rD   rO   s   &&&&r-   rd   ÚStarlette.host_   s   € Ø�‰×Ñ˜¨TÐÖ2r0   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r!   Úmiddleware_classz_MiddlewareFactory[P]rF   zP.argsrG   zP.kwargsr)   r*   r+   )r,   s   "r-   r.   r/   b   s1   € ÷ Vñ VÐ/Dð VÈVð VÐ_gð VÐlpñ Vr0   c                	óŠ   € V P                   e   \        R4      hV P                  P                  ^ \	        V.VO5/ VB 4       R # )Nz6Cannot add middleware after an application has started)r7   ÚRuntimeErrorr6   Úinsertr   )r"   rh   rF   rG   s   &&*,r-   Úadd_middlewareÚStarlette.add_middlewareb   s@   € Ø× Ñ Ò,ÜÐWÓXÐXØ×Ñ×#Ñ# A¤zÐ2BÐ'TÀTÒ'TÈVÑ'TÖUr0   c               ó$   € V ^8„  d   QhRRRRRR/# )r!   Úexc_class_or_status_codezint | type[Exception]r<   r   r)   r*   r+   )r,   s   "r-   r.   r/   g   s-   € ÷ Dñ Dà"7ðDð "ðDð 
ñ	Dr0   c                	ó"   € W P                   V&   R # rL   )r'   )r"   ro   r<   s   &&&r-   Úadd_exception_handlerÚStarlette.add_exception_handlerg   s   € ð
 =D×ÑÐ 8Ó9r0   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )r!   r]   rP   Úroutez3Callable[[Request], Awaitable[Response] | Response]Úmethodszlist[str] | NonerO   r^   Úinclude_in_schemar$   r)   r*   r+   )r,   s   "r-   r.   r/   n   sO   € ÷ lñ làðlð Cðlð "ð	lð
 ðlð  ðlð 
ñlr0   c                	óB   € V P                   P                  WW4VR 7       R# ))ru   rO   rv   N)r3   Ú	add_route)r"   r]   rt   ru   rO   rv   s   &&&&&&r-   rx   ÚStarlette.add_routen   s   € ð 	�‰×Ñ˜d°7ÐYjÐÖkr0   )r#   r'   r7   r3   r2   r6   )FNNNNrL   )NNT)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r8   rH   Úpropertyr%   rS   rZ   ra   rd   rl   rq   rx   Ú__static_attributes__r+   r0   r-   r   r      sP   † Ù+÷!5õFð, ô"ó ð"õ=õ:÷4÷3õVõ
D÷ló lr0   N)&Ú
__future__r   Úcollections.abcr   r   r   r   Útypingr   r	   r
   Ústarlette.datastructuresr   r   Ústarlette.middlewarer   r   Ústarlette.middleware.errorsr   Ústarlette.middleware.exceptionsr   Ústarlette.requestsr   Ústarlette.responsesr   Ústarlette.routingr   r   Ústarlette.typesr   r   r   r   r   r   r   r   r   r+   r0   r-   Ú<module>rŒ      sR   ðÝ "ç BÓ Bß *Ñ *ç 3ß ?Ý =Ý ?Ý &Ý (ß /ß U× Uá
�) ;Ô
/€ÙˆcƒN€÷cló clr0   