mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-26 13:16:39 +08:00
1 line
3.5 KiB
JavaScript
1 line
3.5 KiB
JavaScript
'use strict';const _0x24b0be=_0x1b65;(function(_0x104f8d,_0x4c74f1){const _0x469c5e=_0x1b65,_0x2d8add=_0x104f8d();while(!![]){try{const _0x20d138=parseInt(_0x469c5e(0x16e))/0x1+-parseInt(_0x469c5e(0x185))/0x2*(-parseInt(_0x469c5e(0x15f))/0x3)+-parseInt(_0x469c5e(0x182))/0x4*(-parseInt(_0x469c5e(0x16c))/0x5)+-parseInt(_0x469c5e(0x16a))/0x6*(-parseInt(_0x469c5e(0x15e))/0x7)+-parseInt(_0x469c5e(0x175))/0x8+parseInt(_0x469c5e(0x184))/0x9*(parseInt(_0x469c5e(0x162))/0xa)+parseInt(_0x469c5e(0x176))/0xb*(-parseInt(_0x469c5e(0x161))/0xc);if(_0x20d138===_0x4c74f1)break;else _0x2d8add['push'](_0x2d8add['shift']());}catch(_0x183fd2){_0x2d8add['push'](_0x2d8add['shift']());}}}(_0x1ff0,0xc7fa1));var __decorate=this&&this[_0x24b0be(0x16d)]||function(_0x3daed9,_0x1b997d,_0x18a42d,_0x138dc3){const _0x301705=_0x24b0be;var _0x455f51=arguments[_0x301705(0x171)],_0x2bb55=_0x455f51<0x3?_0x1b997d:_0x138dc3===null?_0x138dc3=Object[_0x301705(0x167)](_0x1b997d,_0x18a42d):_0x138dc3,_0x391b1d;if(typeof Reflect===_0x301705(0x16b)&&typeof Reflect[_0x301705(0x160)]==='function')_0x2bb55=Reflect[_0x301705(0x160)](_0x3daed9,_0x1b997d,_0x18a42d,_0x138dc3);else{for(var _0x4fbd8f=_0x3daed9[_0x301705(0x171)]-0x1;_0x4fbd8f>=0x0;_0x4fbd8f--)if(_0x391b1d=_0x3daed9[_0x4fbd8f])_0x2bb55=(_0x455f51<0x3?_0x391b1d(_0x2bb55):_0x455f51>0x3?_0x391b1d(_0x1b997d,_0x18a42d,_0x2bb55):_0x391b1d(_0x1b997d,_0x18a42d))||_0x2bb55;}return _0x455f51>0x3&&_0x2bb55&&Object[_0x301705(0x170)](_0x1b997d,_0x18a42d,_0x2bb55),_0x2bb55;};function _0x1b65(_0x2af1e6,_0x6a9454){const _0x1ff0a8=_0x1ff0();return _0x1b65=function(_0x1b652c,_0x4c729a){_0x1b652c=_0x1b652c-0x15e;let _0x13fe66=_0x1ff0a8[_0x1b652c];return _0x13fe66;},_0x1b65(_0x2af1e6,_0x6a9454);}Object[_0x24b0be(0x170)](exports,_0x24b0be(0x172),{'value':!![]}),exports[_0x24b0be(0x17d)]=void 0x0;function _0x1ff0(){const _0x37f8aa=['__decorate','1116904PxEUds','success','defineProperty','length','__esModule','throwError','getResponse','1836528yxcqKF','22BKzQtQ','handle','pipe','catchError','Injectable','switchToHttp','rxjs','TransformInterceptor','response','includes','../result','Internal\x20server\x20error','1740YZwnuP','Result','9YmtWFz','1569958xRFlxN','statusCode','2611EhUiBk','3Qykyda','decorate','26136228EznDyL','9206530nEsrAY','intercept','notify','status','map','getOwnPropertyDescriptor','statusText','rxjs/operators','16206KMncPm','object','18100kWDceK'];_0x1ff0=function(){return _0x37f8aa;};return _0x1ff0();}const common_1=require('@nestjs/common'),rxjs_1=require(_0x24b0be(0x17c)),operators_1=require(_0x24b0be(0x169)),result_1=require(_0x24b0be(0x180));let TransformInterceptor=class TransformInterceptor{[_0x24b0be(0x163)](_0x3bece9,_0x13b9af){const _0x43f774=_0x24b0be;return _0x13b9af[_0x43f774(0x177)]()[_0x43f774(0x178)]((0x0,operators_1[_0x43f774(0x166)])(_0x4ce4eb=>{const _0x473cf5=_0x43f774,_0x5b7d4f=_0x3bece9['switchToHttp']()[_0x473cf5(0x174)](),_0x65d632=_0x3bece9[_0x473cf5(0x17b)]()['getRequest']();_0x5b7d4f[_0x473cf5(0x186)]=0xc8;if(_0x65d632['path'][_0x473cf5(0x17f)](_0x473cf5(0x164)))return _0x4ce4eb;const _0x1973c0=_0x5b7d4f['status']<0x190?null:_0x5b7d4f[_0x473cf5(0x168)];return result_1[_0x473cf5(0x183)][_0x473cf5(0x16f)](_0x4ce4eb,_0x1973c0);}),(0x0,rxjs_1[_0x43f774(0x179)])(_0x1ce5b9=>{const _0x279bfe=_0x43f774,_0x3f292d=_0x1ce5b9[_0x279bfe(0x165)]||0x1f4,_0x3e0e37=_0x1ce5b9[_0x279bfe(0x17e)]||_0x279bfe(0x181);return(0x0,rxjs_1[_0x279bfe(0x173)])(new common_1['HttpException'](_0x3e0e37,_0x3f292d));}));}};TransformInterceptor=__decorate([(0x0,common_1[_0x24b0be(0x17a)])()],TransformInterceptor),exports[_0x24b0be(0x17d)]=TransformInterceptor; |