UNPKG

trakk-js

Version:

Automatic Documentation Generation - Real-Time Code Execution Flow - Testing / Debugging - Onboarding - for Front-End Applications

1 lines 2.21 kB
function _0x22ce(){const _0x4572cf=['mkdirSync','tmpdir','existsSync','59556xkeZeP','23236290nklnyC','join','501672AMvirZ','rmSync','680WLBBje','../','15724TfmgXq','hMahr','4fOqEok','10485936XkPfxf','8035433hQvkYL','homedir','3689400uYFPTw','yDyga','url'];_0x22ce=function(){return _0x4572cf;};return _0x22ce();}const _0x22e8aa=_0x2175;(function(_0x161b33,_0x58c58e){const _0x23a22f=_0x2175,_0x4ef38b=_0x161b33();while(!![]){try{const _0x44c572=parseInt(_0x23a22f(0xcd))/0x1+-parseInt(_0x23a22f(0xc0))/0x2*(parseInt(_0x23a22f(0xca))/0x3)+-parseInt(_0x23a22f(0xbe))/0x4*(parseInt(_0x23a22f(0xbc))/0x5)+parseInt(_0x23a22f(0xc4))/0x6+-parseInt(_0x23a22f(0xc2))/0x7+-parseInt(_0x23a22f(0xc1))/0x8+parseInt(_0x23a22f(0xcb))/0x9;if(_0x44c572===_0x58c58e)break;else _0x4ef38b['push'](_0x4ef38b['shift']());}catch(_0x278789){_0x4ef38b['push'](_0x4ef38b['shift']());}}}(_0x22ce,0xa2739));import _0x3c2a20 from'path';import _0x547345 from'os';import _0x584615 from'fs';import{fileURLToPath}from'url';import{dirname}from'path';const __filename=fileURLToPath(import.meta[_0x22e8aa(0xc6)]),__dirname=dirname(__filename);function _0x2175(_0x236d5f,_0x349304){const _0x22ce64=_0x22ce();return _0x2175=function(_0x21753b,_0x18eb2d){_0x21753b=_0x21753b-0xbc;let _0x46f7b6=_0x22ce64[_0x21753b];return _0x46f7b6;},_0x2175(_0x236d5f,_0x349304);}export function getPathToTempFolder(_0x436a50){const _0x50b232=_0x22e8aa,_0x5e4b8f={'hMahr':_0x50b232(0xbd)},_0x328179=_0x547345[_0x50b232(0xc8)](),_0x1bc640=_0x547345[_0x50b232(0xc3)](),_0x277367=__dirname,_0x244899=_0x3c2a20['join'](_0x277367,_0x5e4b8f[_0x50b232(0xbf)]);let _0x5d56cb=_0x328179;return(!_0x328179||!_0x584615[_0x50b232(0xc9)](_0x328179))&&(_0x5d56cb=_0x1bc640),(!_0x1bc640||!_0x584615[_0x50b232(0xc9)](_0x1bc640))&&(_0x5d56cb=_0x244899),_0x3c2a20[_0x50b232(0xcc)](_0x5d56cb,_0x436a50);}export function createTempFolder(_0x398805){const _0x3e2bd8=_0x22e8aa,_0x576cb9={'yDyga':function(_0x1c6da8,_0x40e695){return _0x1c6da8(_0x40e695);}},_0x58d9bb=_0x576cb9[_0x3e2bd8(0xc5)](getPathToTempFolder,_0x398805);return _0x584615[_0x3e2bd8(0xc9)](_0x58d9bb)&&_0x584615[_0x3e2bd8(0xce)](_0x58d9bb,{'recursive':!![],'force':!![]}),_0x584615[_0x3e2bd8(0xc7)](_0x58d9bb),_0x58d9bb;}