
    ytf
                     r    d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlZd dlZd dlmZmZ d dlmZ d Zy)	    )unicode_literalsN)	text_type)preprocess_paths)version)shellshellcon)create_sinkc                    t        |       } | sy | D cg c]   }t        |t              st        |d      n|" } }| D cg c].  }t        j                  |      st        j
                  |      n|0 } }| D cg c]  }|j                  d      r|dd  n| } }t        j                          t        j                  t        j                  d t        j                  t        j                        }t        j                  t        j                   z  t        j"                  z  t        j$                  z  }t'        t)               j+                  dd      d         dk\  r|dz  }n|t        j,                  z  }|j/                  |       t1               }	 | D ]9  }t        j2                  |d t        j4                        }|j7                  ||       ; |j9                         }|j;                         }|s|rt=        d d | |      	 t        jF                          y c c}w c c}w c c}w # t>        j@                  $ r'}t=        d |jB                  |jD                        d }~ww xY w# t        jF                          w xY w)	Nmbcsz\\?\   .   r      i   )$r   
isinstancer   opisabsabspath
startswith	pythoncomCoInitializeCoCreateInstancer   CLSID_FileOperation
CLSCTX_ALLIID_IFileOperationr   FOF_NOCONFIRMATIONFOF_NOERRORUI
FOF_SILENTFOFX_EARLYFAILUREintr   splitFOF_ALLOWUNDOSetOperationFlagsr	   SHCreateItemFromParsingNameIID_IShellItem
DeleteItemPerformOperationsGetAnyOperationsAbortedOSError
pywintypes	com_errorstrerrorhresultCoUninitialize)	pathspathfileopflagssinkitemresultabortederrors	            _/var/www/html/software/conda/envs/higlass/lib/python3.12/site-packages/send2trash/win/modern.py
send2trashr8      s"   U#E^cdVZJtY,GYtV$TQdEdJOP$RXXd^RZZ=PEPJOP$3T!"X=PEP''!!  	F ''(*@*@@8CVCVVYaYsYssE 79??3"1%&!+(('''
U# =D# 	*D44T4AUAUVDdD)	* ))+002W$eV44  	  "W ePPB  A dENND%--@@A 	  "s5   %H3H7HA0H$ $I7"III! !I7)
__future__r   os.pathr/   r   send2trash.compatr   send2trash.utilr   platformr   r   r)   win32com.shellr   r   )send2trash.win.IFileOperationProgressSinkr	   r8        r7   <module>rB      s'    (  ' ,    * A0#rA   