lambdaorm
Version:
1 lines • 3.76 kB
JavaScript
;const a24z=a24y;(function(s,y){const r=a24y,g=s();while(!![]){try{const x=-parseInt(r(0xd5))/0x1*(parseInt(r(0xbc))/0x2)+-parseInt(r(0xd8))/0x3+-parseInt(r(0xc1))/0x4+-parseInt(r(0xc5))/0x5+parseInt(r(0xc3))/0x6*(-parseInt(r(0xce))/0x7)+parseInt(r(0xb9))/0x8*(parseInt(r(0xbf))/0x9)+parseInt(r(0xc9))/0xa*(parseInt(r(0xc6))/0xb);if(x===y)break;else g['push'](g['shift']());}catch(m){g['push'](g['shift']());}}}(a24s,0xd4f51));var __awaiter=this&&this[a24z(0xdc)]||function(s,y,P,g){function x(m){return m instanceof P?m:new P(function(w){w(m);});}return new(P||(P=Promise))(function(m,w){const o=a24y;function t(c){const d=a24y;try{a(g[d(0xc7)](c));}catch(k){w(k);}}function v(c){try{a(g['throw'](c));}catch(k){w(k);}}function a(c){const i=a24y;c[i(0xdb)]?m(c[i(0xbd)]):x(c[i(0xbd)])[i(0xd4)](t,v);}a((g=g[o(0xbb)](s,y||[]))['next']());});};Object['defineProperty'](exports,a24z(0xdf),{'value':!![]}),exports['ExecutorImpl']=void 0x0;function a24s(){const h=['expressions','102774qUcoUg','tryAllCan','commit','createQueryExecutor','connectionFacade','Subject:\x20Nonexistent\x20observer.','then','594uiAmNK','executeList','QueryExecutorImpl','5069211RdWXvo','release','./queryExecutor/queryExecutor','done','__awaiter','schemaState','indexOf','__esModule','ExecutorImpl','length','transaction','observers','subscribe','includes','837688iUyhfF','push','apply','4102VAqNbZ','value','Transaction','45Rnnmyt','./queryExecutor/queryExecutorObservableDecorator','4637000SpgTDJ','execute','420VTpSqd','../../domain','2155490GJrgXp','64623207pnCGIn','next','languages','10YLwVPi','description','helper','QueryExecutorObservableDecorator'];a24s=function(){return h;};return a24s();}const queryExecutor_1=require(a24z(0xda)),domain_1=require(a24z(0xc4)),queryExecutorObservableDecorator_1=require(a24z(0xc0));function a24y(s,y){const O=a24s();return a24y=function(D,g){D=D-0xb6;let M=O[D];return M;},a24y(s,y);}class ExecutorImpl{constructor(s,y,g,x,m){const p=a24z;this[p(0xd2)]=s,this[p(0xc8)]=y,this[p(0xdd)]=g,this[p(0xcd)]=x,this[p(0xcb)]=m,this['observers']=[];}[a24z(0xb7)](s){const f=a24z;this['observers'][f(0xba)](s);}['unsubscribe'](s){const q=a24z,y=this[q(0xb6)][q(0xde)](s);if(y===-0x1)throw new Error(q(0xd3));this[q(0xb6)]['splice'](y,0x1);}['execute'](s,y,g){return __awaiter(this,void 0x0,void 0x0,function*(){const j=a24y;let x,m;if(s[j(0xb8)]&&s[j(0xb8)][j(0xe1)]>0x0)yield this[j(0xe2)](g,function(w){return __awaiter(this,void 0x0,void 0x0,function*(){const b=a24y;m=yield w[b(0xc2)](s,y);});});else{const w=this[j(0xd1)](g,![]);try{m=yield w[j(0xc2)](s,y);}catch(t){x=t;}finally{yield w[j(0xd9)]();}if(x)throw x;}return m;});}[a24z(0xd6)](s,y){return __awaiter(this,void 0x0,void 0x0,function*(){const l=a24y,g=[];if(y[l(0xcf)])for(const x of s){const m=this[l(0xd1)](y,![]);try{const w=yield m[l(0xc2)](x,{});g[l(0xba)]({'result':w,'description':x[l(0xca)]});}catch(t){g['push']({'error':t,'description':x[l(0xca)]});}finally{yield m[l(0xd9)]();}}else yield this['transaction'](y,function(v){return __awaiter(this,void 0x0,void 0x0,function*(){const u=a24y;for(const a of s){const c=yield v[u(0xc2)](a);g[u(0xba)]({'result':c,'description':a[u(0xca)]});}});});return g;});}['transaction'](s,y){return __awaiter(this,void 0x0,void 0x0,function*(){const e=a24y,g=this['createQueryExecutor'](s,!![]);let x;try{const m=new domain_1[(e(0xbe))](g);yield y(m),yield g[e(0xd0)]();}catch(w){x=w,yield g['rollback']();}finally{yield g[e(0xd9)]();}if(x)throw x;});}[a24z(0xd1)](s,y){const n=a24z,g=new queryExecutor_1[(n(0xd7))](this[n(0xd2)],this['languages'],this[n(0xdd)],this['expressions'],s,this[n(0xcb)],y);return new queryExecutorObservableDecorator_1[(n(0xcc))](this[n(0xcd)],g,this['observers']);}}exports[a24z(0xe0)]=ExecutorImpl;