@guanghechen/kit-ppt 0.3.3 → 0.5.0
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(_0xa4eb1d,_0x382e53){const _0x4caeef={_0x18a532:0x3da,_0x195f23:0x3d5,_0x3c63ac:0x3cd,_0x1aeba2:0x82,_0x5f3474:'nBsK',_0x200576:0x7a,_0x5189ec:0x7b,_0xeaf71:0x8a,_0x49dd25:'acrt',_0x4b4f43:0x87,_0x52e00a:0x7b,_0x42f7d6:'7Sc4',_0xbfdc70:0x3d8,_0x4ca676:'FgT6',_0x54ca46:0x93,_0x27e2cc:0x90,_0x165db3:0xa4,_0x1263f6:'FLLW',_0x538ebc:0x3bf,_0x27af07:0x3cc,_0x15e198:0x3c5,_0x4fe798:0x89,_0x7223b0:'4akb',_0x2c0c9e:0x88,_0x2be83d:0x75,_0x11d9ae:0x91,_0x1f1b64:'JBX9',_0x5c2716:0x8e,_0x55bcdc:0x80,_0x5c224a:0x92,_0x12bb15:0x8c,_0x58df2b:0x97,_0x410f96:'J7Qg',_0x4cd6b5:0x3c0,_0x4950a5:0x3cb,_0x1d4570:0x3c8},_0x52dae4={_0x40a193:0x160},_0x327ccf={_0x4bbed1:0x1d9};function _0x3ccb27(_0x1d51f9,_0x46fefa,_0x2408ba,_0x213d30){return _0x97dc(_0x46fefa-_0x327ccf._0x4bbed1,_0x1d51f9);}function _0x235d27(_0x36e926,_0x5d6e80,_0x24b22e,_0x5415a0){return _0x97dc(_0x36e926- -_0x52dae4._0x40a193,_0x5d6e80);}const _0x418a61=_0xa4eb1d();while(!![]){try{const _0x385f92=parseInt(_0x3ccb27('GFkV',_0x4caeef._0x18a532,_0x4caeef._0x195f23,_0x4caeef._0x3c63ac))/(0x1c9f+-0x687+0x1b3*-0xd)*(parseInt(_0x235d27(_0x4caeef._0x1aeba2,_0x4caeef._0x5f3474,_0x4caeef._0x200576,_0x4caeef._0x5189ec))/(-0x2263+-0x25e2+-0x4847*-0x1))+-parseInt(_0x235d27(_0x4caeef._0xeaf71,_0x4caeef._0x49dd25,_0x4caeef._0x4b4f43,_0x4caeef._0x52e00a))/(-0xdfb*-0x2+0x19de+-0x35d1)*(-parseInt(_0x3ccb27(_0x4caeef._0x42f7d6,_0x4caeef._0xbfdc70,0x3e2,0x3c8))/(-0x2645+0xdc*0x13+0x15f5))+parseInt(_0x235d27(0x81,_0x4caeef._0x4ca676,0x96,_0x4caeef._0x54ca46))/(0x1529+0x260f+0x5*-0xbd7)+parseInt(_0x235d27(_0x4caeef._0x54ca46,']fej',_0x4caeef._0x27e2cc,_0x4caeef._0x165db3))/(0x6b7+0x1f1b+-0x25cc)+-parseInt(_0x3ccb27(_0x4caeef._0x1263f6,_0x4caeef._0x538ebc,_0x4caeef._0x27af07,_0x4caeef._0x15e198))/(0x19*0xa+-0xef*-0x29+-0x273a)*(parseInt(_0x235d27(_0x4caeef._0x4fe798,_0x4caeef._0x7223b0,_0x4caeef._0x2c0c9e,_0x4caeef._0x2be83d))/(0x47*0x21+0x5*-0x340+0x721))+-parseInt(_0x235d27(_0x4caeef._0x11d9ae,_0x4caeef._0x1f1b64,_0x4caeef._0x5c2716,_0x4caeef._0x55bcdc))/(0x359*-0x2+0x6f*0x3b+-0x12da)+-parseInt(_0x235d27(_0x4caeef._0x5c224a,'J]JC',_0x4caeef._0x12bb15,_0x4caeef._0x58df2b))/(0x153*0x1+0x1fc4+-0x210d*0x1)*(parseInt(_0x3ccb27(_0x4caeef._0x410f96,_0x4caeef._0x4cd6b5,_0x4caeef._0x4950a5,_0x4caeef._0x1d4570))/(-0x177+0x675+0x7*-0xb5));if(_0x385f92===_0x382e53)break;else _0x418a61['push'](_0x418a61['shift']());}catch(_0x3de1f6){_0x418a61['push'](_0x418a61['shift']());}}}(_0x4e59,-0xf7631+-0x19*0xe351+0x3468c6));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import{C as _0x32e7de,P as _0xe7cde3}from'./command-BNuGgkSV.mjs';import'node:module';import'node:path';function _0x365c23(_0x11148d,_0x4521cc,_0x40d07a,_0x24ad0b){const _0x30efa8={_0x2d5d98:0x209};return _0x97dc(_0x11148d- -_0x30efa8._0x2d5d98,_0x40d07a);}import'node:fs';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';import'@yozora/tokenizer-heading';import'@yozora/tokenizer-image';import'@yozora/tokenizer-inline-code';import'@yozora/tokenizer-link';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';function _0x173bf7(_0x24dc7f,_0x49abc5,_0x199708,_0x61dc2d){const _0x1233f0={_0x440ed4:0x1eb};return _0x97dc(_0x49abc5-_0x1233f0._0x440ed4,_0x199708);}import'fs';import'image-size';import'path';import'node:buffer';import'entities';import'pptxgenjs';import'jszip';import'os';import'node:url';const _0xf30a06={};_0xf30a06[_0x365c23(-0x26,-0x37,'FLLW',-0x1a)+'x']=_0x32e7de;const _0x1a8f85=new Reporter(_0xf30a06),_0x262d00=new _0xe7cde3(),_0x57a832={};function _0x97dc(_0x3adb9a,_0x1bdae9){_0x3adb9a=_0x3adb9a-(-0x8fe*-0x2+0x1*0x13bb+-0x1*0x23e2);const _0x3604ee=_0x4e59();let _0x47da47=_0x3604ee[_0x3adb9a];if(_0x97dc['nhYKJK']===undefined){var _0x38b9d7=function(_0x4bddf6){const _0x4a8375='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x412283='',_0x478802='';for(let _0x23d1a7=0x1ef3*-0x1+0x1198*-0x2+-0x4223*-0x1,_0x314de6,_0x56752c,_0x335a55=-0x2*0x1302+-0xe5d+0x3461;_0x56752c=_0x4bddf6['charAt'](_0x335a55++);~_0x56752c&&(_0x314de6=_0x23d1a7%(0x4d*0x79+-0x3f1*-0x1+0x1*-0x2852)?_0x314de6*(0x1*0x11ea+0x1c4a+-0x11*0x2b4)+_0x56752c:_0x56752c,_0x23d1a7++%(-0xe88+0x2ba*0x7+-0x53*0xe))?_0x412283+=String['fromCharCode'](0x2a3+-0x1b34+0x1990&_0x314de6>>(-(0x65*0x53+0xd4f*-0x2+-0x61f*0x1)*_0x23d1a7&0x6b*-0x5+0xbff+-0x9e2)):-0x1797+0x1dc0+-0x1*0x629){_0x56752c=_0x4a8375['indexOf'](_0x56752c);}for(let _0x59904f=0xd3f*0x1+0x1*-0x68d+-0x2*0x359,_0x4f5d01=_0x412283['length'];_0x59904f<_0x4f5d01;_0x59904f++){_0x478802+='%'+('00'+_0x412283['charCodeAt'](_0x59904f)['toString'](-0x5f6+0x57b*-0x3+0x1677))['slice'](-(0x14b*-0xf+0xff8+0x36f));}return decodeURIComponent(_0x478802);};const _0x4ee933=function(_0x51b1ae,_0xd97fcb){let _0x2de5f9=[],_0x379183=-0x1*0x49c+0x23da+-0x1f3e,_0x24ae51,_0xf5417='';_0x51b1ae=_0x38b9d7(_0x51b1ae);let _0x3bdc94;for(_0x3bdc94=-0xbf9+0x413*-0x4+0x1c45;_0x3bdc94<-0x3*-0x2c2+-0x7e5*0x1+0x3*0x35;_0x3bdc94++){_0x2de5f9[_0x3bdc94]=_0x3bdc94;}for(_0x3bdc94=0x80b+0x4ff*-0x2+0x1f3*0x1;_0x3bdc94<-0x26c8+0x21c2+0x2*0x303;_0x3bdc94++){_0x379183=(_0x379183+_0x2de5f9[_0x3bdc94]+_0xd97fcb['charCodeAt'](_0x3bdc94%_0xd97fcb['length']))%(0x6bd+-0x4*-0x987+-0x2bd9),_0x24ae51=_0x2de5f9[_0x3bdc94],_0x2de5f9[_0x3bdc94]=_0x2de5f9[_0x379183],_0x2de5f9[_0x379183]=_0x24ae51;}_0x3bdc94=0x1ac2*-0x1+-0x1148+0x2c0a,_0x379183=0x2a5+0x1c9f+-0x1f44;for(let _0x44dc69=0x288+0x1ee0+-0x2168;_0x44dc69<_0x51b1ae['length'];_0x44dc69++){_0x3bdc94=(_0x3bdc94+(-0x2539+0x19b*0xc+-0x1a2*-0xb))%(-0x6e5+-0x258b*0x1+0xb5c*0x4),_0x379183=(_0x379183+_0x2de5f9[_0x3bdc94])%(-0xd*0x18e+0x1529+0x1*0xd),_0x24ae51=_0x2de5f9[_0x3bdc94],_0x2de5f9[_0x3bdc94]=_0x2de5f9[_0x379183],_0x2de5f9[_0x379183]=_0x24ae51,_0xf5417+=String['fromCharCode'](_0x51b1ae['charCodeAt'](_0x44dc69)^_0x2de5f9[(_0x2de5f9[_0x3bdc94]+_0x2de5f9[_0x379183])%(0x6b7+0x1f1b+-0x24d2)]);}return _0xf5417;};_0x97dc['ZvHoJv']=_0x4ee933,_0x97dc['PwSkYe']={},_0x97dc['nhYKJK']=!![];}const _0x355378=_0x3604ee[0x19*0xa+-0xef*-0x29+-0x2741],_0xa3e99=_0x3adb9a+_0x355378,_0x2784c5=_0x97dc['PwSkYe'][_0xa3e99];return!_0x2784c5?(_0x97dc['zcQrkA']===undefined&&(_0x97dc['zcQrkA']=!![]),_0x47da47=_0x97dc['ZvHoJv'](_0x47da47,_0x1bdae9),_0x97dc['PwSkYe'][_0xa3e99]=_0x47da47):_0x47da47=_0x2784c5,_0x47da47;}_0x57a832[_0x365c23(-0xc,-0x1d,'J7Qg',-0x11)+_0x365c23(-0xd,-0x8,'eBHD',0x4)+'e']=_0x32e7de,_0x57a832[_0x173bf7(0x3c8,0x3c8,'P4jO',0x3be)]={},_0x57a832[_0x173bf7(0x3c8,0x3c8,'P4jO',0x3be)][_0x365c23(-0x6,-0x11,'nBsK',-0x13)]='~/.co'+_0x365c23(-0x11,-0x21,'KY7v',-0x2)+'bash/'+_0x173bf7(0x3d2,0x3c7,'xBF0',0x3cb)+_0x173bf7(0x3d7,0x3c5,'zyv%',0x3ba)+'s/'+_0x32e7de+_0x365c23(-0x25,-0x38,'akl0',-0x17),_0x57a832[_0x173bf7(0x3c8,0x3c8,'P4jO',0x3be)]['fish']=_0x173bf7(0x3d7,0x3eb,'eJig',0x3fd)+_0x173bf7(0x3bf,0x3cb,'FLLW',0x3bc)+_0x173bf7(0x3e1,0x3db,'G4Yj',0x3dc)+_0x173bf7(0x3ec,0x3e0,'4akb',0x3cb)+_0x173bf7(0x3e7,0x3e9,'nBsK',0x3f5)+'s/'+_0x32e7de+_0x365c23(-0x33,-0x49,'nBsK',-0x4a),_0x57a832[_0x173bf7(0x3c8,0x3c8,'P4jO',0x3be)][_0x173bf7(0x3bb,0x3c2,'n&tZ',0x3cd)]=_0x365c23(-0x34,-0x47,'M$E]',-0x2e)+'nfig/'+_0x365c23(-0xe,-0x24,'P4jO',-0x14)+_0x365c23(-0x7,0x6,'eJig',-0xe)+_0x173bf7(0x3cf,0x3c3,'J7Qg',0x3b6)+'s/'+_0x32e7de+'.ps1',_0x262d00[_0x365c23(-0x24,-0x2c,'xBF0',-0x31)+_0x365c23(-0x1c,-0x1b,'xBF0',-0xe)]('compl'+'etion',new CompletionCommand(_0x262d00,_0x57a832));try{await _0x262d00[_0x365c23(-0x1a,-0x11,'[Oa*',-0x1e)]({'argv':process[_0x173bf7(0x3e3,0x3d6,'[Z[P',0x3e4)]['slice'](0x1*0x11ea+0x1c4a+-0x12*0x291),'envs':process.env,'reporter':_0x1a8f85});}catch(_0xf33b91){_0x1a8f85['error'](_0xf33b91 instanceof Error?_0xf33b91['stack']??_0xf33b91[_0x173bf7(0x3dd,0x3d7,'[6Ih',0x3c6)+'ge']:String(_0xf33b91)),process[_0x365c23(-0x2a,-0x1f,'u#@n',-0x18)+_0x173bf7(0x3eb,0x3e1,'FLLW',0x3ec)]=-0xe88+0x2ba*0x7+-0xe9*0x5;}function _0x4e59(){const _0x5e4c6c=['W64Rcaq','W4RcKv3dMmkT','ctVcStpcJvldPu5sWROAhW','yYxdRNK7','WQtdOCkay3FdOmkiaW','W7j5lKVdRq','W75wEK9p','WQ1SsfHhj181th7cIWi','r09GiSoh','ifdcUCk/W5G','qfLiiWJcLcOqW6H6W7FcVuC','WObnWQrCl8kYW6xdGCozDSk+W78','pKtcTCk+WP4','sfKz','W6jJivJdRG','DWxdQCoPW45oW6/cO8krW4ldSa','WPZdKGhcHmo6W5xdHCoYhmogk8kUW7W','nwFcV3mLW5nbWRFdVG','W7BdJCoJy8oIhqhcTvVdMa','W4fQWRRdI8o0eCorvSoLW7e','W5bYW6VcGa','uCkHW5j+Aq','W7X7iLxdPq','W4ZcQZq/hHhcOY8EW5a','WPVcUh4','j8kQEXiT','dCk5CwJcPNZdLCogW4NdRqxcKa','W4ZcQ1HLndxcHaS','WQVdMCkboNtcO8oXFSkHnuhcV8k/','DN/cPSkbWQrcW4K','WQtcKSk4j8oG','ivlcTq','WRFdOY3dM8oIo8kUWPddGSo6WPhdPmoN','jM3cHffS','WQhdPSoIpqxcPmojpmoSW5nghmkJ','kCk+FmonlSoRqe3cGmokWQq','W75aFu8t','mftcUmkRua','W5/cL1VdKmkX','W5yjW74hCq','qG7dUCoYuSkXsSoLWRu','WPdcK8oiv8oI','kmoem8kLrmoNzG','WO3dK8klrmoH','W5eCW6qa','WQFcJ0anAW','WP0BW74BDW'];_0x4e59=function(){return _0x5e4c6c;};return _0x4e59();}
|