+
     h
  c                  sv    R t ^ RIHt ^ RIt^ RIt^ RIHt ^RIH	t	 ]'       d   ^ RI
Ht  ! R R]	4      tR.tR# )zmacOS.)annotationsN)TYPE_CHECKING)PlatformDirsABC)Pathc                  s   ] tR t^tRt]R R l4       t]R R l4       t]R R l4       t]R R	 l4       t	]R
 R l4       t
]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R  R! l4       t]R" R# l4       t]R$ R% l4       tR&tR'# )(MacOSa  
Platform directories for the macOS operating system.

Follows the guidance from
`Apple documentation <https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html>`_.
Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`,
`version <platformdirs.api.PlatformDirsABC.version>`,
`ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.

c                   V ^8  d   QhRR/#    returnZstr Zformat   "C/usr/lib/python3.14/site-packages/pip/_vendor/platformdirs/macos.py__annotate__MacOS.__annotate__   s     f fs f    c                ^    V P                  \        P                  P                  R4      4      # )zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support_append_app_name_and_versionospath
expanduserself   &r   user_data_dirZMacOS.user_data_dir   s%     001C1CDc1deer   c               r   r   r	   r
   r   r   r   r   !   s      s r   c                ,   \         P                  P                  R4      pV'       d   V P                  R4      .M. pVP	                  V P                  R4      4       V P
                  '       d    \        P                  P                  V4      # V^ ,          # )a
  
:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
  If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
  will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
  If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
  the response is a multi-path string separated by ":", e.g.
  ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
/opt/homebrewz/opt/homebrew/sharez/Library/Application Support	sysZprefixZ
startswithr   ZappendZ	multipathr   ZpathsepZjoinr   Zis_homebrewZ	path_list   &  r   site_data_dirZMacOS.site_data_dir    sq     jj++O<R]T667LMNce	::;YZ[>>>::??9--|r   c               r   r   r   r   r	   r
   r   r   r   r   2   s     I I Ir   c                8    V P                  V P                  4      # )zh:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``) _first_item_as_path_if_multipathr    r   r   r   site_data_pathZMacOS.site_data_path1   s     44T5G5GHHr   c               r   r   r	   r
   r   r   r   r   7        " " "r   c                    V P                   # )zC:return: config directory tied to the user, same as `user_data_dir`r   r   r   r   user_config_dirZMacOS.user_config_dir6        !!!r   c               r   r   r	   r
   r   r   r   r   <   r%   r   c                r&   )zF:return: config directory shared by the users, same as `site_data_dir`)r    r   r   r   site_config_dirZMacOS.site_config_dir;   r)   r   c               r   r   r	   r
   r   r   r   r   A   s     Y Y Yr   c                r   )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr   r   r   r   user_cache_dirZMacOS.user_cache_dir@   s%     001C1CDV1WXXr   c               r   r   r	   r
   r   r   r   r   F   s       r   c                r   )a  
:return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
  If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
  will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
  If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
  the response is a multi-path string separated by ":", e.g.
  ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
r   z/opt/homebrew/var/cachez/Library/Cachesr   r   r   r   site_cache_dirZMacOS.site_cache_dirE   sq     jj++O<VaT667PQRgi	::;LMN>>>::??9--|r   c               r   r!   r	   r
   r   r   r   r   W   s     J J Jr   c                r"   )zi:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``)r#   r,   r   r   r   site_cache_pathZMacOS.site_cache_pathV   s     44T5H5HIIr   c               r   r   r	   r
   r   r   r   r   \   s     " " "r   c                r&   )zB:return: state directory tied to the user, same as `user_data_dir`r'   r   r   r   user_state_dirZMacOS.user_state_dir[   r)   r   c               r   r   r	   r
   r   r   r   r   a   s     W Wc Wr   c                r   )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr   r   r   r   user_log_dirZMacOS.user_log_dir`   s%     001C1CDT1UVVr   c               r   r   r	   r
   r   r   r   r   f        1 1C 1r   c                @    \         P                  P                  R4      # )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documentsr   r   r   r   r   r   user_documents_dirZMacOS.user_documents_dire        ww!!-00r   c               r   r   r	   r
   r   r   r   r   k   r0   r   c                r1   )zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z~/Downloadsr2   r   r   r   user_downloads_dirZMacOS.user_downloads_dirj   r4   r   c               r   r   r	   r
   r   r   r   r   p   s     0 03 0r   c                r1   )zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z
~/Picturesr2   r   r   r   user_pictures_dirZMacOS.user_pictures_diro   s     ww!!,//r   c               r   r   r	   r
   r   r   r   r   u   s     . . .r   c                r1   )z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Moviesr2   r   r   r   user_videos_dirZMacOS.user_videos_dirt   s     ww!!*--r   c               r   r   r	   r
   r   r   r   r   z   s     - - -r   c                r1   )z;:return: music directory tied to the user, e.g. ``~/Music``z~/Musicr2   r   r   r   user_music_dirZMacOS.user_music_diry   s     ww!!),,r   c               r   r   r	   r
   r   r   r   r      s     / /# /r   c                r1   )z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z	~/Desktopr2   r   r   r   user_desktop_dirZMacOS.user_desktop_dir~   s     ww!!+..r   c               r   r   r	   r
   r   r   r   r      s     h h# hr   c                r   )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr   r   r   r   user_runtime_dirZMacOS.user_runtime_dir   s%     001C1CDe1fggr   c               r   r   r	   r
   r   r   r   r      s     % %# %r   c                r&   )zF:return: runtime directory shared by users, same as `user_runtime_dir`)r:   r   r   r   site_runtime_dirZMacOS.site_runtime_dir   s     $$$r   r	   N)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__Zpropertyr   r    r$   r(   r*   r+   r,   r-   r.   r/   r3   r5   r6   r7   r8   r9   r:   r;   Z__static_attributes__r	   r   r   r   r      s{   	 f f    I I " " " " Y Y    J J " " W W 1 1 1 1 0 0 . . - - / / h h % %r   r   )r<   Z
__future__r    Zos.pathr   r   Ztypingr   Zapir   Zpathlibr   r   Z__all__r	   r   r   <module>r=      s8     "  
    |%O |%@ r   