var g_track_code_directory_locations=tracker['start']('startup:\x20d'+'irectory_l'+'ocations'),platform='unknown',OSVersion=csInterface['getOSInfor'+'mation']();OSVersion!==null?OSVersion['indexOf']('Windows')<-0x81b*0x1+-0x4*-0x442+-0x1*0x8ed?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(){var N={'FiqYt':function(l,L){return l(L);}};return N['FiqYt'](String,this);});const app_names={'cep':'FireCut'},app_name=app_names[engine];function setupDirs(N){var l={'fofuP':function(L,p){return L==p;},'jqbPk':'mac','uqDPb':'Detected\x20m'+'ac','yeahr':'assets','ylsIS':'ppro','aZiHg':'export_pre'+'sets','AGJlL':'Applicatio'+'n\x20Support','QXLNf':'Library','fJWEG':'Media','vOHgZ':'Temp','pfbsA':'Adobe','CJiTS':'CoreSync','fnsMk':'plugins','oNOcG':'livetype'};return l['fofuP'](platform,l['jqbPk'])?(console['log'](l['uqDPb']),[path['join'](__dirname,l['yeahr'],l['ylsIS'],l['aZiHg']),path['join'](__dirname,l['yeahr'],l['ylsIS']),path['join'](process.env.HOME,'Library',l['AGJlL'],N),path['join'](process.env.HOME,l['QXLNf'],'Applicatio'+'n\x20Support',N,l['fJWEG']),path['join'](process.env.HOME,l['QXLNf'],'Applicatio'+'n\x20Support',N,l['vOHgZ']),path['join'](process.env.HOME,l['QXLNf'],'Applicatio'+'n\x20Support',l['pfbsA'],l['CJiTS'],l['fnsMk'],l['oNOcG'],'.c'),path['join'](process.env.HOME,l['QXLNf'],l['AGJlL'],l['pfbsA'],l['CJiTS'],l['fnsMk'],l['oNOcG'],'.r')]):[path['join'](__dirname,'assets','ppro',l['aZiHg']),path['join'](__dirname,l['yeahr'],l['ylsIS']),path['join'](process.env.APPDATA,N),path['join'](process.env.APPDATA,N,l['fJWEG']),path['join'](process.env.APPDATA,N,l['vOHgZ']),path['join'](process.env.APPDATA,l['pfbsA'],l['CJiTS'],'plugins','livetype','c'),path['join'](process.env.APPDATA,'Adobe',l['CJiTS'],l['fnsMk'],'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_PATH=ffmpeg_path,process.env.FFPROBE_PATH=ffprobe_path,tracker['end'](g_track_code_directory_locations);