ó
    oñ:iF  ã                   óH   • S r SSKrSSKr\R                  " S5      r SS jrg)zHCollection of utilities for command-line interfaces and console scripts.é    Nz#\d+$c                 óx  • [         R                  R                  U 5      u  pV[         R                  R                  U5      u  pgU(       a  Un[        R                  U5      S   nUc"  [         R                  R                  U 5      S   n[         R                  R                  XVU-   U-   5      nSn	U(       dƒ  [         R                  R                  U5      (       a_  [         R                  R                  XVU-   S-   [        U	5      -   U-   5      nU	S-  n	[         R                  R                  U5      (       a  M_  U$ )aÕ  Generates a suitable file name for writing output.

Often tools will want to take a file, do some kind of transformation to it,
and write it out again. This function determines an appropriate name for the
output file, through one or more of the following steps:

- changing the output directory
- appending suffix before file extension
- replacing the file extension
- suffixing the filename with a number (``#1``, ``#2``, etc.) to avoid
  overwriting an existing file.

Args:
    input: Name of input file.
    outputDir: Optionally, a new directory to write the file into.
    suffix: Optionally, a string suffix is appended to file name before
        the extension.
    extension: Optionally, a replacement for the current file extension.
    overWrite: Overwriting an existing file is permitted if true; if false
        and the proposed filename exists, a new name will be generated by
        adding an appropriate number suffix.

Returns:
    str: Suitable output filename
r   é   Ú#)ÚosÚpathÚsplitÚsplitextÚnumberAddedREÚjoinÚexistsÚrepr)
ÚinputÚ	outputDirÚ	extensionÚ	overWriteÚsuffixÚdirNameÚfileNameÚextÚoutputÚns
             ÚZ/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/fontTools/misc/cliTools.pyÚmakeOutputFileNamer   
   sö   € ô8 Ÿ™Ÿ™ eÓ,Ñ€GÜ—G‘G×$Ñ$ XÓ.�M€HÞØˆÜ×"Ñ" 8Ó,¨QÑ/€HØÑÜ—G‘G×$Ñ$ UÓ+¨AÑ.ˆ	Ü�W‰W�\‰\˜'¨fÑ#4°yÑ#@ÓA€FØ	€AÞÜ�g‰g�n‰n˜V×$Ñ$Ü—W‘W—\‘\Ø FÑ*¨SÑ0´4¸³7Ñ:¸YÑFóˆFð �‰FˆAô	 �g‰g�n‰n˜V×$Ó$ð
 €Mó    )NNFÚ )Ú__doc__r   ÚreÚcompiler
   r   © r   r   Ú<module>r       s*   ðÙ Nã 	Û 	ð —
’
˜8Ó$€ð DFõ+r   