+
    	i$                     P   R t ^ RIt^ RIt^ RIt^ RIt^ RIt^RIHtHtH	t	H
t
 ^RIHt ^RIHt ^RIHt  ! R R]P"                  4      t ! R R	]P&                  4      t]! R
RR7      t]P-                  RRR7       ]P-                  RRR7       ]P-                  RR]^ RR7       ]P-                  RRR]
 2RR7       ]P/                  R4      t]P-                  RRRRR R!7       ]P-                  R"R#RR$R%R!7       ]P-                  R&RR'R(R!7       ]P-                  R)R*R7       ]P-                  R+]R,R-7       ]P-                  R.R/R7       ]P-                  R0R1R2R37       ]P-                  R4R1R5R37       ]P-                  R6R1R7R37       ]P-                  R8RR9R37       ]P-                  R:R1R;R37       ]P-                  R<R=R1R>R37       ]P-                  R?R1R@R37       ]P-                  RAR1RBR37       ]P-                  RCRD]RERF7       ]P-                  RGRH]RIRF7       ]P-                  RJR1RKR37       ]P-                  RLR1RMR37       ]P-                  RNRORPRQRR7       ]P/                  RS4      t]P-                  RTRURVR7       ]P-                  RWRXRYRZR[7       ]P-                  R\R]R^R7       ]P/                  R_4      t]P-                  R`Ra]RbRF7       ]P-                  RcRdReRR7       ]P-                  RfR1RgR37       ]P-                  RhR1RiR37       ]P/                  Rj4      t]P-                  RkRlR1RmR37       ]P-                  RnRoR1RpR37       ]P-                  RqRrR1RsR37       ]P4                  ! Rw/ ]B  RRR]3Rt lt];P                   Ru]P8                  ,           ,          un         ]Rv8X  d
   ]! 4        R# R# )xz%Command-line interface to WeasyPrint.N)DEFAULT_OPTIONSHTMLLOGGER__version__)VARIANTS)pango)
URLFetcherc                   &   a  ] tR t^t o R tRtV tR# )	PrintInfoc                    \         P                  ! 4       p\        R VP                  4       \        RVP                  4       \        RVP
                  4       \        RVP                  4       \        4        \        R\        4       \        R\        P
                  P                  4       ^ ,          4       \        R\        P                  4       \        R\        P                  ! 4       4       \        P                  ! 4        R# )	zSystem:zMachine:zVersion:zRelease:zWeasyPrint version:zPython version:zPydyf version:zPango version:N)platformunameprintsystemmachineversionreleaser   syssplitpydyfr   pango_versionexit)___r   s   *, Y/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/weasyprint/__main__.py__call__PrintInfo.__call__   s      i&j%--(j%--(j%--(#[1!2!2!4Q!78 1 12 3 3 56
     N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell__)__classdict__s   @r   r
   r
      s      r   r
   c                   b   a a ] tR t^!t oV 3R ltRR/V 3R lltV 3R lt]R 4       tRt	Vt
V ;t# )Parserc                :   < R / /V n         \        SV `  ! V/ VB  R # )N)_groupssuper__init__)selfargskwargs	__class__s   &*,r   r+   Parser.__init__"   s     bz$)&)r   _group_nameNc                  < Vf   \         SV `  ! V/ VB  VR,          P                  R4      pW#R&   VR,          ^ ,          R8g  VR&   W0P                  V,          V&   R # )N-flags
positional)r*   add_argumentlstripr)   )r,   r1   r-   r.   keyr/   s   &$*, r   r7   Parser.add_argument&   s\    G $1&12hooc"w#Bx{c1|)/[!#&r   c                   <a aa \         SS `  ! S.VO5/ VB o/ S P                  S&   VVV 3R  lpSP                  Sn        VSn        S# )c                  T   < SP                   ! V / VB  SP                  ! V R S/VB  R# )r1   N)_add_argumentr7   )r-   r.   groupnamer,   s   *,r   r7   /Parser.add_argument_group.<locals>.add_argument1   s.    00t@@@r   )r*   add_argument_groupr)   r7   r=   )r,   r?   r-   r.   r7   r>   r/   s   ff*, @r   rA   Parser.add_argument_group.   sM    *4A$A&AT	A $00)r   c                   V P                   R ,          P                  R4       . pV P                   P                  4        EF  w  r#V'       g   K  V'       dW   VP                  V^ ,          P	                  4        VR,           R24       VP                  R\        V4      ,           R24       VP                  4        EF  w  rEVP                  R4       VP                  RR4      pVR	,           FP  pVP                  V4       VR
,          '       g   VR9   d   VP                  RV R24       VP                  R4       KR  	  RVR&   VP                  RVR,          ^ ,          P                  4        VR,          R,           R24       RV9   d.   RP                  VR,          4      pVP                  RV R24       VR8X  g   EK
  VP                  R4       EK  	  EK  	  RP                  V4      # )Nhelp:   NN
~

z.. option:: actionstorer4   r5   appendz <>z, z  z.

choicesz  Possible choices: z-  This option can be passed multiple times.

 )rJ   rK   r6   )	r)   popitemsrK   titlelengetupperjoin)	r,   datar>   	argumentsr9   r-   rI   flagrM   s	   &        r   	docstringParser.docstring8   s   Tv& $ 2 2 4EuQx~~/0r2>?sSZ/056&__.	N+(G4 MMDKK%--&<O2ObQK0KK%	 *
 "Rbfa!6!6!8 9$v,r:J9K5QR$"iiY8GKK"6wiu EFX%KK QR / !5* wwt}r   )r)   )r   r    r!   r"   r+   r7   rA   propertyrY   r#   r$   __classcell__)r/   r%   s   @@r   r'   r'   !   s4     *0d 0   r   r'   
weasyprintzRender web pages to PDF.)progdescriptioninputz1URL or filename of the HTML input, or - for stdin)rD   outputz1filename where output is written, or - for stdoutz-iz--infoz!print system information and exit)rI   nargsrD   z	--versionr   zWeasyPrint version u,   print WeasyPrint’s version number and exit)rI   r   rD   zrendering optionsz-sz--stylesheetrK   stylesheetsz)URL or filename for a user CSS stylesheet)rI   destrD   z-az--attachmentattachmentsz7URL or filename of a file to attach to the PDF documentz--attachment-relationshipattachment_relationshipsz8Relationship of the attachment file to attach to the PDFz--pdf-identifierzPDF file identifierz--pdf-variantzPDF variant to generate)rM   rD   z--pdf-versionzPDF version numberz--pdf-forms
store_truezinclude PDF forms)rI   rD   z
--pdf-tagsztag PDF for accessibilityz--uncompressed-pdfz9do not compress PDF content, mainly for debugging purposez--xmp-metadataz:URL or filename of a file to include into the XMP metadataz--custom-metadataz-include custom HTML meta tags in PDF metadataz-pz--presentational-hintsz follow HTML presentational hintsz--srgbzinclude sRGB color profilez--optimize-imagesz5optimize size of embedded images with no quality lossz-jz--jpeg-qualityz+JPEG quality between 0 (worst) to 95 (best))typerD   z-Dz--dpiz4set maximum resolution of images embedded in the PDFz--full-fontsz)embed unmodified font files when possiblez	--hintingz*keep hinting information in embedded fontsz-cz--cache-foldercachezistore cache on disk instead of memory, folder is created if needed and cleaned after the PDF is generated)rd   rD   zHTML optionsz-ez
--encodingz"force the input character encodingz-mz--media-typez/media type to use for @media, defaults to printr   )rD   defaultz-uz
--base-urluz   base for relative URLs in the HTML input, defaults to the input’s own filename or URL or the current directory for stdinzURL fetcher optionsz-tz	--timeoutz(set timeout in seconds for HTTP requestsz--allowed-protocolsallowed_protocolszBonly authorize comma-separated list of protocols for fetching URLsz--no-http-redirectszdo not follow HTTP redirectsz--fail-on-http-errorsz*abort document rendering on any HTTP errorzcommand-line logging optionsz-vz	--verbosez&show warnings and information messagesz-dz--debugzshow debugging messagesz-qz--quietzhide logging messagesc                   \         P                  V 4      pVP                  R8X  dT   T;'       g    \        P                  P
                  pVP                  f	   RVn        M%VP                  R8X  d   RVn        MVP                  pVP                  R8X  d&   T;'       g    \        P                  P
                  pMVP                  p/ pVP                  e   VP                  VR&   VP                  eJ   VP                  P                  R4       Uu0 uF   qP                  4       P                  4       kK"  	  upVR&   VP                  '       d   RVR	&   VP                  '       d   R
VR&   \!        R/ VB p	\#        V4      P%                  4        U
Uu/ uF  w  rV
\&        9   g   K  WbK  	  pp
pVP(                  '       d&   \*        P,                  ! \.        P0                  4       M6VP2                  '       d%   \*        P,                  ! \.        P4                  4       VP6                  '       g   \.        P8                  ! 4       pVP(                  '       d'   VP;                  \.        P<                  ! R4      4       M%VP;                  \.        P<                  ! R4      4       \*        P>                  ! V4       V! WTP                  VP@                  VPB                  V	R7      pVPD                  ! V3/ VB  R# u upi u upp
i )zyThe ``weasyprint`` program takes at least two arguments:

.. code-block:: sh

    weasyprint [options] <input> <output>

r3   N.rN   timeout,rk   Fallow_redirectsTfail_on_errorszB%(levelname)s: %(filename)s:%(lineno)d (%(funcName)s): %(message)sz%(levelname)s: %(message)s)base_urlencoding
media_typeurl_fetcherr   )#PARSER
parse_argsr`   r   stdinbufferrr   ra   stdoutrn   rk   r   striplowerno_http_redirectsfail_on_http_errorsr   varsrP   r   debugr   setLevelloggingDEBUGverboseINFOquietStreamHandlersetFormatter	Formatter
addHandlerrs   rt   	write_pdf)argvrz   rx   r   r-   sourcera   fetcher_argsprotocolru   r9   valueoptionshandlerhtmls   &&&&           r   mainr      sP    T"DzzS**#))**== DM]]b  DM{{c,,3::,,L||"&,,Y)595K5K5Q5QRU5V-X5VNN""$5V-X()*/&')-%&,|,K &*$Z%5%5%7S%7zs3/;Q

%7  S zzz&	%:::''):::  !!234
   !2!23O!PQ'"??=D 	NN6%W%?-XSs   &K6K;'K;rH   __main__r   )__doc__argparser   r   r   r   rN   r   r   r   r   pdfr   text.ffir   urlsr   Actionr
   ArgumentParserr'   rv   r7   rA   r>   intset_defaultsr   rY   r   r   r   r   <module>r      s   +    
  8 8    "0X$$ 0f 
\/I	J   G"U  V   H#V  W   (9A4W  Y   	-@+N	7  9 	!!"56   .	4  6   .	B  D   7Q	C  E   %,A  B   ?H;T  U   ?)=  >   =<O  P   <;V  W   	D  F   X	E  G   	8  :   
"<	+  -   8L7S  T   	@  B   
	6  8   '	?  A   <	4  6   +W  Y   

?  @
 	!!.1   4,P  Q   .P     ,
G  H
 	!!"78   +C&P  R    3	M  O   ,5S  U   L	5  7 	!!"@A   +l	1  3   )L/H  J   4<>U  V    &o & 4t$ ;&| ))) ) zF r   