mixone
Version:
MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a
1 lines • 11.9 kB
JavaScript
const K=d;(function(e,f){const H=d,g=e();while(!![]){try{const h=parseInt(H(0x14c))/0x1+-parseInt(H(0x14b))/0x2+parseInt(H(0x133))/0x3+parseInt(H(0x196))/0x4+-parseInt(H(0x165))/0x5+-parseInt(H(0x16b))/0x6*(-parseInt(H(0x19f))/0x7)+-parseInt(H(0x18d))/0x8;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0xd5472));function d(a,b){const e=c();return d=function(f,g){f=f-0x107;let h=e[f];return h;},d(a,b);}const b=(function(){let e=!![];return function(f,g){const h=e?function(){const I=d;if(g){const i=g[I(0x111)](f,arguments);return g=null,i;}}:function(){};return e=![],h;};}()),a=b(this,function(){const J=d;return a[J(0x113)]()['search'](J(0x15a))[J(0x113)]()['constructor'](a)[J(0x120)](J(0x15a));});a();const parser=require(K(0x138)),traverse=require(K(0x109))[K(0x18b)],generate=require('@babel/generator')[K(0x18b)],t=require(K(0x184)),isInMember=e=>{const L=K,f={'VzTdd':'LogicalExpression','GnBfv':function(h,i){return h==i;},'juBhn':function(h,i){return h===i;},'glPVz':L(0x129),'IfDEX':L(0x10c),'LGhZS':function(h,i){return h(i);},'jihNh':function(h,i){return h(i);},'Xpdst':function(h,i){return h===i;},'zahsp':'OCpwQ'};let g=e['parentPath'];if(t[L(0x143)](g))return t[L(0x1ac)](g[L(0x115)])&&f[L(0x12c)](g['parentPath'][L(0x1b1)][L(0x13c)],g[L(0x1b1)])?f['juBhn'](f['glPVz'],f[L(0x13f)])?f['VzTdd']:f[L(0x141)](isInMember,g[L(0x115)]):f['jihNh'](isInMember,g);else{if(f['Xpdst'](f[L(0x130)],f[L(0x130)]))return e;else h[L(0x124)](L(0x1b3)),i(j);}},checkUseNodePostion=e=>{const M=K,f={'COVKQ':function(h,i){return h(i);},'cCifM':M(0x16a),'IwMpS':function(h,i){return h(i);},'FcWiw':M(0x190),'yhRkf':function(h,i){return h!==i;},'wuIBE':M(0x19d),'OuFfx':M(0x182),'JegWo':M(0x16c),'vrRgA':'VariableDeclarator','dCZsa':M(0x170),'FtAbW':M(0x169),'YbhcM':M(0x134),'ccAPX':M(0x158),'MHbDW':M(0x171),'OscZX':function(h,i){return h===i;},'aEFFQ':M(0x17e),'pgPcB':M(0x163),'OIAYC':M(0x136),'wINIr':function(h,i){return h===i;},'ZhtxI':M(0x149),'uOgmM':M(0x15b),'vxStf':M(0x17f),'fkJpg':M(0x118),'yiWfE':M(0x135),'BflAD':M(0x153),'RQNqZ':M(0x10a),'XEWqA':function(h,i){return h===i;},'wLBTH':M(0x16f),'lKyEh':'pgEUK'};let g=e[M(0x115)][M(0x1b1)];if(t[M(0x1af)](g)){if(f[M(0x108)](f['wuIBE'],M(0x126)))return f[M(0x160)];else h[M(0x124)](M(0x1a1)),f['COVKQ'](i,j);}else{if(t[M(0x195)](g))return f[M(0x15e)];else{if(t['isVariableDeclarator'](g))return f[M(0x164)];else{if(t[M(0x1ac)](g))return f[M(0x119)];else{if(t[M(0x139)](g))return f[M(0x132)];else{if(t['isProperty'](g))return M(0x190);else{if(t[M(0x143)](g)){if(g[M(0x191)])return f[M(0x108)]('KJKEI',f['YbhcM'])?f:f[M(0x11b)];return f[M(0x11b)];}else{if(t[M(0x137)](g)&&g[M(0x125)])return f[M(0x17b)]==='iEXII'?f[M(0x155)](g,h['parentPath']):'Optional';else{if(t['isObjectExpression'](g)&&g[M(0x191)])return M(0x157);else{if(t[M(0x139)](g))return f[M(0x181)](f[M(0x17c)],M(0x17e))?f[M(0x132)]:f['cCifM'];else{if(t[M(0x1ad)](g))return f['cCifM'];else{if(t['isArrayExpression'](g))return f['pgPcB'];else{if(t[M(0x144)](g))return f[M(0x17a)];else{if(t['isWhileStatement'](g))return f[M(0x186)](f[M(0x154)],f[M(0x14a)])?M(0x157):f[M(0x19e)];else{if(t['isConditionalExpression'](g)){if(f['yhRkf'](f[M(0x193)],f[M(0x193)])){if(i){const n=m[M(0x111)](n,arguments);return o=null,n;}}else return f[M(0x12d)];}else return t[M(0x19b)](g)?f[M(0x186)](f['BflAD'],f[M(0x15d)])?f['RQNqZ']:f[M(0x148)](g,h):f['XEWqA'](f[M(0x194)],f[M(0x127)])?f[M(0x152)]:M(0x110);}}}}}}}}}}}}}}};function addCountParam(e){const N=K,f={'SxvPa':N(0x128),'xxwuf':N(0x172)},g=e[N(0x13a)][N(0x18f)](i=>t['isIdentifier'](i)?i[N(0x142)]:N(0x19c)),h=e[N(0x13a)][N(0x12e)](i=>t[N(0x166)](i,{'name':N(0x172)}));if(h){console[N(0x124)](f[N(0x14f)]);return;}e[N(0x13a)]['push'](t['identifier'](f[N(0x198)]));}function transformLiveCallback(e){const O=K,f={'MdRFa':O(0x15a),'neXDO':function(g,h){return g==h;},'dcTUK':function(g,h){return g(h);},'OnKlC':'MemberExpression','IyFtm':'PropertyKey','zDXPw':O(0x1a2),'wtRwQ':function(g,h){return g===h;},'UiPfS':O(0x177),'NkDQW':O(0x192),'SsIPT':function(g,h){return g>h;},'JaBlc':O(0x10b),'VpeWG':O(0x168),'FdEqN':O(0x10f),'LtMxU':O(0x123),'zVUig':function(g,h){return g===h;},'gCZHq':'zkMpE','fhjOP':O(0x11d),'duBCt':O(0x1a1),'RphAR':function(g,h){return g(h);},'oqdig':'UzcUo','tdQZD':O(0x1b3),'qIikj':function(g,h){return g(h);}};if(t[O(0x1ac)](e[O(0x1b1)])&&t['isMemberExpression'](e[O(0x1b1)][O(0x13c)])&&t['isIdentifier'](e[O(0x1b1)][O(0x13c)][O(0x122)],{'name':f['zDXPw']})){if(f[O(0x178)](f[O(0x17d)],f[O(0x17d)])){console[O(0x124)](f[O(0x147)]);const g=e[O(0x1b1)][O(0x116)];if(f[O(0x114)](g['length'],0x0)){const h=g[0x0];console[O(0x124)](f['JaBlc'],h['type']);if(t[O(0x1ad)](h)||t[O(0x185)](h)){if(f['wtRwQ'](f['VpeWG'],f[O(0x12f)]))console[O(0x124)](f[O(0x183)]),f['dcTUK'](addCountParam,h);else return g['toString']()[O(0x120)](sYyQuT[O(0x1b0)])['toString']()['constructor'](h)[O(0x120)](sYyQuT[O(0x1b0)]);}else{if(t['isIdentifier'](h)){console[O(0x124)](f[O(0x173)],h['name']);const j=e[O(0x121)][O(0x107)](h[O(0x142)]);if(j&&j['path'][O(0x1b1)]){const k=j[O(0x174)][O(0x1b1)];if(t[O(0x1ab)](k)){if(f[O(0x15f)](f[O(0x176)],f[O(0x19a)]))return m[O(0x1ac)](n['parentPath'])&&f[O(0x189)](o[O(0x115)]['node'][O(0x13c)],p['node'])?v(w[O(0x115)]):f['dcTUK'](x,y);else{const m=k[O(0x145)];(t[O(0x1ad)](m)||t[O(0x185)](m))&&(console['log'](f[O(0x150)]),f[O(0x14d)](addCountParam,m));}}else{if(t[O(0x159)](k)){if(O(0x16e)!==f[O(0x161)])return{'path':f,'pathType':O(0x1a8),'codePostion':f['OnKlC']};else console[O(0x124)](f[O(0x1b4)]),f[O(0x1aa)](addCountParam,k);}}}}}}}else return f['IyFtm'];}}function transformCode(e,f={}){const P=K,g={'iyrpA':P(0x1a4),'dXyUL':P(0x1a9),'lwCgk':P(0x187),'bIMPE':function(h,i,j){return h(i,j);},'nvqYE':P(0x1a7),'XrXmW':function(h,i){return h(i);},'TxrDb':P(0x11f),'ddHRo':function(h,i,j){return h(i,j);},'rVVNh':function(h,i){return h===i;},'bhTJF':P(0x10d),'PoJrn':'AST\x20transform\x20error:'};try{const h=parser['parse'](e,{'sourceType':P(0x1a4),'plugins':['jsx',g['lwCgk']]});g[P(0x199)](traverse,h,{'CallExpression'(j){const Q=P,k={'FboIJ':function(l,m){return g['XrXmW'](l,m);}};if(g['TxrDb']===g['TxrDb'])g[Q(0x131)](transformLiveCallback,j);else{const m=j['parse'](k,{'sourceType':g[Q(0x15c)],'plugins':[g[Q(0x151)],g[Q(0x117)]]});g[Q(0x1a3)](l,m,{'CallExpression'(r){const R=Q;k[R(0x1ae)](m,r);}});const n=n(m,{'retainLines':![],'compact':![],'quotes':Q(0x1a7),'concise':![],'jsescOption':{'quotes':g[Q(0x1a6)]},'format':{'indent':{'style':'\x20\x20','adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'preserveComments':!![]}});return n['code'];}}});const i=g[P(0x199)](generate,h,{'retainLines':![],'compact':![],'quotes':g[P(0x1a6)],'concise':![],'jsescOption':{'quotes':P(0x1a7)},'format':{'indent':{'style':'\x20\x20','adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'preserveComments':!![]}});return i[P(0x180)];}catch(j){if(g['rVVNh'](g[P(0x11c)],P(0x10d)))return console[P(0x197)](g[P(0x11e)],j),e;else{const l=h['apply'](i,arguments);return j=null,l;}}}function transformVueScript(e){const S=K,f={'lcytV':function(g,h){return g(h);}};return f[S(0x14e)](transformCode,e);}function c(){const V=['736603ChqPnS','RphAR','lcytV','SxvPa','duBCt','dXyUL','FcWiw','fGvqF','ZhtxI','COVKQ','type','ObjectExpressionKey','PropertyKey','isFunctionDeclaration','(((.+)+)+)+$','jiJxp','iyrpA','BflAD','JegWo','zVUig','OuFfx','oqdig','nbsUk','ArrayExpression','vrRgA','4755840lMQEUp','isIdentifier','argument','tlRuU','ReturnStatement','ArrowFunctionExpression','12NpVpxP','BinaryExpression','exports','UzcUo','SDUCo','CallExpression','SAAKW','count','LtMxU','path','aSLEY','gCZHq','tGfrA','wtRwQ','yMrxu','OIAYC','MHbDW','aEFFQ','UiPfS','uyJkk','WhileStatement','code','OscZX','ExpressionStatement','FdEqN','@babel/types','isFunctionExpression','wINIr','typescript','UzNRs','neXDO','AwaitExpression','default','gvBGv','5767280NrpWxV','AST\x20transform\x20error:','map','PropertyValue','computed','Found\x20live\x20call','fkJpg','wLBTH','isBinaryExpression','5567640vXSoVw','error','xxwuf','ddHRo','fhjOP','isLogicalExpression','non-identifier','LBLYc','vxStf','5012966jfSgAo','lImtc','Processing\x20function\x20expression\x20in\x20variable\x20declaration','live','bIMPE','module','AiovN','nvqYE','single','visiter','jsx','qIikj','isVariableDeclarator','isCallExpression','isArrowFunctionExpression','FboIJ','isExpressionStatement','MdRFa','node','oSrID','Processing\x20function\x20declaration','tdQZD','rufvB','getBinding','yhRkf','@babel/traverse','LogicalExpression','Callback\x20function\x20type:','abvpd','jgKSt','lNFkS','Processing\x20direct\x20function\x20expression','other','apply','RKKeP','toString','SsIPT','parentPath','arguments','lwCgk','leoBX','dCZsa','nGxAs','ccAPX','bhTJF','JMdwb','PoJrn','ZAkPD','search','scope','property','Processing\x20variable\x20reference:','log','optional','cfvGs','lKyEh','Count\x20parameter\x20already\x20exists,\x20skipping\x20addition','dbdxF','HFEcI','AJwNb','GnBfv','yiWfE','some','VpeWG','zahsp','XrXmW','FtAbW','1672704CFuNci','KJKEI','ConditionalExpression','SpreadElement','isOptionalMemberExpression','@babel/parser','isReturnStatement','params','nIDav','callee','eNZBE','dIzTc','IfDEX','owOta','LGhZS','name','isMemberExpression','isSpreadElement','init','parse','NkDQW','IwMpS','tKTca','uOgmM','3145386IVMyRg'];c=function(){return V;};return c();}const analyseCompleteUseNode=(e,f,g)=>{const T=K,h={'rufvB':T(0x18e),'AiovN':'module','wyUkX':T(0x1a9),'owOta':T(0x187),'gvBGv':function(k,l,m){return k(l,m);},'oSrID':T(0x1a7),'WJVqs':function(k,l){return k===l;},'nGxAs':T(0x18a),'HFEcI':function(k,l){return k==l;},'aSLEY':function(k,l){return k==l;},'eNZBE':T(0x162),'ZGFxj':function(k,l){return k==l;},'lImtc':function(k,l){return k!==l;},'DpCsa':T(0x13b),'AJwNb':T(0x10e),'RKKeP':T(0x1a8),'XdpIO':'MemberExpression','UzNRs':'call','yMrxu':T(0x170)};let i=null,j=null;if(h['WJVqs'](e[T(0x1b1)][T(0x156)],h[T(0x11a)]))i=e,j=g;else{if(h[T(0x12a)](e[T(0x115)][T(0x1b1)][T(0x156)],h['nGxAs']))i=e[T(0x115)],j=e;else{if(e[T(0x115)][T(0x115)][T(0x1b1)][T(0x156)]==h[T(0x11a)])i=e[T(0x115)]['parentPath'],j=e['parentPath'];else{if(e[T(0x115)]['parentPath'][T(0x115)]['node'][T(0x156)]==h[T(0x11a)])i=e[T(0x115)][T(0x115)][T(0x115)],j=e[T(0x115)][T(0x115)];else{if(h[T(0x175)](e[T(0x115)][T(0x115)][T(0x115)][T(0x115)]['node'][T(0x156)],h[T(0x11a)])){if(h[T(0x13d)]===h['eNZBE'])i=e[T(0x115)]['parentPath'][T(0x115)][T(0x115)],j=e[T(0x115)]['parentPath']['parentPath'];else return h[T(0x197)](h[T(0x1b5)],i),j;}else{if(h[T(0x175)](e['parentPath'][T(0x115)][T(0x115)][T(0x115)][T(0x115)][T(0x1b1)][T(0x156)],h[T(0x11a)]))i=e[T(0x115)][T(0x115)][T(0x115)][T(0x115)][T(0x115)],j=e[T(0x115)][T(0x115)][T(0x115)]['parentPath'];else h['ZGFxj'](e[T(0x115)]['parentPath'][T(0x115)]['parentPath'][T(0x115)][T(0x115)][T(0x1b1)]['type'],T(0x18a))&&(i=e[T(0x115)][T(0x115)][T(0x115)]['parentPath'][T(0x115)]['parentPath'],j=e[T(0x115)][T(0x115)]['parentPath'][T(0x115)]['parentPath']);}}}}}if(i){if(h[T(0x1a0)](h['DpCsa'],h[T(0x12b)])){if(t[T(0x143)](i[T(0x1b1)][T(0x167)]))return{'path':j,'pathType':h[T(0x112)],'codePostion':h['XdpIO']};if(t['isCallExpression'](i['node'][T(0x167)]))return{'path':j,'pathType':h[T(0x188)],'codePostion':h[T(0x179)]};}else{const m={'dIzTc':function(n,o){return n(o);}};try{const n=s[T(0x146)](u,{'sourceType':h[T(0x1a5)],'plugins':[h['wyUkX'],h[T(0x140)]]});h[T(0x18c)](v,n,{'CallExpression'(F){const U=T;m[U(0x13e)](y,F);}});const o=h[T(0x18c)](x,n,{'retainLines':![],'compact':![],'quotes':h[T(0x1b2)],'concise':![],'jsescOption':{'quotes':h['oSrID']},'format':{'indent':{'style':'\x20\x20','adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'preserveComments':!![]}});return o[T(0x180)];}catch(p){return A[T(0x197)](h['rufvB'],p),B;}}}};module[K(0x16d)]={'transformCode':transformCode,'transformVueScript':transformVueScript,'analyseCompleteUseNode':analyseCompleteUseNode};