UNPKG

@picoxr/web-cli-core

Version:

Core Library to generate, build and sign TWA projects

1 lines 3.24 kB
'use strict';var _0x415e41=_0x5e7b;(function(_0x5c0ae0,_0x1f9b99){var _0x197084=_0x5e7b,_0x204a30=_0x5c0ae0();while(!![]){try{var _0x526ef7=-parseInt(_0x197084(0xa0))/0x1+parseInt(_0x197084(0x9e))/0x2+-parseInt(_0x197084(0xa7))/0x3*(-parseInt(_0x197084(0x97))/0x4)+-parseInt(_0x197084(0xa2))/0x5+-parseInt(_0x197084(0xa1))/0x6+-parseInt(_0x197084(0x93))/0x7+parseInt(_0x197084(0x9a))/0x8;if(_0x526ef7===_0x1f9b99)break;else _0x204a30['push'](_0x204a30['shift']());}catch(_0x411296){_0x204a30['push'](_0x204a30['shift']());}}}(_0x29bb,0x4871e));function _0x5e7b(_0x46c3fa,_0x1627a0){var _0x29bbde=_0x29bb();return _0x5e7b=function(_0x5e7b6c,_0x4b9a6d){_0x5e7b6c=_0x5e7b6c-0x8b;var _0x1e0235=_0x29bbde[_0x5e7b6c];return _0x1e0235;},_0x5e7b(_0x46c3fa,_0x1627a0);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x415e41(0x8c)]=void 0x0;;function _0x29bb(){var _0x2b7e80=['ConsoleLog','dim','warn','verbose','info','tag','inverse','2606268xgxRhL','log','red','\x1b[0m','74496NohTwt','\x1b[7m','\x1b[31m','8646744iiQnVg','error','newLog','\x1b[36m','492196BAUVlr','ERROR\x20','367056xjWRUw','1179834meURbA','843420muyHbZ','output','yellow','\x1b[33m','WARNING\x20','12fynkVT','prefix','concat'];_0x29bb=function(){return _0x2b7e80;};return _0x29bb();}class ConsoleLog{constructor(_0x911634='',_0x34af5b=![],_0x31d67a=console){var _0x350bee=_0x415e41;this[_0x350bee(0x91)]=_0x911634,this['verbose']=_0x34af5b,this[_0x350bee(0xa8)]=this[_0x350bee(0x92)](_0x911634),this[_0x350bee(0xa3)]=_0x31d67a;}['debug'](_0xc35ed4,..._0x2ac2d9){var _0x256641=_0x415e41;if(!this[_0x256641(0x8f)])return;this[_0x256641(0x94)](this['output']['log'],this[_0x256641(0x8d)](_0xc35ed4),..._0x2ac2d9);}[_0x415e41(0x90)](_0x3b92e1,..._0x2563a2){var _0x5cc065=_0x415e41;this[_0x5cc065(0x94)](this[_0x5cc065(0xa3)]['log'],_0x3b92e1,..._0x2563a2);}[_0x415e41(0x8e)](_0x41f615,..._0x1bc779){var _0xb86857=_0x415e41;this[_0xb86857(0x94)](this[_0xb86857(0xa3)]['warn'],this[_0xb86857(0xa4)](_0xb86857(0xa6)+_0x41f615),..._0x1bc779);}[_0x415e41(0x9b)](_0x1e913c,..._0x476482){var _0x31ffcd=_0x415e41;this['output'][_0x31ffcd(0x9b)]('\x0a'),this[_0x31ffcd(0x94)](this[_0x31ffcd(0xa3)][_0x31ffcd(0x9b)],this['red'](_0x31ffcd(0x9f)+_0x1e913c),..._0x476482),this[_0x31ffcd(0xa3)][_0x31ffcd(0x9b)]('\x0a');}['setVerbose'](_0x515253){var _0x27ece4=_0x415e41;this[_0x27ece4(0x8f)]=_0x515253;}[_0x415e41(0x9c)](_0x43408b){var _0xdc248a=_0x415e41;return this[_0xdc248a(0x91)]&&(_0x43408b=this[_0xdc248a(0x91)]+'\x20'+_0x43408b),new ConsoleLog(_0x43408b,this['verbose'],this[_0xdc248a(0xa3)]);}[_0x415e41(0x94)](_0xac23ee,_0x33fbf0,..._0x57bffe){var _0x266c06=_0x415e41;this[_0x266c06(0xa8)]&&(_0x33fbf0=this[_0x266c06(0xa8)]+'\x20'+_0x33fbf0),_0x57bffe?_0xac23ee(...[_0x33fbf0][_0x266c06(0x8b)](_0x57bffe)):_0xac23ee(_0x33fbf0);}[_0x415e41(0x92)](_0x6a94d9){var _0x474f05=_0x415e41;return _0x474f05(0x98)+_0x6a94d9+'\x1b[0m';}[_0x415e41(0x8d)](_0x49a4a4){var _0x4b822d=_0x415e41;return _0x4b822d(0x9d)+_0x49a4a4+'\x1b[0m';}[_0x415e41(0xa4)](_0x4c3dc9){var _0x191f62=_0x415e41;return _0x191f62(0xa5)+_0x4c3dc9+_0x191f62(0x96);}[_0x415e41(0x95)](_0x3e1bc2){var _0xf9a934=_0x415e41;return _0xf9a934(0x99)+_0x3e1bc2+_0xf9a934(0x96);}}exports[_0x415e41(0x8c)]=ConsoleLog;