
    }i                        g d Z g dZg dZddgZddgZej                  dddddddddd	      Zej                  d	di      Zej                  d	di      Z	ej                  d	di      Z
ej                  dddddddddd	      Zd
efdZy))WindowsNTFSFAT32exFATReFS)Linuxext2ext3ext4BtrfsXFSZFS)macOSAPFSzHFS+BSDUFSCIFSSMB )	\/?:*"<>|r   returnc                     | t         v rt        S | t        v rt        S | t        v rt
        S | t        v rt        S | t        v rt        S y)a  
    Returns a translation table to remove invalid characters for a specified file system type.

    This function identifies the file system type and returns a translation table for removing 
    characters that are not allowed in filenames for that specific file system.

    Args:
        file_type (str): The type of file system being checked. Supported file systems include:
                         - Windows: NTFS, FAT32, exFAT, ReFS
                         - Linux: ext2, ext3, ext4, Btrfs, XFS, ZFS
                         - macOS: APFS, HFS+
                         - BSD/UNIX: UFS
                         - Network Filesystems: CIFS, SMB

    Returns:
        dict: A translation table where invalid characters are mapped to an empty string.

    Example:
        >>> ys = yt.streams.get_highest_resolution()
        >>> ys.download(file_system='ext4')

    Raises:
        None, but prints a message if the file system type is not recognized.
    N)
windowswindows_translationlinuxlinux_translationr   macos_translationbsd_unixbsd_translationnetwork_filesystemsnetwork_filesystems_translation)	file_types    @/usr/local/lib/python3.12/dist-packages/pytubefix/file_system.pyfile_system_verifyr+   -   sP    4 G""	e	  	e	  	h		)	).. 
*    N)r    r"   r   r%   r'   str	maketransr!   r#   r$   r&   r(   dictr+    r,   r*   <module>r1      s   
7@!5>uo  mm
%
 
  MM#
   MM#
   --!
  #&--
1
 
# #/T #/r,   