+
    }i;                         ^ RI t ^ RIHtHtHtHt ^ RI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 ^ RIHt ]'       d   ^ R
IHt  ! R R4      tR# )    N)TYPE_CHECKINGAnyOptionalcast)greenlet)ChannelOwner
Connection)Error)MainGreenlet)create_remote_object)
Playwright)PipeTransport)AbstractChildWatcherc                   h   a  ] tR t^ t o V 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltR	tV t	R
# )PlaywrightContextManagerc                   < V ^8  d   QhRR/#    returnN )format__classdict__s   "v/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/playwright/sync_api/_context_manager.py__annotate__%PlaywrightContextManager.__annotate__!   s     & &$ &    c                8    V  V  R V n         RV n        R V n        R# )FN)	_own_loop_watcher_exit_was_calledselfs   &r   __init__!PlaywrightContextManager.__init__!   s    8< %r   c                    < V ^8  d   QhRS[ /# r   r   SyncPlaywright)r   r   s   "r   r   r   (   s     ) )> )r   c                \  a a  \         P                  ! 4       S n        S P                  P                  4       '       d   \        R4      hR V 3R llp\        V4      p\        V\        \        S P                  4      S P                  4      S n        \        P                  ! 4       oR VV 3R llpS P                  P                  RV4       VP!                  4        S P"                  pS P$                  Vn        V#   \         d&    \         P                  ! 4       S n        R S n         ELi ; i)TzjIt looks like you are using Playwright Sync API inside the asyncio loop.
Please use the Async API instead.c                    V ^8  d   QhRR/# r   r   )r   s   "r   r   8PlaywrightContextManager.__enter__.<locals>.__annotate__7   s     	J 	Jt 	Jr   c                  n   < S P                   P                  S P                  P                  4       4       R # N)_looprun_until_complete_connectionrun_as_syncr!   s   r   greenlet_main9PlaywrightContextManager.__enter__.<locals>.greenlet_main7   s$    JJ))$*:*:*F*F*HIr   c                (    V ^8  d   QhR\         RR/# )r   channel_ownerr   N)r   )r   s   "r   r   r+   E   s     	 	L 	T 	r   c                 h   < \        \        V 4      p\        V4      Sn        SP	                  4        R # r-   )r   r   r(   _playwrightswitch)r5   playwright_implg_selfr"   s   & r   callback_wrapper<PlaywrightContextManager.__enter__.<locals>.callback_wrapperE   s%    ":}=O-o>DMMOr   r   )asyncioget_running_loopr.   RuntimeErrornew_event_loopr   
is_runningr
   r   r	   r   r   r0   r   
getcurrentcall_on_object_with_known_namer8   r7   __exit__stop)r"   r2   dispatcher_fiberr;   
playwrightr:   s   f    @r   	__enter__"PlaywrightContextManager.__enter__(   s   	" 113DJ ::  ""% 	J 	J (6% $**%JJ	
 $$&	 	 	77FVW!%%
--
M  	" //1DJ!DN	"s   C; ;,D+*D+c                    < V ^8  d   QhRS[ /# r&   r'   )r   r   s   "r   r   r   S   s        ~  r   c                "    V P                  4       # r-   )rH   r!   s   &r   startPlaywrightContextManager.startS   s    ~~r   c                $   < V ^8  d   QhRS[ RR/# )r   argsr   N)r   )r   r   s   "r   r   r   V   s      c d r   c                   V P                   '       d   R # RV n         V P                  P                  4        V P                  '       d   V P                  P	                  4        V P
                  '       d   \        P                  ! V P                  4      pV Uu. uF4  q3P                  4       '       d   K  VP                  4       '       d   K2  VNK6  	  up F  pVP                  4        K  	  V P                  P                  V P                  P                  4       4       V P                  P	                  4        R # R # u upi )NT)r    r0   	stop_syncr   closer   r=   	all_tasksr.   done	cancelledcancelr/   shutdown_asyncgens)r"   rO   tasksts   &*  r   rD   !PlaywrightContextManager.__exit__V   s        $""$===MM!>>>%%djj1E!&JAvvxa1;;=aaJ
 KJJ))$***G*G*IJJJ Js   D=4D=D=)r0   r    r.   r   r7   r   N)
__name__
__module____qualname____firstlineno__r#   rH   rL   rD   __static_attributes____classdictcell__)r   s   @r   r   r       s.     & &) )V    r   r   )r=   typingr   r   r   r   r   playwright._impl._connectionr   r	   playwright._impl._errorsr
   playwright._impl._greenletsr    playwright._impl._object_factoryr   playwright._impl._playwrightr   playwright._impl._transportr   playwright.sync_api._generatedr(   asyncio.unix_eventsr   r   r   r   r   <module>rj      s:     5 5  A * 4 A 3 5 G8B Br   