@guanghechen/kit-ppt 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/esm/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(
|
|
2
|
+
(function(_0x524641,_0x198598){const _0x118325={_0x18cb71:0x2e7,_0x3a0486:'v*OV',_0x526d1e:0x2e3,_0x24fa21:0x2f5,_0x4d102c:'HpXE',_0x3b9171:0x2dc,_0x51c770:0x2e5,_0x4edc01:0x2e3,_0x28bda6:'c#lG',_0x172e38:0x2cb,_0x5aac13:0x2d3,_0x3af6df:'sMBl',_0x4d809a:0x2dc,_0x2a7df8:0x2d0,_0x57f25c:0x11a,_0x3a13bb:0x106,_0x1698d4:0x105,_0x665820:'#@Rq',_0x5d4cdd:0x2e0,_0x18059c:0x2d4,_0x1ff130:0x129,_0x3714ed:0x117,_0x2b7800:'[#Rs',_0x57d7bd:0xf4,_0x415530:0x104,_0x6249e4:'V8SG',_0x187050:0x2fc,_0x3714c3:'rP^6',_0x357493:0x2f8,_0xc62584:0x2e4,_0x66feae:0xdf,_0x57203c:0xf3,_0x5bcd81:'#@Rq'},_0xa4e35d={_0x558302:0x184},_0x41e16f={_0x32d0e9:0x36a};function _0x219185(_0x18a74b,_0x352023,_0x178fed,_0x2e5a49){return _0x5ecc(_0x18a74b- -_0x41e16f._0x32d0e9,_0x352023);}const _0x58f055=_0x524641();function _0x22a0e7(_0x9795bd,_0x3a5723,_0x179db2,_0x2e3774){return _0x5ecc(_0x3a5723- -_0xa4e35d._0x558302,_0x2e3774);}while(!![]){try{const _0x5fed71=-parseInt(_0x219185(-_0x118325._0x18cb71,_0x118325._0x3a0486,-_0x118325._0x526d1e,-_0x118325._0x24fa21))/(-0x69b*-0x2+-0x1a9+0x2*-0x5c6)+-parseInt(_0x219185(-0x2df,_0x118325._0x4d102c,-_0x118325._0x3b9171,-_0x118325._0x51c770))/(-0x31*0x61+0x2650+-0x13bd)*(-parseInt(_0x219185(-_0x118325._0x4edc01,_0x118325._0x28bda6,-0x2d7,-_0x118325._0x172e38))/(0x4b1*-0x3+0x184f+-0x1*0xa39))+parseInt(_0x219185(-_0x118325._0x5aac13,_0x118325._0x3af6df,-_0x118325._0x4d809a,-_0x118325._0x2a7df8))/(-0x1c*-0x148+0xa46+-0x2e22)+parseInt(_0x22a0e7(-_0x118325._0x57f25c,-_0x118325._0x3a13bb,-_0x118325._0x1698d4,_0x118325._0x665820))/(0x2b*-0x9b+0x7a0*0x5+-0xc12)*(-parseInt(_0x219185(-_0x118325._0x5d4cdd,'vDG&',-_0x118325._0x18059c,-0x2f3))/(-0x1*-0x1073+0xe5*-0x3+-0xdbe))+-parseInt(_0x22a0e7(-_0x118325._0x1ff130,-_0x118325._0x3714ed,-0x121,_0x118325._0x2b7800))/(-0x1258+-0xb9*-0xe+0x1*0x841)+-parseInt(_0x22a0e7(-_0x118325._0x57d7bd,-_0x118325._0x415530,-0x103,_0x118325._0x6249e4))/(-0x1951+-0x2002+-0x395b*-0x1)*(-parseInt(_0x219185(-_0x118325._0x187050,_0x118325._0x3714c3,-_0x118325._0x357493,-_0x118325._0xc62584))/(-0x1*-0xb7+-0x21be*0x1+-0x1088*-0x2))+-parseInt(_0x22a0e7(-_0x118325._0x66feae,-_0x118325._0x57203c,-0x105,_0x118325._0x5bcd81))/(-0xb*-0xb7+-0x1*0x1279+0x1*0xaa6);if(_0x5fed71===_0x198598)break;else _0x58f055['push'](_0x58f055['shift']());}catch(_0x9c2b51){_0x58f055['push'](_0x58f055['shift']());}}}(_0x4b4c,0xcb045+0x9*-0x93c9+0x7a821));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import{C as _0xd70e67,P as _0xf01519}from'./command-QTvQ4rqD.mjs';import'node:fs';import'node:path';import'canvas';import'@yozora/core-parser';import'@yozora/tokenizer-autolink';import'@yozora/tokenizer-autolink-extension';import'@yozora/tokenizer-break';import'@yozora/tokenizer-delete';import'@yozora/tokenizer-emphasis';function _0x4e2fa3(_0xbdcd6a,_0x2d7559,_0x5c2346,_0x2ee9a2){const _0x48c699={_0x1781bd:0x35c};return _0x5ecc(_0x2d7559- -_0x48c699._0x1781bd,_0x2ee9a2);}import'@yozora/tokenizer-heading';import'@yozora/tokenizer-image';import'@yozora/tokenizer-inline-code';import'@yozora/tokenizer-link';function _0x4b4c(){const _0x481aa1=['WQ9Pw8koW7ZcLSkUxf8','pCkdW5pcIJJdNmoDWPSj','yCkRWRvkW6K','tdX8Emof','W6hdH21JpG','WOTotSoKFG','WQ5Vx8oCW5/cNCkxxKji','p0ddQ8kFBq','t8oxWRhdPSkJ','x8ksA8oQW64qWO/cImkzuG','W4ddNgnNvq','W4/cH8kycdvCW7xcQtK','hSknW6tcO8o6W6ddKSo/W6n1yr4','DmohWOBcVIS','iCoOW6yyWRexkX1Wq8kPW68','W6vsoNZdQa','W60AD8oUB1erWRNdJSoI','DSoHiXu','WRVcJwPpW5zTW5yefrC','nmkACGv1WRJdPsldTmoeW5ul','pConWP9BW4O','nCkaW5hdRxRdTmo/WRW2umo7','bcX7amkBW4ldLYXs','BCk4dHu','WR1psCkcW7a','hmoulSk3','Fmk5WR1oWQ0','xNuMiSkn','xSkwzCoQWPfnWQ/cSSkoCcZdNG','AGhdLXPd','lNBdIJac','cCoxnmkWW4O','WPJdNSozgI4','g8kSAmkTW5a','BmkkW44gWPdcKmoBWPFdGehdJ245','xCkwB8oQWPWXWQdcGmkyyIu','W4GCsMRdTG','WPldJqW5EIDVWQeJW5elxa','W5Sbsh3dQa','W44bvxxdQa','W5ShcCo0Eq','aKTKpmkqnJ7cSdvtW6OgW4K','W64BE8oOkdegWO/dRSoKuSkO','ySonWQNdUK7cImkijs8LfwBdVG','t8kUBhNdTW','WRT8imoqma','cCoZl8k6W5C','xd94A8om','z8ozlfhdGq'];_0x4b4c=function(){return _0x481aa1;};return _0x4b4c();}import'@yozora/tokenizer-paragraph';import'@yozora/tokenizer-setext-heading';import'@yozora/tokenizer-table';import'@yozora/tokenizer-text';import'@yozora/tokenizer-thematic-break';import'@yozora/ast';import'@yozora/core-tokenizer';import'@yozora/character';import'fs';import'image-size';import'path';function _0x5dddac(_0x26e94e,_0x23c646,_0x4554e0,_0x33f274){return _0x5ecc(_0x23c646-0x5e,_0x26e94e);}import'node:buffer';import'entities';import'pptxgenjs';import'jszip';import'os';import'node:url';const _0x3cc480={};_0x3cc480[_0x5dddac('vDG&',0xe0,0xe8,0xc8)+'x']=_0xd70e67;function _0x5ecc(_0x308f45,_0x681bfc){_0x308f45=_0x308f45-(0x17a4*0x1+-0x5*0x527+0x289);const _0x376a86=_0x4b4c();let _0x2c55dc=_0x376a86[_0x308f45];if(_0x5ecc['smLOUL']===undefined){var _0x3ed7bb=function(_0x1923e8){const _0x501c0f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1fb4c9='',_0x3dc815='';for(let _0x1944ed=0x1*0xa3+0x199+0x2*-0x11e,_0x3107a9,_0x316104,_0x43a7b1=0xc98+-0x18dd+0x417*0x3;_0x316104=_0x1923e8['charAt'](_0x43a7b1++);~_0x316104&&(_0x3107a9=_0x1944ed%(-0x16a5+0x4*-0xa+0x63*0x3b)?_0x3107a9*(0x3*-0x99b+0x1789+0x588)+_0x316104:_0x316104,_0x1944ed++%(0x1*0x1391+0x1cd8+0x3065*-0x1))?_0x1fb4c9+=String['fromCharCode'](-0x1e12+0x1*0x56+0x1ebb&_0x3107a9>>(-(-0xf*0x1c9+0xab7*0x1+-0xb*-0x176)*_0x1944ed&0x132b+0x158e+-0x28b3*0x1)):0x1f60+0x1*-0x1003+-0xf5d){_0x316104=_0x501c0f['indexOf'](_0x316104);}for(let _0x278345=0x18c7+-0x4b*0x27+-0xd5a,_0x561b07=_0x1fb4c9['length'];_0x278345<_0x561b07;_0x278345++){_0x3dc815+='%'+('00'+_0x1fb4c9['charCodeAt'](_0x278345)['toString'](-0x1fa4+-0x1*-0xbb2+0x1402))['slice'](-(-0x17b+-0x2100+0x147*0x1b));}return decodeURIComponent(_0x3dc815);};const _0x394914=function(_0x33dc10,_0x3edbfc){let _0x2f756b=[],_0x524641=0x63*0x1b+-0x58*-0x1+0xac9*-0x1,_0x198598,_0x58f055='';_0x33dc10=_0x3ed7bb(_0x33dc10);let _0x5fed71;for(_0x5fed71=0x1309+0xdb1+0x105d*-0x2;_0x5fed71<0x1*0xbad+-0x1*-0x11cd+-0x5a*0x51;_0x5fed71++){_0x2f756b[_0x5fed71]=_0x5fed71;}for(_0x5fed71=0xb*0x135+-0x296*-0x5+-0x1a35;_0x5fed71<0x18*-0x14e+-0x3*-0x6a3+0xc67;_0x5fed71++){_0x524641=(_0x524641+_0x2f756b[_0x5fed71]+_0x3edbfc['charCodeAt'](_0x5fed71%_0x3edbfc['length']))%(0x2120+-0x22*-0x6d+-0x952*0x5),_0x198598=_0x2f756b[_0x5fed71],_0x2f756b[_0x5fed71]=_0x2f756b[_0x524641],_0x2f756b[_0x524641]=_0x198598;}_0x5fed71=-0x1*-0x1529+-0x52c*-0x4+-0x29d9,_0x524641=0x1487+0x4*0x220+-0x1d07;for(let _0x9c2b51=-0x95d+0xb*-0x337+-0x8f2*-0x5;_0x9c2b51<_0x33dc10['length'];_0x9c2b51++){_0x5fed71=(_0x5fed71+(0xe*0x158+-0x2*0x1bb+-0xf59))%(0x10b*-0x1d+0x1f*-0xd7+-0x1a*-0x234),_0x524641=(_0x524641+_0x2f756b[_0x5fed71])%(-0x1*-0x1073+0xe5*-0x3+-0xcc4),_0x198598=_0x2f756b[_0x5fed71],_0x2f756b[_0x5fed71]=_0x2f756b[_0x524641],_0x2f756b[_0x524641]=_0x198598,_0x58f055+=String['fromCharCode'](_0x33dc10['charCodeAt'](_0x9c2b51)^_0x2f756b[(_0x2f756b[_0x5fed71]+_0x2f756b[_0x524641])%(-0x1258+-0xb9*-0xe+0x2*0x49d)]);}return _0x58f055;};_0x5ecc['CocGtO']=_0x394914,_0x5ecc['cVteVU']={},_0x5ecc['smLOUL']=!![];}const _0x519f04=_0x376a86[-0x1951+-0x2002+-0x3953*-0x1],_0x301700=_0x308f45+_0x519f04,_0x53d4c5=_0x5ecc['cVteVU'][_0x301700];return!_0x53d4c5?(_0x5ecc['uiZOhc']===undefined&&(_0x5ecc['uiZOhc']=!![]),_0x2c55dc=_0x5ecc['CocGtO'](_0x2c55dc,_0x681bfc),_0x5ecc['cVteVU'][_0x301700]=_0x2c55dc):_0x2c55dc=_0x53d4c5,_0x2c55dc;}const _0x49d47b=new Reporter(_0x3cc480);_0xf01519[_0x5dddac('V8SG',0xf3,0xfd,0xed)+_0x4e2fa3(-0x2fd,-0x2ea,-0x2e6,'#@Rq')+_0x4e2fa3(-0x2ce,-0x2e3,-0x2d9,'8&F&')+'t']();const _0x1cbff1=new _0xf01519(),_0x358314={};_0x358314[_0x4e2fa3(-0x2dc,-0x2f2,-0x2fb,'aiqV')+_0x5dddac('l4qF',0xce,0xdb,0xc1)+'e']=_0xd70e67,_0x358314[_0x4e2fa3(-0x2b2,-0x2c6,-0x2d7,'R(iu')]={},_0x358314[_0x4e2fa3(-0x2b2,-0x2c6,-0x2d7,'R(iu')]['bash']='~/.co'+_0x5dddac('v*OV',0xed,0xdc,0xeb)+_0x5dddac('5^Gz',0xdd,0xde,0xd2)+_0x4e2fa3(-0x2d2,-0x2e4,-0x2df,'*r*&')+_0x4e2fa3(-0x2d8,-0x2e8,-0x2f7,'&BQm')+'s/'+_0xd70e67+'.sh',_0x358314[_0x4e2fa3(-0x2b2,-0x2c6,-0x2d7,'R(iu')][_0x5dddac('J!c7',0xea,0xea,0xef)]=_0x4e2fa3(-0x2f6,-0x2eb,-0x2f0,'#XbI')+_0x5dddac(')RMT',0xda,0xe1,0xd9)+'fish/'+_0x4e2fa3(-0x2cf,-0x2c3,-0x2be,'aiqV')+_0x5dddac('sMBl',0xe7,0xda,0xf8)+'s/'+_0xd70e67+_0x4e2fa3(-0x2f1,-0x2e2,-0x2ea,'XpIC'),_0x358314[_0x4e2fa3(-0x2b2,-0x2c6,-0x2d7,'R(iu')][_0x5dddac('#@Rq',0xec,0xe0,0xfa)]=_0x5dddac('XpIC',0xca,0xb5,0xd5)+'nfig/'+'pwsh/'+_0x4e2fa3(-0x2c8,-0x2cc,-0x2e1,'HpXE')+_0x4e2fa3(-0x2c7,-0x2c8,-0x2d0,'#@Rq')+'s/'+_0xd70e67+'.ps1',_0x1cbff1['subco'+_0x5dddac('LcaP',0xe2,0xd9,0xf6)](_0x4e2fa3(-0x2c7,-0x2df,-0x2de,'l*O4')+_0x5dddac('ULky',0xeb,0xe0,0xdd),new CompletionCommand(_0x1cbff1,_0x358314));try{await _0x1cbff1['run']({'argv':process[_0x5dddac('BdfD',0xe4,0xf5,0xeb)][_0x5dddac('*r*&',0xd1,0xbe,0xdd)](0xab6+0x14d*-0x15+0x1*0x109d),'envs':process.env,'reporter':_0x49d47b});}catch(_0x57abfc){_0x49d47b[_0x5dddac('aiqV',0xc9,0xce,0xc2)](_0x57abfc instanceof Error?_0x57abfc[_0x4e2fa3(-0x2ee,-0x2e5,-0x2f9,'v*OV')]??_0x57abfc[_0x5dddac('(E#S',0xf0,0xeb,0xe6)+'ge']:String(_0x57abfc)),process['exitC'+'ode']=-0x3b*0x1+-0x1*-0x1a89+0x1*-0x1a4d;}
|