
    Y j                     v    S SK JrJr  S SKJr  S SKJr  S SKJr   " S S\S9r	 " S S	\	5      r
 " S
 S\	5      rg)    )ABCMetaabstractmethod)suppress)Path)keys_to_typingc                   F    \ rS rSrSr\S\\-  \-  S\S-  4S j5       r	Sr
g)FileDetector   zAIdentify whether a sequence of characters represents a file path.keysreturnNc                     [         eN)NotImplementedErrorselfr   s     x/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/selenium/webdriver/remote/file_detector.pyis_local_fileFileDetector.is_local_file   s    !!     )__name__
__module____qualname____firstlineno____doc__r   strintfloatr   __static_attributes__r   r   r   r	   r	      s2    K"39u#4 "t " "r   r	   )	metaclassc                   <    \ rS rSrSrS\\-  \-  S\S-  4S jrSr	g)UselessFileDetector!   z*A file detector that never finds anything.r   r   Nc                     g r   r   r   s     r   r   !UselessFileDetector.is_local_file$   s    r   r   
r   r   r   r   r   r   r   r   r   r   r   r   r   r"   r"   !   s%    439u#4 t r   r"   c                   <    \ rS rSrSrS\\-  \-  S\S-  4S jrSr	g)LocalFileDetector(   z Detects files on the local disk.r   r   Nc                     SR                  [        U5      5      n[        [        5         [	        U5      R                  5       (       a  UsS S S 5        $  S S S 5        g ! , (       d  f       g = f)N )joinr   r   OSErrorr   is_file)r   r   	file_paths      r   r   LocalFileDetector.is_local_file+   sV    GGN401	gI&&((  (    s    A
A,r   r&   r   r   r   r(   r(   (   s%    *39u#4 t r   r(   N)abcr   r   
contextlibr   pathlibr   selenium.webdriver.common.utilsr   r	   r"   r(   r   r   r   <module>r5      s7   $ (   :"W ", 	 	r   