@guanghechen/kit-video 0.5.8 → 0.5.10

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/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0xdde5d3,_0xb864a7){var _0x34ce87={_0x29a8e6:0x49,_0x3fce8a:'4hJH',_0x5741fd:0x549,_0x12041a:'mF5&',_0x5e3a11:0x557,_0x4f1c0f:0x552,_0xc53fea:0x556,_0x17bb58:0x3d,_0x23606f:'ru[!',_0x2f83eb:0x558,_0x4b2fa4:0x550,_0xdd9eae:'^xn*',_0x40cbde:0x559,_0x5adbad:0x43,_0x30e4bf:0x4d,_0x43bfeb:0x3f,_0x2f8e3c:0x48,_0x1b1cdc:'Acvq',_0x1ccbf1:0x54f,_0x5c05bb:0x546,_0x252fdc:0x54a,_0x4eba8e:0x45,_0x1f1376:0x4b,_0x13cfb0:0x43,_0x54e5d2:'^SzV',_0x1a0ae2:0x47,_0x39aea8:0x51,_0x3a998b:0x4d,_0x460591:0x54c,_0x3843b1:0x54d},_0x1a5495={_0x5afc8b:0x13c},_0x386f58={_0x556ab4:0x3cf},_0x118d1b=_0xdde5d3();function _0x41c073(_0x23974b,_0x15a494,_0x4189cf,_0x147b64){return _0x446b(_0x15a494-_0x386f58._0x556ab4,_0x23974b);}function _0x29e40a(_0x58ef6d,_0x324112,_0x231f79,_0x57a7c3){return _0x446b(_0x58ef6d- -_0x1a5495._0x5afc8b,_0x57a7c3);}while(!![]){try{var _0x2910d6=-parseInt(_0x29e40a(0x3f,0x39,_0x34ce87._0x29a8e6,_0x34ce87._0x3fce8a))/(-0x1098*-0x1+0x121*0x2+-0x3c5*0x5)*(-parseInt(_0x41c073('#)g3',0x551,_0x34ce87._0x5741fd,0x551))/(0x2e7*-0xd+-0x9b3+0x2f70))+-parseInt(_0x41c073(_0x34ce87._0x12041a,_0x34ce87._0x5e3a11,_0x34ce87._0x4f1c0f,_0x34ce87._0xc53fea))/(0xfa2*-0x2+-0x8d1+-0x2*-0x140c)*(-parseInt(_0x29e40a(_0x34ce87._0x17bb58,0x34,0x35,'SD3d'))/(0x2423+-0x248a+0x6b))+parseInt(_0x41c073(_0x34ce87._0x23606f,_0x34ce87._0x2f83eb,0x555,_0x34ce87._0x4b2fa4))/(-0x15e1+-0x1*0x1f1b+0x3501)*(-parseInt(_0x41c073(_0x34ce87._0xdd9eae,_0x34ce87._0x40cbde,0x553,_0x34ce87._0x5e3a11))/(-0x1*0xcc2+0x2289+-0x15c1*0x1))+parseInt(_0x29e40a(_0x34ce87._0x5adbad,_0x34ce87._0x30e4bf,_0x34ce87._0x43bfeb,_0x34ce87._0x12041a))/(-0xe79+0x10b8+-0x238)*(parseInt(_0x29e40a(0x40,_0x34ce87._0x2f8e3c,_0x34ce87._0x5adbad,'mF5&'))/(-0x3*-0x812+-0x1*-0x1978+0x9ee*-0x5))+-parseInt(_0x41c073(_0x34ce87._0x1b1cdc,_0x34ce87._0x1ccbf1,_0x34ce87._0x5c05bb,_0x34ce87._0x252fdc))/(0x186*0x14+0xa+-0x1e79)+parseInt(_0x29e40a(_0x34ce87._0x4eba8e,_0x34ce87._0x1f1376,_0x34ce87._0x13cfb0,_0x34ce87._0x54e5d2))/(0x2ea*-0x1+0x14df+0x21*-0x8b)*(parseInt(_0x29e40a(_0x34ce87._0x1a0ae2,_0x34ce87._0x39aea8,_0x34ce87._0x3a998b,'uiC['))/(0x1958+-0x2ff+0x5*-0x476))+-parseInt(_0x41c073(_0x34ce87._0x54e5d2,_0x34ce87._0x460591,_0x34ce87._0x3843b1,0x548))/(-0x1583*0x1+-0x7a*-0x43+-0xa5f);if(_0x2910d6===_0xb864a7)break;else _0x118d1b['push'](_0x118d1b['shift']());}catch(_0x468c48){_0x118d1b['push'](_0x118d1b['shift']());}}}(_0x4b7a,-0x44f81+0x53022+0x7ec73));export{V as default}from'./command-rAABScWO.mjs';import'@guanghechen/commander/node';import'node:fs';function _0x446b(_0x240331,_0x3dbdc2){_0x240331=_0x240331-(-0xb6a*-0x2+-0x36e*-0xb+-0x3*0x13b2);var _0x18545a=_0x4b7a();var _0x224185=_0x18545a[_0x240331];if(_0x446b['txMraH']===undefined){var _0x2bf148=function(_0x468c48){var _0x194491='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5c23e7='',_0xfeb925='';for(var _0x806be2=0x61*0x55+-0x12*-0x214+-0x459d*0x1,_0x2b3778,_0x259263,_0x50a58a=0x1c49+-0x7*-0x13c+0xc4f*-0x3;_0x259263=_0x468c48['charAt'](_0x50a58a++);~_0x259263&&(_0x2b3778=_0x806be2%(0x12c1+0x4*0x14b+-0x17e9)?_0x2b3778*(0x121*-0x7+-0x1039+0x1860)+_0x259263:_0x259263,_0x806be2++%(0x157b+-0x1c85+0x70e))?_0x5c23e7+=String['fromCharCode'](0x1453*0x1+0xe*0x1c+-0x14dc&_0x2b3778>>(-(0x33*-0xf+-0x15b*0x13+0x1cc0)*_0x806be2&-0xaf1*0x2+0x2df+0x1*0x1309)):-0x187b+-0x2680+-0x3efb*-0x1){_0x259263=_0x194491['indexOf'](_0x259263);}for(var _0x2fb0dd=-0x1b8*-0x1+-0x2177+0x7*0x489,_0x2af9aa=_0x5c23e7['length'];_0x2fb0dd<_0x2af9aa;_0x2fb0dd++){_0xfeb925+='%'+('00'+_0x5c23e7['charCodeAt'](_0x2fb0dd)['toString'](0x144f*0x1+0xe1c+-0x225b))['slice'](-(-0x1beb+-0x11*0x12f+0x3*0x1004));}return decodeURIComponent(_0xfeb925);};var _0x2910d6=function(_0x13cf5b,_0x1355bb){var _0x2ed7f2=[],_0x2bf809=0x1*-0x1313+-0x67*0x3b+0x1568*0x2,_0x553782,_0x52f933='';_0x13cf5b=_0x2bf148(_0x13cf5b);var _0x1988f6;for(_0x1988f6=-0x5*0x709+-0x17*-0x55+0x2*0xdc5;_0x1988f6<0xd2*0xf+-0x586*0x7+0x1b5c;_0x1988f6++){_0x2ed7f2[_0x1988f6]=_0x1988f6;}for(_0x1988f6=-0xd*0xbf+0xef5+-0x542;_0x1988f6<-0x1*0x8d1+-0x1*-0xe35+-0x464*0x1;_0x1988f6++){_0x2bf809=(_0x2bf809+_0x2ed7f2[_0x1988f6]+_0x1355bb['charCodeAt'](_0x1988f6%_0x1355bb['length']))%(-0x18a8+-0x2561+0x3f09),_0x553782=_0x2ed7f2[_0x1988f6],_0x2ed7f2[_0x1988f6]=_0x2ed7f2[_0x2bf809],_0x2ed7f2[_0x2bf809]=_0x553782;}_0x1988f6=-0xa1a+0xb4a+-0x130,_0x2bf809=0x2289+0x19c6+-0x3c4f*0x1;for(var _0x3d9e12=-0xe79+0x10b8+-0x23f;_0x3d9e12<_0x13cf5b['length'];_0x3d9e12++){_0x1988f6=(_0x1988f6+(-0x3*-0x812+-0x1*-0x1978+0x108f*-0x3))%(0x186*0x14+0xa+-0x1d82),_0x2bf809=(_0x2bf809+_0x2ed7f2[_0x1988f6])%(0x2ea*-0x1+0x14df+0x3*-0x5a7),_0x553782=_0x2ed7f2[_0x1988f6],_0x2ed7f2[_0x1988f6]=_0x2ed7f2[_0x2bf809],_0x2ed7f2[_0x2bf809]=_0x553782,_0x52f933+=String['fromCharCode'](_0x13cf5b['charCodeAt'](_0x3d9e12)^_0x2ed7f2[(_0x2ed7f2[_0x1988f6]+_0x2ed7f2[_0x2bf809])%(0x1958+-0x2ff+0x5*-0x445)]);}return _0x52f933;};_0x446b['LCTAxd']=_0x2910d6,_0x446b['CRkMiI']={},_0x446b['txMraH']=!![];}var _0xdde5d3=_0x18545a[-0x1583*0x1+-0x7a*-0x43+-0xa6b],_0xb864a7=_0x240331+_0xdde5d3,_0x118d1b=_0x446b['CRkMiI'][_0xb864a7];return!_0x118d1b?(_0x446b['RLOEJh']===undefined&&(_0x446b['RLOEJh']=!![]),_0x224185=_0x446b['LCTAxd'](_0x224185,_0x3dbdc2),_0x446b['CRkMiI'][_0xb864a7]=_0x224185):_0x224185=_0x118d1b,_0x224185;}import'node:path';import'@guanghechen/string';import'node:crypto';import'node:child_process';import'@guanghechen/reporter';function _0x4b7a(){var _0x2747b0=['q8kZWRjCW7ZdQaK','W7FcNSo2WPpdMrSHWP/cK8kriq','wfNcHZ3dIKqoWRNcGIDL','wgyswmoQW6itW5W0DCkQWPW','CCkpsCoNfCodFCkrWOi','W73cM3pdShHKWPxdQSoqiq','WRJcLmkvCgnEwSonvW','xe/cS03dQmk0WQ1SW7abECoDnq','W7JdPKaJkSo7da','ju9dvSo0WQriESk2WQPNWRtdOa','uCoLE8kXd8kevmo7cIdcKq','W6COW7ldU2dcUWW9of7cTG7dOq','WQntb8k6WOdcUCkBlCohtCk6WOC','WRVcNCkrbXG9jCo4FJNdMYxdGG','zMrAWQHajJq4W41MWQJcTYy','W4DiW7ZdQSkVk8ohomkNWQBdVW','WR3dS8ohCeXEFW','v2xcR8o1WQFdH8kBWPvQWQXFtmkj','ygvDWQ8PyfWyW6vC'];_0x4b7a=function(){return _0x2747b0;};return _0x4b7a();}import'@guanghechen/env';import'node:os';
1
+ function _0x4a20(_0x45d41b,_0x1fa89c){_0x45d41b=_0x45d41b-(-0x2107+-0x3df*0x5+0x353a);var _0x289131=_0x6ea9();var _0x9625ab=_0x289131[_0x45d41b];if(_0x4a20['hMSjai']===undefined){var _0x1b8ed6=function(_0x39d841){var _0x21dd9e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x166ca8='',_0x5a507c='';for(var _0x2e547e=0x1ea7*-0x1+0x1*0x765+0x1742,_0x189e70,_0x49fbda,_0xf028b1=0xb*-0x360+-0x13b2+0x38d2;_0x49fbda=_0x39d841['charAt'](_0xf028b1++);~_0x49fbda&&(_0x189e70=_0x2e547e%(-0x44*-0x1e+0x1*-0x8f4+0x100)?_0x189e70*(-0x1b81*-0x1+-0x1e6f+0x32e*0x1)+_0x49fbda:_0x49fbda,_0x2e547e++%(0xe5a+-0x1*0x1e4d+0xff7))?_0x166ca8+=String['fromCharCode'](0x5*0x1f3+-0xa*-0x52+-0xbf4&_0x189e70>>(-(-0x142c*-0x1+0x2*-0x48f+-0xb0c)*_0x2e547e&0x1ee5+-0x396+0x1*-0x1b49)):0x2044+0x1e6c+0x2*-0x1f58){_0x49fbda=_0x21dd9e['indexOf'](_0x49fbda);}for(var _0x2a1769=0xce1+0x1c4d*0x1+0x1f6*-0x15,_0x50bcef=_0x166ca8['length'];_0x2a1769<_0x50bcef;_0x2a1769++){_0x5a507c+='%'+('00'+_0x166ca8['charCodeAt'](_0x2a1769)['toString'](0xb*0x1c+0x40*-0x33+0x5ce*0x2))['slice'](-(0x16f*-0xb+-0x220+0x1*0x11e7));}return decodeURIComponent(_0x5a507c);};var _0x443cc2=function(_0xf6a450,_0x135a6b){var _0x2ed198=[],_0x4ca496=-0x3f*-0x58+-0x116e+0x2*-0x21d,_0x2bf22b,_0x2c8dcf='';_0xf6a450=_0x1b8ed6(_0xf6a450);var _0x32b228;for(_0x32b228=0x14fb+-0xab4+-0xa47;_0x32b228<0x1f2b+0x412+0x223d*-0x1;_0x32b228++){_0x2ed198[_0x32b228]=_0x32b228;}for(_0x32b228=-0xcfb*-0x1+-0x343+-0x9b8;_0x32b228<0x18d+0x17*0x131+-0x6fd*0x4;_0x32b228++){_0x4ca496=(_0x4ca496+_0x2ed198[_0x32b228]+_0x135a6b['charCodeAt'](_0x32b228%_0x135a6b['length']))%(0x5*0x24d+-0xa*0x347+0x1645),_0x2bf22b=_0x2ed198[_0x32b228],_0x2ed198[_0x32b228]=_0x2ed198[_0x4ca496],_0x2ed198[_0x4ca496]=_0x2bf22b;}_0x32b228=-0x23d8+0x187e+0x2*0x5ad,_0x4ca496=0x78b*-0x4+-0x2b*0x79+0x327f;for(var _0x1aee52=-0xaca*0x1+0x1cb*-0xf+0x25af;_0x1aee52<_0xf6a450['length'];_0x1aee52++){_0x32b228=(_0x32b228+(-0x4ca+-0xdb5+0x1280))%(0xf38+-0x45*-0x5e+-0x278e),_0x4ca496=(_0x4ca496+_0x2ed198[_0x32b228])%(-0xe42+-0x2a6*0x6+0x1f26),_0x2bf22b=_0x2ed198[_0x32b228],_0x2ed198[_0x32b228]=_0x2ed198[_0x4ca496],_0x2ed198[_0x4ca496]=_0x2bf22b,_0x2c8dcf+=String['fromCharCode'](_0xf6a450['charCodeAt'](_0x1aee52)^_0x2ed198[(_0x2ed198[_0x32b228]+_0x2ed198[_0x4ca496])%(-0x1b59*-0x1+0x5*-0x78d+0xb68)]);}return _0x2c8dcf;};_0x4a20['VxvAig']=_0x443cc2,_0x4a20['UeXftx']={},_0x4a20['hMSjai']=!![];}var _0x40b56c=_0x289131[-0x6f*0x49+0x226d+0x47*-0xa],_0x26c2a1=_0x45d41b+_0x40b56c,_0x11b44e=_0x4a20['UeXftx'][_0x26c2a1];return!_0x11b44e?(_0x4a20['ETIVrm']===undefined&&(_0x4a20['ETIVrm']=!![]),_0x9625ab=_0x4a20['VxvAig'](_0x9625ab,_0x1fa89c),_0x4a20['UeXftx'][_0x26c2a1]=_0x9625ab):_0x9625ab=_0x11b44e,_0x9625ab;}(function(_0x90edd5,_0x59b45e){var _0x272228={_0x518d83:0x1af,_0x24872a:0x1a9,_0x41a48d:'dHSA',_0x1974b0:0x221,_0xb879f4:0x217,_0x35e334:'q0CK',_0x56491c:0x21d,_0x4a613a:0x221,_0x4615f8:0x222,_0x6d8822:'O0Hc',_0x44bf97:0x228,_0x3a012d:0x23a,_0x77810b:'MRYz',_0x2f2c9a:0x227,_0x3e7c01:0x22f,_0x3f6fc8:0x223,_0x3df393:0x1b1,_0x4d4662:0x1b6,_0x19b17f:0x1ae,_0x46257e:'V&Kq',_0x54893e:0x1b9,_0x19e11b:0x1be,_0xab2b37:'*wS]',_0x4dd9d0:0x1bd,_0x59a658:'D7iW',_0x4d7b3a:0x1bf,_0x462da7:0x1b7,_0x5f1630:'i[R5',_0x48a4e6:0x1a9},_0xabb594={_0x4c2823:0x308};function _0x3feb0e(_0x1c941b,_0x1978e8,_0x11081e,_0x7330b6){return _0x4a20(_0x7330b6- -_0xabb594._0x4c2823,_0x1c941b);}var _0x4d82d7=_0x90edd5();function _0x10c8ed(_0x15f4fc,_0x1ea3ff,_0x1450ab,_0x2ada6f){return _0x4a20(_0x1ea3ff-0xd4,_0x15f4fc);}while(!![]){try{var _0x139cbd=parseInt(_0x10c8ed('$&HL',0x1ad,_0x272228._0x518d83,_0x272228._0x24872a))/(0x14fb+-0xab4+-0xa46)+-parseInt(_0x3feb0e(_0x272228._0x41a48d,-_0x272228._0x1974b0,-_0x272228._0xb879f4,-0x21c))/(0x1f2b+0x412+0x233b*-0x1)+-parseInt(_0x3feb0e(_0x272228._0x35e334,-_0x272228._0x56491c,-_0x272228._0x4a613a,-_0x272228._0x4615f8))/(-0xcfb*-0x1+-0x343+-0x9b5)*(parseInt(_0x3feb0e(_0x272228._0x6d8822,-_0x272228._0x44bf97,-_0x272228._0x3a012d,-0x230))/(0x18d+0x17*0x131+-0x39e*0x8))+-parseInt(_0x3feb0e(_0x272228._0x77810b,-_0x272228._0x4615f8,-_0x272228._0x2f2c9a,-_0x272228._0x44bf97))/(0x5*0x24d+-0xa*0x347+0x154a)*(parseInt(_0x3feb0e('1TKs',-_0x272228._0x3e7c01,-_0x272228._0x3f6fc8,-0x227))/(-0x23d8+0x187e+0x10*0xb6))+parseInt(_0x10c8ed('#)#z',_0x272228._0x3df393,_0x272228._0x4d4662,_0x272228._0x19b17f))/(0x78b*-0x4+-0x2b*0x79+0x3286)*(parseInt(_0x10c8ed(_0x272228._0x46257e,_0x272228._0x54893e,_0x272228._0x19e11b,_0x272228._0x3df393))/(-0xaca*0x1+0x1cb*-0xf+0x25b7))+parseInt(_0x10c8ed(_0x272228._0xab2b37,_0x272228._0x4dd9d0,0x1b8,0x1b5))/(-0x4ca+-0xdb5+0x1288)+-parseInt(_0x10c8ed(_0x272228._0x59a658,_0x272228._0x4d7b3a,_0x272228._0x462da7,_0x272228._0x462da7))/(0xf38+-0x45*-0x5e+-0x2884)*(-parseInt(_0x10c8ed(_0x272228._0x5f1630,0x1ae,_0x272228._0x48a4e6,0x1b1))/(-0xe42+-0x2a6*0x6+0x1e31));if(_0x139cbd===_0x59b45e)break;else _0x4d82d7['push'](_0x4d82d7['shift']());}catch(_0x289294){_0x4d82d7['push'](_0x4d82d7['shift']());}}}(_0x6ea9,-0xc02d9*-0x1+0x43*-0x3f5b+0xd261c));export{V as default}from'./command-DE3PjokJ.mjs';import'@guanghechen/commander/node';import'node:fs';import'node:path';import'@guanghechen/string';import'@guanghechen/kit-image';function _0x6ea9(){var _0x4b02c=['ss8oW7CAgmkGW5BcVmkR','FJ/cStRdVchcNmkFn8kX','swrYALOgxSkdoCowd8oCW70','hKm9rYHlWQOVCSoJWPZdJmkK','bSkGztbpW6ziW4arW7m','fgdcISoMW58/C2xcKmoBtmodtG','WQNcNmkgufrcW6ir','W5xcGgFdLaFdMSozAq','pGj2W64CbmkPWORcUCoO','WRuqWRNdI0L6Femfz8o5WQrW','rmolW5axW7FcN8o6WQK','W7LOsCk7W6btW44dpmkkW78HW6K','mtLsAJKnWPa9WRCJasVdSW','emoGWOi+W4tcICoAW41NoCkHW4i','WQOjW6uLWQ8UWRxcHmkeWPVdVq','AIxdImo9iNCdqW','cSoUWP8MhSojchjMW7JdGG','W7tcJmo2W6hcV8ohggJdNNjvWPzl','W5jPk33dGcyj','eghcGCoKW58/budcH8o7BCoF','W5OeWOfYWRhdRhq'];_0x6ea9=function(){return _0x4b02c;};return _0x6ea9();}import'@guanghechen/reporter';import'@guanghechen/env';import'node:os';import'node:child_process';import'@guanghechen/kit-tts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/kit-video",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "AI-powered video generation from scenario files",
5
5
  "type": "module",
6
6
  "exports": {
@@ -46,15 +46,17 @@
46
46
  ],
47
47
  "license": "MIT",
48
48
  "dependencies": {
49
- "@guanghechen/commander": "4.7.3",
49
+ "@guanghechen/commander": "4.7.6",
50
50
  "@guanghechen/env": "2.0.2",
51
51
  "@guanghechen/reporter": "3.3.0",
52
52
  "@guanghechen/string": "2.0.2",
53
53
  "pdf-lib": "1.17.1",
54
- "pptxgenjs": "4.0.1"
54
+ "pptxgenjs": "4.0.1",
55
+ "@guanghechen/kit-image": "0.1.1",
56
+ "@guanghechen/kit-tts": "0.1.1"
55
57
  },
56
58
  "peerDependencies": {
57
- "@guanghechen/commander": "4.7.3"
59
+ "@guanghechen/commander": "4.7.6"
58
60
  },
59
61
  "peerDependenciesMeta": {
60
62
  "@guanghechen/commander": {