var g_track_code_directory_locations=tracker['start']('startup:\x20d'+'irectory_l'+'ocations'),platform='unknown',OSVersion=csInterface['getOSInfor'+'mation']();OSVersion!==null?OSVersion['indexOf']('Windows')<-0x225b+0x2003+0x258?platform='mac':platform='win':platform='win';console['log']('platform',platform);if(platform=='win')String['prototype']['toCEP']=function(){return this['replace'](/\\/g,'\x5c\x5c');};else platform=='mac'&&(String['prototype']['toCEP']=function(){return String(this);});const app_names={'cep':'FireCut'},app_name=app_names[engine];function setupDirs(v){var U={'iPgqD':function(V,B){return V==B;},'GRHVM':'Detected\x20m'+'ac','xKuJS':'assets','MLsPN':'ppro','DgTJN':'export_pre'+'sets','IDLsA':'Library','jYNSU':'Applicatio'+'n\x20Support','nSjgN':'Temp','fFtYX':'Adobe','Ejicl':'CoreSync','gDfVH':'livetype','nauhL':'plugins','JfDng':'Media'};return U['iPgqD'](platform,'mac')?(console['log'](U['GRHVM']),[path['join'](__dirname,U['xKuJS'],U['MLsPN'],U['DgTJN']),path['join'](__dirname,U['xKuJS'],U['MLsPN']),path['join'](process['env']['HOME'],U['IDLsA'],U['jYNSU'],v),path['join'](process['env']['HOME'],U['IDLsA'],U['jYNSU'],v,'Media'),path['join'](process['env']['HOME'],U['IDLsA'],'Applicatio'+'n\x20Support',v,U['nSjgN']),path['join'](process['env']['HOME'],U['IDLsA'],U['jYNSU'],U['fFtYX'],U['Ejicl'],'plugins',U['gDfVH'],'.c'),path['join'](process['env']['HOME'],U['IDLsA'],U['jYNSU'],U['fFtYX'],'CoreSync',U['nauhL'],U['gDfVH'],'.r')]):[path['join'](__dirname,U['xKuJS'],U['MLsPN'],U['DgTJN']),path['join'](__dirname,U['xKuJS'],'ppro'),path['join'](process['env']['APPDATA'],v),path['join'](process['env']['APPDATA'],v,U['JfDng']),path['join'](process['env']['APPDATA'],v,U['nSjgN']),path['join'](process['env']['APPDATA'],U['fFtYX'],U['Ejicl'],U['nauhL'],U['gDfVH'],'c'),path['join'](process['env']['APPDATA'],U['fFtYX'],U['Ejicl'],'plugins','livetype','r')];}const [DIR_encoders,DIR_assets,DIR_app_data_base,DIR_media,DIR_temporary_files,DIR_adobe_fonts_entitlements,DIR_adobe_fonts_otf]=setupDirs(app_name);console['log']('DIR_encode'+'rs',DIR_encoders),console['log']('DIR_assets',DIR_assets),console['log']('DIR_app_da'+'ta_base',DIR_app_data_base),console['log']('DIR_media',DIR_media),console['log']('DIR_tempor'+'ary_files',DIR_temporary_files),console['log']('DIR_adobe_'+'fonts_enti'+'tlements',DIR_adobe_fonts_entitlements),console['log']('DIR_adobe_'+'fonts_otf',DIR_adobe_fonts_otf);!fs['existsSync'](DIR_app_data_base)&&(console['log']('making\x20dir',DIR_app_data_base),fs['mkdirSync'](DIR_app_data_base));!fs['existsSync'](DIR_temporary_files)&&(console['log']('making\x20dir',DIR_temporary_files),fs['mkdirSync'](DIR_temporary_files));!fs['existsSync'](DIR_media)&&(console['log']('making\x20dir',DIR_media),fs['mkdirSync'](DIR_media));var ffmpeg_path,ffprobe_path;platform==='mac'?__dirname['includes']('app.asar')?(ffmpeg_path=path['join'](__dirname,'..','..','ffmpeg','mac','ffmpeg'),ffprobe_path=path['join'](__dirname,'..','..','ffmpeg','mac','ffprobe')):(ffmpeg_path=path['join'](__dirname,'ffmpeg','mac','ffmpeg'),ffprobe_path=path['join'](__dirname,'ffmpeg','mac','ffprobe')):__dirname['includes']('app.asar')?(ffmpeg_path=path['join'](__dirname,'..','..','ffmpeg','win','ffmpeg.exe'),ffprobe_path=path['join'](__dirname,'..','..','ffmpeg','win','ffprobe.ex'+'e')):(ffmpeg_path=path['join'](__dirname,'ffmpeg','win','ffmpeg.exe'),ffprobe_path=path['join'](__dirname,'ffmpeg','win','ffprobe.ex'+'e'));process['env']['FFMPEG_PAT'+'H']=ffmpeg_path,process['env']['FFPROBE_PA'+'TH']=ffprobe_path,tracker['end'](g_track_code_directory_locations);