ef ^dZddlZddlZddlZddlmZdZdZdZdZ dZ d Z d d Z d d Z d ZdS)zX Re-implementation of find_module and get_frozen_object from the deprecated imp module. N)module_from_specct|tr#tjjntjj}|||SN) isinstancelist importlib machinery PathFinder find_specutil)modulepathsfinders o/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_imp.pyrrsN eT " " & &&((22 ^ % 6&%  ct||}|td|z|js5t|dr%tjd|j}d}d}t|jt}|j dks&|r3t|jtj j rt}d}dx}}n|j dks&|r2t|jtj jrt }d}dx}}n|jr|j }t"j|d }|tj jvrd nd }|tj jvrt*}n5|tj jvrt.}n|tj jvrt2}|t*t.hvrt5||}nd}dx}}|||||ffS) z7Just like 'imp.find_module()', but with package supportN Can't find %ssubmodule_search_locationsz __init__.pyfrozenzbuilt-inrrrb)r ImportError has_locationhasattrr rspec_from_loaderloaderr typeorigin issubclassrFrozenImporter PY_FROZENBuiltinImporter C_BUILTINospathsplitextSOURCE_SUFFIXES PY_SOURCEBYTECODE_SUFFIXES PY_COMPILEDEXTENSION_SUFFIXES C_EXTENSIONopen) rrspeckindfilestaticr,suffixmodes r find_moduler;s VU # #D |/F2333  K/K!L!LK~..}dkJJ D D  T * *F x  t{I$7$F G G  z!!  " t{I$7$G H H " {!!$''* 3 CCCss Y(8 8 8DD y*< < <DD y*= = =D I{+ + +d##D d+ ++rc~t||}|std|z|j|SNr)rrr#get_code)rrr5s rget_frozen_objectr?MsB VU # #D 4/F2333 ;   ' ''rcht||}|std|zt|Sr=)rrr)rrinfor5s r get_modulerBTs: VU # #D 4/F2333 D ! !!rr )__doc__r+importlib.utilr importlib.machineryrr/r1r3r*r(rr;r?rBrrrGs  ++++++    !!!-,-,-,-,`(((("""""r