YiAi/YiAiQuickDeploy/dist/common/interceptors/abort.interceptor.js

1 line
2.7 KiB
JavaScript

'use strict';function _0x15e1(){const _0x203eb6=['1861098vLbOWY','switchToHttp','function','object','1812360FDPgGP','2344DcKzIW','abort-controller','1987404FxjYgI','getOwnPropertyDescriptor','4460022RwCmLu','getRequest','Injectable','length','decorate','4249TETOwE','__decorate','@nestjs/common','475075lEvDNu','AbortInterceptor','defineProperty','intercept','73396mukuNM','8LlfdVN','20blcfdr','__esModule','handle'];_0x15e1=function(){return _0x203eb6;};return _0x15e1();}function _0x5cfe(_0x3c8622,_0x50d8ce){const _0x15e110=_0x15e1();return _0x5cfe=function(_0x5cfe8b,_0x4a4e92){_0x5cfe8b=_0x5cfe8b-0x1de;let _0x4c3717=_0x15e110[_0x5cfe8b];return _0x4c3717;},_0x5cfe(_0x3c8622,_0x50d8ce);}const _0x3cac3b=_0x5cfe;(function(_0x4646c2,_0x1f5922){const _0x4017da=_0x5cfe,_0x300280=_0x4646c2();while(!![]){try{const _0x195737=-parseInt(_0x4017da(0x1e6))/0x1*(parseInt(_0x4017da(0x1e7))/0x2)+parseInt(_0x4017da(0x1eb))/0x3+parseInt(_0x4017da(0x1e8))/0x4*(-parseInt(_0x4017da(0x1e2))/0x5)+parseInt(_0x4017da(0x1f2))/0x6+-parseInt(_0x4017da(0x1df))/0x7*(parseInt(_0x4017da(0x1f0))/0x8)+parseInt(_0x4017da(0x1f4))/0x9+-parseInt(_0x4017da(0x1ef))/0xa;if(_0x195737===_0x1f5922)break;else _0x300280['push'](_0x300280['shift']());}catch(_0x697f8c){_0x300280['push'](_0x300280['shift']());}}}(_0x15e1,0x4dfb4));var __decorate=this&&this[_0x3cac3b(0x1e0)]||function(_0x5807a9,_0x45e205,_0x11bf62,_0x284cb8){const _0x137328=_0x3cac3b;var _0xad153f=arguments[_0x137328(0x1f7)],_0x32d0b5=_0xad153f<0x3?_0x45e205:_0x284cb8===null?_0x284cb8=Object[_0x137328(0x1f3)](_0x45e205,_0x11bf62):_0x284cb8,_0x21596d;if(typeof Reflect===_0x137328(0x1ee)&&typeof Reflect[_0x137328(0x1de)]===_0x137328(0x1ed))_0x32d0b5=Reflect['decorate'](_0x5807a9,_0x45e205,_0x11bf62,_0x284cb8);else{for(var _0x50c50b=_0x5807a9[_0x137328(0x1f7)]-0x1;_0x50c50b>=0x0;_0x50c50b--)if(_0x21596d=_0x5807a9[_0x50c50b])_0x32d0b5=(_0xad153f<0x3?_0x21596d(_0x32d0b5):_0xad153f>0x3?_0x21596d(_0x45e205,_0x11bf62,_0x32d0b5):_0x21596d(_0x45e205,_0x11bf62))||_0x32d0b5;}return _0xad153f>0x3&&_0x32d0b5&&Object['defineProperty'](_0x45e205,_0x11bf62,_0x32d0b5),_0x32d0b5;};Object[_0x3cac3b(0x1e4)](exports,_0x3cac3b(0x1e9),{'value':!![]}),exports[_0x3cac3b(0x1e3)]=void 0x0;const common_1=require(_0x3cac3b(0x1e1)),abort_controller_1=require(_0x3cac3b(0x1f1));let AbortInterceptor=class AbortInterceptor{[_0x3cac3b(0x1e5)](_0x32d4b7,_0x23f6f9){const _0x1cc4b4=_0x3cac3b,_0x332c1b=_0x32d4b7[_0x1cc4b4(0x1ec)]()[_0x1cc4b4(0x1f5)](),_0xc7dc2c=new abort_controller_1['AbortController']();return _0x332c1b['abortController']=_0xc7dc2c,_0x23f6f9[_0x1cc4b4(0x1ea)]();}};AbortInterceptor=__decorate([(0x0,common_1[_0x3cac3b(0x1f6)])()],AbortInterceptor),exports[_0x3cac3b(0x1e3)]=AbortInterceptor;