+
    f0iV                     t    ^ RI t ^ RIt^ RIt^ RIHtHt ^ RIHtHtH	t	 ]R,          t
R	R R lltR
R R lltR# )    N)BufferedReaderBytesIO)LiteralOptionalUnionc          
          V ^8  d   QhR\         \        \        P                  \        \
        3,          R\        \        ,          R\        \         \        \        P                  3,          ,          R\        R\
        /# )   
path_or_fppasswordgs_pathsettingreturnr   strpathlibPathr   r   r   T_repair_setting)formats   "W/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/pdfplumber/repair.py__annotate__r   
   sc     2 2c7<<@A2sm2 eC-./2 	2
 2    c                 N   T;'       gS    \         P                  ! R 4      ;'       g5    \         P                  ! R4      ;'       g    \         P                  ! R4      pVf   \        R4      hVRRRRR	V 2.pV'       d   VR
V 2.,          p\        V \        \
        P                  34      '       d9   RpV\	        \
        P                  ! V 4      P                  4       4      .,          pMT pVR.,          p\        P                  ! TV'       d   \        P                  MR\        P                  \        P                  R7      pTP                  V'       d   VP                  4       MR4      w  rVP                  '       d   \        V	P                  R4       4      h\        V4      # )gsgswin32cgswin64cNzyCannot find Ghostscript, which is required for repairs.
Visit https://www.ghostscript.com/ for installation instructions.z-sstdout=%stderrz-o-z-sDEVICE=pdfwritez-dPDFSETTINGS=/z-sPDFPassword=)stdinstdoutstderrzutf-8)shutilwhich	Exception
isinstancer   r   r   absolute
subprocessPopenPIPEcommunicateread
returncodedecoder   )
r
   r   r   r   
executablerepair_argsr   procr   r   s
   &&&&      r   _repairr/   
   sj    	 	$ 	$<<	$ 	$<<
#	$ 	$ <<
#	  P
 	
 	
'#K .
344*sGLL122GLL4==?@AAu!&jooD	D %%eejjlFNF6==12446?r   c                n   V ^8  d   QhR\         \        \        P                  \        \
        3,          R\        \         \        \        P                  3,          ,          R\        \        ,          R\        \         \        \        P                  3,          ,          R\        R\        \
        ,          /# )r	   r
   outfiler   r   r   r   r   )r   s   "r   r   r   ?   s      c7<<@AeC-./ sm eC-./	
  gr   c                     \        WW4R 7      pV'       d?   \        VR4      ;_uu_ 4       pVP                  VP                  4       4       RRR4       R# V#   + '       g   i     R# ; i))r   r   wbN)r/   openwriter)   )r
   r1   r   r   r   repairedfs   &&&&&  r   repairr8   ?   sM     zWNH'4  AGGHMMO$ !	 ! s    AA'	)defaultprepressprinterebookscreen)NNr9   )NNNr9   )r   r    r%   ior   r   typingr   r   r   r   r/   r8    r   r   <module>rA      s3       & + +NO 2j r   