+
    '(j<                     t    ^ 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Ht  ! R R]	4      tR R	 ltR# )
    N)DictListOptionalcast)HeadersArray)ChannelOwner
StackFrame)HarLookupResultlocals_to_paramsc                      a a ] tR t^t oV3R lV 3R lltV3R lR ltV3R lR ltRV3R lR lltV3R	 lR
 ltV3R lR lt	RV3R lR llt
V3R lR ltV3R lR ltRtVtV ;t# )
LocalUtilsc          
      6   < V ^8  d   QhRS[ RS[RS[RS[RR/# )   parenttypeguidinitializerreturnN)r   strr   )format__classdict__s   "R/home/ubuntu/cf-venv/lib/python3.14/site-packages/playwright/_impl/_local_utils.py__annotate__LocalUtils.__annotate__   s5     
 
"
*-
58
GK
	
    c                   < \         SV `  WW44       VR ,           Uu/ uF  pVR,          \        VR,          4      bK  	  upV n        R# u upi )deviceDescriptorsname
descriptorN)super__init__parse_device_descriptordevices)selfr   r   r   r   device	__class__s   &&&&& r   r!   LocalUtils.__init__   sT     	t9 &&9:
: 6N3F<4HII:
 
s   #A
c                $   < V ^8  d   QhRS[ RR/# )r   paramsr   Nr   )r   r   s   "r   r   r   !   s     6 6 6 6r   c                \   "   V P                   P                  R RV4      G Rj  xL
  R#  L5i)zipN_channelsend)r$   r)   s   &&r   r,   LocalUtils.zip!   s!     mm  f555s   !,*,c                $   < V ^8  d   QhRS[ RR/# )r   filer   Nr   )r   r   s   "r   r   r   $   s     : :3 :4 :r   c                   "   \        \        4       4      pV P                  P                  R RV4      G Rj  xL
  R#  L5i)harOpenNr   localsr.   r/   )r$   r2   r)   s   && r   har_openLocalUtils.har_open$   s-     !&(+mm  D&999   4?=?c                T   < V ^8  d   QhRS[ RS[ RS[ RS[RS[RS[S[,          RS[/# )r   harIdurlmethodheadersisNavigationRequestpostDatar   )r   r   boolr   bytesr
   )r   r   s   "r   r   r   (   sU     
 

 
 	

 
 "
 5/
 

r   c                  "   \        \        4       4      pR V9   d/   \        P                  ! VR ,          4      P	                  4       VR &   \        \        V P                  P                  RRV4      G Rj  xL
 4      #  L5i)rA   	harLookupN)	r   r7   base64	b64encodedecoder   r
   r.   send_return_as_dict)r$   r<   r=   r>   r?   r@   rA   r)   s   &&&&&&& r   
har_lookupLocalUtils.har_lookup(   sj      "&(+!'!1!1&2D!E!L!L!NF:--33KvNN
 	
Ns   A3B 5A>
6	B c                $   < V ^8  d   QhRS[ RR/# )r   r<   r   Nr3   )r   r   s   "r   r   r   9   s     ; ;S ;T ;r   c                   "   \        \        4       4      pV P                  P                  R RV4      G Rj  xL
  R#  L5i)harCloseNr6   )r$   r<   r)   s   && r   	har_closeLocalUtils.har_close9   -     !&(+mm  T6:::r:   c                *   < V ^8  d   QhRS[ RS[ RR/# )r   zipFileharFiler   Nr3   )r   r   s   "r   r   r   =   s"     ; ;s ;S ;T ;r   c                   "   \        \        4       4      pV P                  P                  R RV4      G Rj  xL
  R#  L5i)harUnzipNr6   )r$   rS   rT   r)   s   &&& r   	har_unzipLocalUtils.har_unzip=   rQ   r:   c                B   < V ^8  d   QhRS[ S[,          RS[RS[RS[/# )r   	tracesDir	traceNameliver   )r   r   rB   )r   r   s   "r   r   r   A   s7     H H!#H36H>BH	Hr   c                ~   "   \        \        4       4      pV P                  P                  R RV4      G Rj  xL
 #  L5i)tracingStartedNr6   )r$   rZ   r[   r\   r)   s   &&&& r   tracing_startedLocalUtils.tracing_startedA   s3      "&(+]]''(8$GGGGs   4=;=c                $   < V ^8  d   QhRS[ RR/# )r   	stacks_idr   Nr3   )r   r   s   "r   r   r   G   s     Y Ys Yt Yr   c                \   "   V P                   P                  R RRV/4      G Rj  xL
 #  L5i)traceDiscardedNstacksIdr-   )r$   rb   s   &&r   trace_discardedLocalUtils.trace_discardedG   s*     ]]''(8$Y@WXXXXs   #,*,c                :   < V ^8  d   QhRS[ RS[S[,          RR/# )r   idframesr   N)intr   r	   )r   r   s   "r   r   r   J   s(     

 

 

T*=M 

RV 

r   c           	     L    V P                   P                  R RRRVRV//4       R# )addStackToTracingNoReplyNcallDatastackri   )r.   send_no_reply)r$   ri   rj   s   &&&r   add_stack_to_tracing_no_reply(LocalUtils.add_stack_to_tracing_no_replyJ   s1    ##&V"		
r   )r#   )N)F)__name__
__module____qualname____firstlineno__r!   r,   r8   rJ   rO   rW   r_   rf   rq   __static_attributes____classdictcell____classcell__)r&   r   s   @@r   r   r      sh     
 
6 6: :
 
"; ;; ;H HY Y

 

 

r   r   c                0    V ^8  d   QhR\         R\         /# )r   dictr   r*   )r   s   "r   r   r   W   s      $ 4 r   c                 r    R V R,          RV R,          RV R,          RV R,          RV R,          R	V R
,          /# )
user_agent	userAgentviewportdevice_scale_factordeviceScaleFactor	is_mobileisMobile	has_touchhasTouchdefault_browser_typedefaultBrowserType )r{   s   &r   r"   r"   W   sJ    d;'D$t$78T*%T*%%9 : r   )rF   typingr   r   r   r    playwright._impl._api_structuresr   playwright._impl._connectionr   r	   playwright._impl._helperr
   r   r   r"   r   r   r   <module>r      s+     - - 9 A F=
 =
@r   