@guanghechen/kit-ppt 0.3.2 → 0.3.3
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(_0x569940,_0x5a44f1){const _0x364e2b={_0x3184cc:0x21a,_0x42f00a:'7&vJ',_0x4b2559:0x22d,_0x49fc24:0x217,_0x47861d:0x1f3,_0x34e151:'ldV4',_0xe4bf22:0x3ad,_0x5cab0c:0x39f,_0x51548a:0x1ff,_0x2aba02:'yUd^',_0x377efb:0x218,_0x202a14:0x39b,_0x30f9ef:0x38a,_0x28cf46:0x39e,_0x2632bc:0x1f1,_0x396046:0x1f9,_0x379420:'Pb4z',_0x5d34c5:0x3b2,_0x14e2e:0x212,_0x47e7f3:0x20a,_0x4102a6:'TiNA',_0x43fd35:0x3c3,_0x46a089:0x3c2,_0x1d9e41:0x3dc,_0xc5b340:'aW!g',_0x3678f1:0x207,_0x15a16c:'F)Vh',_0x3b924a:0x3b9,_0x3b67cd:0x3cb,_0x1b9e82:'0fIv',_0x44d1c0:0x395,_0x371c30:0x39a,_0x41900c:0x385,_0x3ff203:0x397},_0x264a76={_0xaf4d22:0x323},_0x1af146=_0x569940();function _0x29539c(_0x1d01e6,_0x1796bb,_0x5d4fa9,_0x2eb6ac){return _0x1972(_0x1796bb-_0x264a76._0xaf4d22,_0x1d01e6);}function _0x3f8513(_0x312f87,_0xcbfd14,_0x1e9386,_0x4c1133){return _0x1972(_0x4c1133- -0x299,_0xcbfd14);}while(!![]){try{const _0x1729cc=-parseInt(_0x3f8513(-_0x364e2b._0x3184cc,_0x364e2b._0x42f00a,-_0x364e2b._0x4b2559,-_0x364e2b._0x49fc24))/(-0x2f*0x5b+0x14b6*0x1+-0x400)*(-parseInt(_0x3f8513(-0x204,'yUd^',-_0x364e2b._0x47861d,-0x204))/(-0x118f*0x2+-0x34*0xa+0x8*0x4a5))+-parseInt(_0x29539c(_0x364e2b._0x34e151,0x398,_0x364e2b._0xe4bf22,_0x364e2b._0x5cab0c))/(0xb95*0x3+0x12be*0x1+-0x357a)*(-parseInt(_0x3f8513(-_0x364e2b._0x51548a,_0x364e2b._0x2aba02,-_0x364e2b._0x377efb,-0x216))/(0x21e+0xd6+-0x2f0))+parseInt(_0x29539c('W^aX',_0x364e2b._0x202a14,_0x364e2b._0x30f9ef,_0x364e2b._0x28cf46))/(0x17dc+0xa5+-0x187c)*(-parseInt(_0x3f8513(-_0x364e2b._0x2632bc,'z#h^',-_0x364e2b._0x396046,-0x1fa))/(-0x211*-0xf+0x1f6e+0xe1*-0x47))+parseInt(_0x29539c(_0x364e2b._0x379420,0x39c,_0x364e2b._0x5d34c5,0x383))/(-0x1dc6+-0x11b+0xac*0x2e)*(parseInt(_0x3f8513(-_0x364e2b._0x14e2e,'86)B',-0x203,-_0x364e2b._0x47e7f3))/(-0x2026+0x11*-0x17+-0x21b5*-0x1))+parseInt(_0x29539c(_0x364e2b._0x4102a6,_0x364e2b._0x43fd35,_0x364e2b._0x46a089,_0x364e2b._0x1d9e41))/(0x1573+0x265f+-0xbf5*0x5)*(-parseInt(_0x3f8513(-0x229,_0x364e2b._0xc5b340,-_0x364e2b._0x3678f1,-0x21b))/(0x1e7d+0x184c+-0x36bf*0x1))+parseInt(_0x29539c(_0x364e2b._0x15a16c,_0x364e2b._0x3b924a,0x3b1,_0x364e2b._0x3b67cd))/(0x1889+0xbb*0x1e+-0x2e68)+-parseInt(_0x29539c(_0x364e2b._0x1b9e82,_0x364e2b._0x44d1c0,_0x364e2b._0x371c30,_0x364e2b._0x41900c))/(-0x3b*0x7f+0x2236+-0x4e5)*(parseInt(_0x29539c('jaM$',_0x364e2b._0x3ff203,0x3a4,0x3a6))/(-0x1f*0xdf+-0x2*0x20b+0x1f24*0x1));if(_0x1729cc===_0x5a44f1)break;else _0x1af146['push'](_0x1af146['shift']());}catch(_0x436065){_0x1af146['push'](_0x1af146['shift']());}}}(_0x4e36,0x7aea+-0x5a53+0x2382d));import{CompletionCommand}from'@guanghechen/commander';import{Reporter}from'@guanghechen/reporter';import{C as _0x358c9b,P as _0x23076d}from'./command-Dt65Qwi2.mjs';import'node:module';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';function _0x1972(_0x5584f7,_0x560cd0){_0x5584f7=_0x5584f7-(-0x39*-0x60+0x1efc+-0x1*0x33eb);const _0x477c08=_0x4e36();let _0xe3b1c4=_0x477c08[_0x5584f7];if(_0x1972['PRvPjz']===undefined){var _0x81456b=function(_0x2e958d){const _0x1f7957='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3da25c='',_0x4d5daa='';for(let _0x8735e0=-0x1503+0x6b*0x9+-0xc0*-0x17,_0x2dd31a,_0xf0609b,_0x319a37=0x52d*0x6+-0x1941+-0x5cd;_0xf0609b=_0x2e958d['charAt'](_0x319a37++);~_0xf0609b&&(_0x2dd31a=_0x8735e0%(-0x1*-0x53b+-0x2155+0x1c1e)?_0x2dd31a*(-0x5*-0x401+-0x1b5b+0x2*0x3cb)+_0xf0609b:_0xf0609b,_0x8735e0++%(-0x65e*0x3+0x1*0x411+-0x1*-0xf0d))?_0x3da25c+=String['fromCharCode'](-0x3*0x5ae+0x116f*-0x1+-0x14*-0x1c6&_0x2dd31a>>(-(0xd6*-0x17+-0x2265+-0x1*-0x35a1)*_0x8735e0&0x1ca8+-0x1230*-0x1+0xd*-0x39a)):0x1*0x14b0+0x660+-0x1*0x1b10){_0xf0609b=_0x1f7957['indexOf'](_0xf0609b);}for(let _0x41a8ca=-0xd7b*-0x1+-0x7a5*-0x5+-0x33b4,_0x3e1cfc=_0x3da25c['length'];_0x41a8ca<_0x3e1cfc;_0x41a8ca++){_0x4d5daa+='%'+('00'+_0x3da25c['charCodeAt'](_0x41a8ca)['toString'](0x1172+-0xb18+-0x64a))['slice'](-(-0x67d+-0x1979*0x1+0x155*0x18));}return decodeURIComponent(_0x4d5daa);};const _0x2e5755=function(_0x14adb0,_0x49de13){let _0x5e85c1=[],_0xc8b344=-0x1de6+-0x35*0x8f+-0x1*-0x3b81,_0x255708,_0x348edc='';_0x14adb0=_0x81456b(_0x14adb0);let _0xda8b5f;for(_0xda8b5f=-0x1564+0xef7+0x66d;_0xda8b5f<-0x5b8+-0x2400+0x2ab8;_0xda8b5f++){_0x5e85c1[_0xda8b5f]=_0xda8b5f;}for(_0xda8b5f=-0x8*-0x34a+0x9fd*-0x2+-0x656;_0xda8b5f<-0x2284+-0x17*-0xd3+-0x585*-0x3;_0xda8b5f++){_0xc8b344=(_0xc8b344+_0x5e85c1[_0xda8b5f]+_0x49de13['charCodeAt'](_0xda8b5f%_0x49de13['length']))%(0x1d1*0xf+-0x105d+-0x9e2),_0x255708=_0x5e85c1[_0xda8b5f],_0x5e85c1[_0xda8b5f]=_0x5e85c1[_0xc8b344],_0x5e85c1[_0xc8b344]=_0x255708;}_0xda8b5f=0xb67+0x1c3*0x12+-0x11b*0x27,_0xc8b344=-0x6f1+0x4*-0x332+0x99*0x21;for(let _0x54e65f=0xb45*-0x3+0x1b37+-0x8*-0xd3;_0x54e65f<_0x14adb0['length'];_0x54e65f++){_0xda8b5f=(_0xda8b5f+(0x1*0x144d+-0x10b5+0x397*-0x1))%(-0x26a6+-0x118f*0x2+-0x15c*-0x37),_0xc8b344=(_0xc8b344+_0x5e85c1[_0xda8b5f])%(0x13*0x6b+0x40d*0x2+0xf0b*-0x1),_0x255708=_0x5e85c1[_0xda8b5f],_0x5e85c1[_0xda8b5f]=_0x5e85c1[_0xc8b344],_0x5e85c1[_0xc8b344]=_0x255708,_0x348edc+=String['fromCharCode'](_0x14adb0['charCodeAt'](_0x54e65f)^_0x5e85c1[(_0x5e85c1[_0xda8b5f]+_0x5e85c1[_0xc8b344])%(-0x19f4*0x1+0x21e+0x18d6)]);}return _0x348edc;};_0x1972['ERbaDW']=_0x2e5755,_0x1972['NJPlLX']={},_0x1972['PRvPjz']=!![];}const _0x36eb68=_0x477c08[0x17dc+0xa5+-0x1881],_0x4b1666=_0x5584f7+_0x36eb68,_0xb59188=_0x1972['NJPlLX'][_0x4b1666];return!_0xb59188?(_0x1972['DKiznr']===undefined&&(_0x1972['DKiznr']=!![]),_0xe3b1c4=_0x1972['ERbaDW'](_0xe3b1c4,_0x560cd0),_0x1972['NJPlLX'][_0x4b1666]=_0xe3b1c4):_0xe3b1c4=_0xb59188,_0xe3b1c4;}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';function _0x4e36(){const _0x45595f=['jfS4W7lcNCksWQlcIW','hSolW7D0n10nnYhdNSk4WPtdMW','DNrJqmkFoqL1WRZcQqarWPm','xCk4WOldKmoVW5BcK1xdHmkWa8k7','lYaeWQhcNG','aSoMW43dIZK','W4hcVtZdJKKHvsu','W69jW4lcQmojAMFdLW','WPhdT8osWQZcVG','DmkKWR7dNx4','WOCQe8oU','mdaz','jhJcSq8ZkK02jXrNoSom','W4/cImojgmoX','nrRdHG','W5BdHqvPtq','d8kqBIzOA1j8W4ibFW','WQRdTW7cVumdlW','ymk6W7CEkq','csSmESoX','ndy0f8of','WPLUo1O','WP9VW7RcTSo0iCkvAq','Cd/dOvLT','qSkVW5hdOSoW','W7NcRmoyW5FcMa','WOJcOW0ujq','WOG+hCo/Cq','jhZcVqi2lKSoetLWjmof','mmoYW7NcGtNdKdOsW5b/W70','W7qtbuVdVuJdIZi4f8k8','bbmNW47cOG','WPNcMgjLkq','ELhdLSo2W4K','EbfRW7pcSW','WQhcLGVcLLuJmSoI','W4NdU1XgEmkpkdyxyYnmkW','DCo3W7G','W6NcHSoqxZy','W7RcImojrYK','WRNdNmoVqG90icS','WOFcP0tdMuO','WRKiW7NcQSoY','W5jQiqtcOa','WOJdNCkesmk6BxztWQFcGSoW','W43dGZyTFCkIW6jPbCohtq','WPHuB8kGiNyS','cSkwAcPUqwX+W58tDa','kGTaWOa','i18sW4m1'];_0x4e36=function(){return _0x45595f;};return _0x4e36();}function _0x152508(_0xfcf49e,_0x5bbb5e,_0x30aef3,_0x39e660){const _0x40e059={_0x44304d:0xd6};return _0x1972(_0x39e660-_0x40e059._0x44304d,_0x30aef3);}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';import'node:buffer';import'entities';import'pptxgenjs';import'jszip';import'os';function _0x48237c(_0x2b8839,_0x4b56b0,_0x4b6591,_0x22f42a){const _0x4979e4={_0x21698f:0x23};return _0x1972(_0x2b8839- -_0x4979e4._0x21698f,_0x4b56b0);}import'node:url';const _0x36db58={};_0x36db58[_0x152508(0x154,0x15b,'*G^E',0x150)+'x']=_0x358c9b;const _0x59fbff=new Reporter(_0x36db58),_0x3eac41=new _0x23076d(),_0x1ccd74={};_0x1ccd74['progr'+_0x152508(0x15b,0x163,'ROe5',0x14d)+'e']=_0x358c9b,_0x1ccd74[_0x152508(0x156,0x161,'86)B',0x151)]={},_0x1ccd74[_0x152508(0x156,0x161,'86)B',0x151)]['bash']='~/.co'+'nfig/'+_0x48237c(0x5e,'V%Mr',0x69,0x5f)+_0x48237c(0x4e,'A7yF',0x42,0x36)+_0x48237c(0x66,'aW!g',0x58,0x73)+'s/'+_0x358c9b+_0x48237c(0x74,'aB8m',0x64,0x71),_0x1ccd74[_0x152508(0x156,0x161,'86)B',0x151)]['fish']=_0x152508(0x188,0x177,'W^aX',0x171)+_0x48237c(0x62,'V!1t',0x5d,0x5e)+_0x152508(0x154,0x154,'qC)N',0x161)+_0x152508(0x156,0x182,'pRo%',0x16e)+_0x152508(0x15e,0x188,'RjL&',0x173)+'s/'+_0x358c9b+'.fish',_0x1ccd74[_0x152508(0x156,0x161,'86)B',0x151)][_0x152508(0x17d,0x188,'poA*',0x178)]=_0x152508(0x178,0x16f,'[fwG',0x16a)+_0x152508(0x160,0x15a,'t@Sx',0x163)+_0x48237c(0x70,'6E0N',0x72,0x5b)+_0x152508(0x172,0x17b,'z#h^',0x168)+'etion'+'s/'+_0x358c9b+_0x48237c(0x64,'RjL&',0x7d,0x5e),_0x3eac41[_0x48237c(0x63,'jaM$',0x79,0x72)+'mmand'](_0x152508(0x16e,0x14f,'%&CR',0x167)+_0x152508(0x15d,0x176,'Pb4z',0x172),new CompletionCommand(_0x3eac41,_0x1ccd74));try{await _0x3eac41[_0x48237c(0x5a,'qMIe',0x64,0x5e)]({'argv':process[_0x152508(0x144,0x169,'t@Sx',0x152)][_0x152508(0x17a,0x166,'F)Vh',0x162)](-0x4*0x7d3+0x1418*0x1+0xb36),'envs':process.env,'reporter':_0x59fbff});}catch(_0x183871){_0x59fbff[_0x152508(0x143,0x161,'WvVP',0x15a)](_0x183871 instanceof Error?_0x183871['stack']??_0x183871[_0x152508(0x133,0x14a,'qMIe',0x14c)+'ge']:String(_0x183871)),process['exitC'+_0x48237c(0x5d,'sBiT',0x4a,0x45)]=-0x1*-0x164f+0x3e1+-0x1a2f;}
|