+
    	iG                     6   ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIHtHtHtHtH	t	H
t
 ^ RIHu Ht ^ RIHtHtHtHtHtHtHtHt ^ RIHtHt ^ RIHt ^ RIHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't' ^ RIH(t(H)t) ^ R	I*H+t+ ]PX                  '       d   ^ R
I-H.t. ]]/]	]0]1]/3,          3,          t2]	]]3]/3,          t4]]/]	]3]0]1]/]3,          3,          t5]	]]/]	]0]1]/3,          3,          ]/3,          t6 ! R R4      t7 ! R R]4      t8R R lt9 ! R R4      t:RR R llt;R R lt<R# )    N)Path)AnyDictListOptionalUnioncast)ClientCertificateFilePayload	FormFieldHeadersHttpCredentialsProxySettingsServerFilePayloadStorageState)ChannelOwnerfrom_channel)is_target_closed_error)
Error	NameValueTargetClosedErrorTimeoutSettingsasync_readfileasync_writefileis_file_payloadlocals_to_paramsobject_to_arrayto_impl)serialize_headersto_client_certificates_protocol)Tracing)
Playwrightc                   H   a  ] tR t^<t o V 3R lR ltRV 3R lR lltRtV tR# )
APIRequestc                "   < V ^8  d   QhRRRR/# )   
playwrightr"   returnN )format__classdict__s   "J/Users/agent/.venv/lib/python3.14/site-packages/playwright/_impl/_fetch.py__annotate__APIRequest.__annotate__=   s     J J< JD J    c                j    Wn         VP                  V n        VP                  P                  V n        R # N)r'   _loop_connection_dispatcher_fiber)selfr'   s   &&r,   __init__APIRequest.__init__=   s(    $%%
!+!7!7!I!Ir/   Nc                   < V ^8  d   QhRS[ RS[S[ S[ 3,          RS[RS[RS[RS[ RS[RS[S[S[ S[3,          R	S[	S[
,          R
S[RS[RR/# )r&   baseURLextraHTTPHeadershttpCredentialsignoreHTTPSErrorsproxy	userAgenttimeoutstorageStateclientCertificatesfailOnStatusCodemaxRedirectsr(   APIRequestContext)strr   r   boolr   floatr   r   r   r   r
   int)r*   r+   s   "r,   r-   r.   B   s     ! !! sCx.! )	!
  ! ! ! ! L#t34! !!23! ! ! 
!r/   c           
     P  "   \        \        4       4      pR V9   d`   VR ,          p\        V\        4      '       gA   V'       d9   \        P
                  ! \        V4      G Rj  xL
 P                  4       4      VR &   RV9   d   \        VR,          4      VR&   \        VP                  R4      4      G Rj  xL
 VR&   \        \        \        V P                  P                  P!                  RRV4      G Rj  xL
 4      4      pVP"                  P%                  V4       V#  L Ll L-5i)r@   Nr:   rA   
newRequest)r   locals
isinstancedictjsonloadsr   decoder   r    getr	   rD   r   r'   _channelsend_timeout_settingsset_default_timeout)r5   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   paramsstorage_statecontexts   &&&&&&&&&&&&   r,   new_contextAPIRequest.new_contextB   s      "&(+V#">2MmT22})-)-88@@B*~& '):6BT;U)VF%&-LJJ+,.
 (
#$ oo..33L$OO
 	!!55g> 9(
 Ps>   AD&D&"D #AD&5D"6A D&6D$7*D&"D&$D&)r4   r2   r'   NNNNNNNNNNN)__name__
__module____qualname____firstlineno__r6   rY   __static_attributes____classdictcell__r+   s   @r,   r$   r$   <   s      J J
! ! !r/   r$   c                     a a ] tR t^ft oV3R lV 3R lltRV3R lR lltRV3R lR lltRV3R lR lltRV3R	 lR
 lltRV3R lR llt	RV3R lR llt
RV3R lR lltRV3R lR lltRV3R lR lltRV3R lR lltRtVtV ;t# )rD   c          
      6   < V ^8  d   QhRS[ RS[RS[RS[RR/# )r&   parenttypeguidinitializerr(   N)r   rE   r   )r*   r+   s   "r,   r-   APIRequestContext.__annotate__g   s5     7 7"7*-7587GK7	7r/   c                   < \         SV `  WW44       \        VR ,          4      V n        RV n        \        R4      V n        R# )tracingN)superr6   r   _tracing_close_reasonr   rT   )r5   re   rf   rg   rh   	__class__s   &&&&&r,   r6   APIRequestContext.__init__g   s:     	t9!-k).D!E,0!0!6r/   c                $   < V ^8  d   QhRS[ RR/# )r&   reasonr(   NrE   )r*   r+   s   "r,   r-   ri   o   s     - -C -4 -r/   c                   "   Wn          V P                  P                  R RRV/4      G Rj  xL
  T P
                  P                  4        R#  L   \         d   p\	        T4      '       d    Rp?R# ThRp?ii ; i5i)disposeNrr   )rn   rR   rS   r   r   rm   _reset_stack_counter)r5   rr   es   && r,   ru   APIRequestContext.disposeo   sk     #	--$$Yx6HIII
 	**, J 	%a((G	sC   A;"A AA A;A A8A3+A;1A33A88A;c                `   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[RS[RS[R	S[R
S[RS[RR/# r&   urlrV   headersdataform	multipartr?   rB   r<   rC   
maxRetriesr(   APIResponse	rE   
ParamsTyper   DataTypeFormTypeMultipartTyperG   rF   rH   )r*   r+   s   "r,   r-   ri   y        
 

 
 	

 
 
 !
 
 
  
 
 
 

r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)DELETEmethodrV   r|   r}   r~   r   r?   rB   r<   rC   r   Nfetchr5   r{   rV   r|   r}   r~   r   r?   rB   r<   rC   r   s   &&&&&&&&&&&&r,   deleteAPIRequestContext.deletey   sK      ZZ-/%!   
 
 	
 
   !*(*c                `   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[RS[RS[R	S[R
S[RS[RR/# rz   r   )r*   r+   s   "r,   r-   ri      r   r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)HEADr   Nr   r   s   &&&&&&&&&&&&r,   headAPIRequestContext.head   K      ZZ-/%!   
 
 	
 
r   c                `   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[RS[RS[R	S[R
S[RS[RR/# rz   r   )r*   r+   s   "r,   r-   ri      r   r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)GETr   Nr   r   s   &&&&&&&&&&&&r,   rQ   APIRequestContext.get   K      ZZ-/%!   
 
 	
 
r   c                   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[S[ S[S[S[S[	S[ S[
3,          3,          RS[	RS[R	S[R
S[RS[RR/# rz   rE   r   r   r   r   r   r   bytesrF   rG   r   rH   )r*   r+   s   "r,   r-   ri           
 

 
 	

 
 
 U5$sK#GHHI
 
 
  
 
 
 

r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)PATCHr   Nr   r   s   &&&&&&&&&&&&r,   patchAPIRequestContext.patch   sK      ZZ-/%!   
 
 	
 
r   c                   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[S[ S[S[S[S[	S[ S[
3,          3,          RS[	RS[R	S[R
S[RS[RR/# rz   r   )r*   r+   s   "r,   r-   ri      r   r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)PUTr   Nr   r   s   &&&&&&&&&&&&r,   putAPIRequestContext.put   r   r   c                   < V ^8  d   QhRS[ RS[RS[RS[RS[RS[S[ S[S[S[S[	S[ S[
3,          3,          RS[	RS[R	S[R
S[RS[RR/# rz   r   )r*   r+   s   "r,   r-   ri   
  r   r/   c                X   "   V P                  VR VVVVVVVV	V
VR7      G Rj  xL
 #  L5i)POSTr   Nr   r   s   &&&&&&&&&&&&r,   postAPIRequestContext.post
  r   r   c                   < V ^8  d   QhRS[ S[S[P                  3,          RS[RS[RS[RS[RS[RS[S[S[ S[	S[
S[S[S[3,          3,          RS[R	S[
R
S[
RS[RS[RR/# )r&   urlOrRequestrV   r   r|   r}   r~   r   r?   rB   r<   rC   r   r(   r   )r   rE   networkRequestr   r   r   r   r   r   rF   rG   r   rH   )r*   r+   s   "r,   r-   ri   '  s     &
 &
C01&
 &
 	&

 &
 &
 &
 U5$sK#GHHI&
 &
 &
  &
 &
 &
 
&
r/   c                r  "   \        V\        4      '       d   TMR p\        \        V4      \        P                  4      '       d$   \        \        P                  \        V4      4      MR pV'       g   \        V\        4      '       g   Q R4       hV P                  VVVVVVVVVV	V
VV4      G R j  xL
 #  L5i)Nz3First argument must be either URL string or Request)rL   rE   r   r   r   r	   _inner_fetch)r5   r   rV   r   r|   r}   r~   r   r?   rB   r<   rC   r   r{   requests   &&&&&&&&&&&&&  r,   r   APIRequestContext.fetch'  s      )s;;l ',/AA ',"78 	
 *#
 
 	A@	A 
 &&
 
 	
 
s   A0B73=B70B51B7c                   < V ^8  d   QhRS[ S[P                  ,          RS[ S[,          RS[RS[RS[RS[RS[RS[S[S[	S[
S[S[S[S[3,          3,          R	S[R
S[RS[RS[RS[RR/# )r&   r   r{   r   r|   r}   rV   r~   r   r?   rB   r<   rC   r   r(   r   )r   r   r   rE   r   r   r   r   r   r   r   rF   rG   r   rH   )r*   r+   s   "r,   r-   ri   O  s     _+ _+'//*_+ c]_+ 	_+
 _+ _+ _+ _+ U5$sK#GHHI_+ _+ _+  _+ _+ _+ 
_+r/   c                 R  "   V P                   '       d   \        V P                   4      hV'       d   ^M^ V'       d   ^M^ ,           V'       d   ^M^ ,           ^8:  g   Q R4       hVe   V^ 8  g   Q R4       hVe   V^ 8  g   Q R4       hT;'       g    V'       d   VP                  MTpT;'       g    V'       d   VP                  MRpT;'       g    V'       d   VP                  MRpV'       d   \        V4      MRpRpRpRpRpVe   \        V\        4      '       dO   \        V4      '       d,   \        V4      '       d   TM\        P                  ! V4      pEM\VP                  4       pEMJ\        V\        4      '       d   TpEM0\        V\        \        \         \"        34      '       d   \        P                  ! V4      pM\%        R\'        V4       24      hV'       d   \)        V4      pMV'       d   . pVP+                  4        F  w  pp\-        V4      '       d`   \/        \0        V4      p\        VR,          \        4      '       g   Q RV R	24       hVP3                  \5        V\7        V4      R
7      4       Kv  \        V\        4      '       g   K  VP3                  \5        VVR7      4       K  	  Vf#   Vf   Vf   Vf   V'       d   VP8                  MRpV'       d%   \:        P<                  ! V4      P?                  4       MRpV P@                  PC                  RV PD                  PF                  RTRT	R\        V\        4      '       d   \)        V4      MRR\        V\        4      '       d   TMRRVRVRVRVRVRVRV
RVRVRV/4      G Rj  xL
 p\I        V V4      #  L5i)   z:Only one of 'data', 'form' or 'multipart' can be specifiedNz4'max_redirects' must be greater than or equal to '0'z2'max_retries' must be greater than or equal to '0'r   zUnsupported 'data' type: bufferz Unexpected buffer type of 'data.')namefile)r   valuer   r{   r?   rV   encodedParamsr   r|   postDatajsonDataformDatamultipartDatarB   r<   rC   r   )%rn   r   r{   r   r|   r   rL   rE   is_json_content_typeis_json_parsablerN   dumpsencoder   rM   listrH   rF   r   rf   r   itemsr   r	   r   appendr   file_payload_to_jsonpost_data_bufferbase64	b64encoderP   rR   rS   rT   r?   r   )r5   r   r{   r   r|   r}   rV   r~   r   r?   rB   r<   rC   r   headers_objserialized_headers	json_data	form_datamultipart_datar   r   r   payload	post_dataresponses   &&&&&&&&&&&&&&           r,   r   APIRequestContext._inner_fetchO  sH      #D$6$677QAt!3Iq1M 	ML	M   LA$5	BA	B5 */	@?	@166Wgkk#AAgGNN5GGW'//$?J.{;PT	/3	48,0$$$'(:;;(8(>(>DJJtDTI'+{{}$D%((#' D4sD"9:: JJt,	7T
|DEE'-IN(0e"5))";6G%)5  B9$qAB  #))!t2Fw2OP  s++")))U*KL  1 $!!&;Bw77;KF-.557QU 	 ++""**s7Z5M5M/&1SW:fc+B+B&-III"$4#%6j
 
( 4**)
sm   /N'
N'N'AN'N'N'1N':N'N'N'0C2N'#N'7BN'7N'N'%B/N'N%N'c                V   < V ^8  d   QhRS[ S[P                  S[3,          RS[RS[/# )r&   path	indexedDBr(   )r   pathlibr   rE   rF   r   )r*   r+   s   "r,   r-   ri     s7     
 
GLL#%&
 
 
	
r/   c                   "   V P                   P                  R RRV/4      G Rj  xL
 pV'       d)   \        V\        P                  ! V4      4      G Rj  xL
  V#  L6 L5i)r@   Nr   )rR   send_return_as_dictr   rN   r   )r5   r   r   results   &&& r,   rW   APIRequestContext.storage_state  sY     
 }}88D;	":
 
 !$

6(:;;;
 <s&   #A AA #A AA A )rn   rT   rm   r1   )
NNNNNNNNNNr[   )NN)r\   r]   r^   r_   r6   ru   r   r   rQ   r   r   r   r   r   rW   r`   ra   __classcell__)ro   r+   s   @@r,   rD   rD   f   s|     7 7- -
 
:
 
:
 
:
 
:
 
:
 
:&
 &
P_+ _+B
 
 
r/   rD   c                0    V ^8  d   QhR\         R\        /# )r&   r   r(   )r   r   )r*   s   "r,   r-   r-     s      + 2C r/   c                     \        V R ,          V R,          \        P                  ! V R,          4      P                  4       R7      # )r   mimeTyper   )r   r   r   )r   r   r   rP   )r   s   &r,   r   r     s:    V_$ 1299; r/   c                   b  a  ] tR tRt o V 3R lR ltV 3R lR lt]V 3R lR l4       t]V 3R lR	 l4       t]V 3R
 lR l4       t	]V 3R lR l4       t
]V 3R lR l4       t]V 3R lR l4       t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]V 3R lR l4       tV 3R lR ltRtV tR# ) r   i  c                *   < V ^8  d   QhRS[ RS[RR/# )r&   rX   rh   r(   N)rD   r   )r*   r+   s   "r,   r-   APIResponse.__annotate__  s(     C C 1 C C Cr/   c                    VP                   V n         VP                  P                  V n        Wn        W n        \
        P                  ! VR ,          4      V n        R# )r|   N)r2   r3   r4   _request_initializerr   
RawHeaders_headers)r5   rX   rh   s   &&&r,   r6   APIResponse.__init__  sC    ]]
!(!4!4!F!F'**;y+ABr/   c                    < V ^8  d   QhRS[ /# r&   r(   rs   )r*   r+   s   "r,   r-   r     s     i i# ir/   c                \    R V P                   : RV P                  : RV P                  : R2# )z<APIResponse url=z status=z status_text=>)r{   statusstatus_textr5   s   &r,   __repr__APIResponse.__repr__  s.    "488,ht{{o]SWScScRffghhr/   c                    < V ^8  d   QhRS[ /# r   )rF   )r*   r+   s   "r,   r-   r     s     9 9D 9r/   c                N    V P                   ^8  ;'       d    V P                   R8*  # )   i+  r   r   s   &r,   okAPIResponse.ok  s"    {{c!88dkkS&88r/   c                    < V ^8  d   QhRS[ /# r   rs   )r*   r+   s   "r,   r-   r     s     ( (S (r/   c                (    V P                   R ,          # )r{   r   r   s   &r,   r{   APIResponse.url  s      ''r/   c                    < V ^8  d   QhRS[ /# r   )rH   )r*   r+   s   "r,   r-   r     s     + + +r/   c                (    V P                   R ,          # r   r   r   s   &r,   r   APIResponse.status  s      **r/   c                    < V ^8  d   QhRS[ /# r   rs   )r*   r+   s   "r,   r-   r     s     / /S /r/   c                (    V P                   R ,          # )
statusTextr   r   s   &r,   r   APIResponse.status_text  s      ..r/   c                    < V ^8  d   QhRS[ /# r   )r   )r*   r+   s   "r,   r-   r     s     ' ' 'r/   c                6    V P                   P                  4       # r1   )r   r|   r   s   &r,   r|   APIResponse.headers  s    }}$$&&r/   c                4   < V ^8  d   QhRS[ P                  /# r   )r   HeadersArray)r*   r+   s   "r,   r-   r     s     - -w33 -r/   c                6    V P                   P                  4       # r1   )r   headers_arrayr   s   &r,   r  APIResponse.headers_array  s    }}**,,r/   c                    < V ^8  d   QhRS[ /# r   )r   )r*   r+   s   "r,   r-   r     s      E r/   c                0  a "    S P                   P                  P                  V 3R  lR4      G Rj  xL
 pVf   \        R4      h\        P
                  ! VR,          4      #  L0  \         d$   p\        T4      '       d   \        R4      hThRp?ii ; i5i)c                  j   < S P                   P                  P                  R RRS P                  /4      # )fetchResponseBodyNfetchUid)r   rR   r   
_fetch_uidr   s   r,   <lambda>"APIResponse.body.<locals>.<lambda>  s.    ..BB'"DOOr/   TNzResponse has been disposedbinary)r   r3   wrap_api_callr   r   	b64decoder   )r5   r   excs   f  r,   bodyAPIResponse.body  s     	==44BB 	 	F ~899##F8$455	  	%c**899I	s8   B-A% A#/A% "B#A% %B0BBBc                    < V ^8  d   QhRS[ /# r   rs   )r*   r+   s   "r,   r-   r     s        C  r/   c                ^   "   V P                  4       G R j  xL
 pVP                  4       #  L5ir1   )r  rP   r5   contents   & r,   textAPIResponse.text  s%     		#~~ $s   -+-c                    < V ^8  d   QhRS[ /# r   )r   )r*   r+   s   "r,   r-   r      s     # #C #r/   c                j   "   V P                  4       G R j  xL
 p\        P                  ! V4      #  L5ir1   )r!  rN   rO   r  s   & r,   rN   APIResponse.json   s'     		#zz'"" $s   313c                   < V ^8  d   QhRR/# )r&   r(   Nr)   )r*   r+   s   "r,   r-   r     s     
 
t 
r/   c                   "   V P                   P                  P                  R RRV P                  /4      G Rj  xL
  R#  L5i)disposeAPIResponseNr  r   rR   rS   r  r   s   &r,   ru   APIResponse.dispose  s;     mm$$)) DOO
 	
 	
s   7AA Ac                    < V ^8  d   QhRS[ /# r   rs   )r*   r+   s   "r,   r-   r     s     - -C -r/   c                (    V P                   R ,          # )r  r   r   s   &r,   r  APIResponse._fetch_uid  s      ,,r/   c                0   < V ^8  d   QhRS[ S[,          /# r   )r   rE   )r*   r+   s   "r,   r-   r     s     
 
$s) 
r/   c                   "   V P                   P                  P                  R RRV P                  /4      G Rj  xL
 #  L5i)fetchLogNr  r)  r   s   &r,   
_fetch_logAPIResponse._fetch_log  s@     ]]++00DOO
 
 	
 
s   7A >A )r4   r   r   r2   r   N)r\   r]   r^   r_   r6   r   propertyr   r{   r   r   r|   r  r  r!  rN   ru   r  r1  r`   ra   rb   s   @r,   r   r     s     C Ci i 9 9 ( ( + + / / ' ' - - (   # #
 
 - -
 
r/   r   c                D    V ^8  d   QhR\         P                  R\        /# )r&   r|   r(   )r   r  rF   )r*   s   "r,   r-   r-     s       '"6"6 $ r/   c                 |    V '       g   R # V  F+  pVR,          R8X  g   K  VR,          P                  R4      u # 	  R # )Fr   zContent-Typer   zapplication/json)
startswith)r|   headers   & r,   r   r     s9    &>^+'?--.@AA  r/   c                0    V ^8  d   QhR\         R\        /# )r&   r   r(   )r   rF   )r*   s   "r,   r-   r-   $  s      C D r/   c                     \        V \        4      '       g   R #  \        P                  ! V 4       R#   \        P                   d     R # i ; i)FT)rL   rE   rN   rO   JSONDecodeError)r   s   &r,   r   r   $  s>    eS!!

5 s   2 A
Ar1   )=r   rN   r   typingr   r   r   r   r   r   r	   playwright._impl._network_impl_networkr    playwright._impl._api_structuresr
   r   r   r   r   r   r   r   playwright._impl._connectionr   r   playwright._impl._errorsr   playwright._impl._helperr   r   r   r   r   r   r   r   r   r   r   r    playwright._impl._tracingr!   TYPE_CHECKINGplaywright._impl._playwrightr"   rE   rF   rG   r   r   r   r   r   r$   rD   r   r   r   r   r)   r/   r,   <module>rF     s        9 9 + +	 	 	 D ;   Y -	7 U4+,,-eS!S%tUC DEEF4U4#3445s:;
' 'TT Tn
S
 S
lr/   