lambdaorm
Version:
1 lines • 4.6 kB
JavaScript
'use strict';const a124z=a124y;(function(s,y){const r=a124y,g=s();while(!![]){try{const x=-parseInt(r(0xe9))/0x1+parseInt(r(0xd8))/0x2*(-parseInt(r(0xe6))/0x3)+-parseInt(r(0xc5))/0x4*(parseInt(r(0xc4))/0x5)+-parseInt(r(0xf1))/0x6*(-parseInt(r(0xd9))/0x7)+parseInt(r(0xf2))/0x8+parseInt(r(0xe2))/0x9+parseInt(r(0xda))/0xa*(-parseInt(r(0xd6))/0xb);if(x===y)break;else g['push'](g['shift']());}catch(m){g['push'](g['shift']());}}}(a124s,0xa1451));function a124y(s,y){const O=a124s();return a124y=function(D,g){D=D-0xbf;let M=O[D];return M;},a124y(s,y);}var __awaiter=this&&this[a124z(0xde)]||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){function t(c){const d=a124y;try{a(g[d(0xf3)](c));}catch(k){w(k);}}function v(c){try{a(g['throw'](c));}catch(k){w(k);}}function a(c){const i=a124y;c[i(0xe7)]?m(c[i(0xdb)]):x(c[i(0xdb)])[i(0xc9)](t,v);}a((g=g['apply'](s,y||[]))['next']());});};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a124z(0xc6)]=void 0x0;const stateService_1=require(a124z(0xe1)),drop_1=require('./useCases/drop'),delete_1=require(a124z(0xc2)),export_1=require(a124z(0xd1)),import_1=require(a124z(0xcb)),truncate_1=require(a124z(0xd7)),push_1=require(a124z(0xce)),pull_1=require(a124z(0xd0)),fetch_1=require('./useCases/fetch');class StageFacade{constructor(s,y,g,x,m){const o=a124z;this[o(0xe0)]=s,this[o(0xec)]=y,this[o(0xd2)]=g,this[o(0xc3)]=x,this[o(0xf4)]=m,this[o(0xd4)]=new stateService_1[(o(0xdd))](s,this[o(0xf4)]),this[o(0xca)]=new stateService_1[(o(0xe4))](s,this[o(0xf4)]);}[a124z(0xbf)](s){return __awaiter(this,void 0x0,void 0x0,function*(){const p=a124y,y=this[p(0xca)][p(0xea)](s);return this[p(0xf4)]['fs']['exists'](y);});}['push'](s){const f=a124z,y=this['expression'][f(0xed)](s);return new push_1[(f(0xe8))](this[f(0xd2)],this[f(0xca)],this[f(0xe0)],this[f(0xc3)],y,this['helper']);}[a124z(0xd5)](s){const q=a124z,y=this[q(0xec)]['solveQueryOptions'](s);return new drop_1[(q(0xe3))](this[q(0xd2)],this[q(0xca)],this[q(0xd4)],this[q(0xe0)],this[q(0xc3)],y,this['helper']);}[a124z(0xd3)](s){const j=a124z,y=this[j(0xec)][j(0xed)](s);return new truncate_1[(j(0xcd))](this[j(0xd2)],this[j(0xca)],this[j(0xe0)],this[j(0xc3)],y,this['helper']);}[a124z(0xc7)](s){const b=a124z,y=this[b(0xec)][b(0xed)](s);return new delete_1[(b(0xc8))](this[b(0xd4)],this[b(0xe0)][b(0xc0)],this[b(0xec)],this['executor'],y);}[a124z(0xc1)](s){const l=a124z,y=this['expression'][l(0xed)](s);return new export_1[(l(0xdc))](this[l(0xd4)],this[l(0xe0)]['domain'],this['expression'],this['executor'],y);}[a124z(0xee)](s){const u=a124z,y=this['expression']['solveQueryOptions'](s);return new import_1['StageImport'](this[u(0xd4)],this[u(0xe0)][u(0xc0)],this[u(0xec)],this[u(0xd2)],y);}[a124z(0xdf)](s){return __awaiter(this,void 0x0,void 0x0,function*(){const e=a124y,y=this[e(0xec)][e(0xed)](s);return yield new fetch_1[(e(0xe5))](this[e(0xd2)],this['schemaState'],this[e(0xc3)],this[e(0xf4)][e(0xf0)],y)[e(0xeb)]();});}['pull'](){return __awaiter(this,arguments,void 0x0,function*(s={'removeEntities':!![],'removeProperties':!![],'removeRelations':!![]}){const n=a124y,y=this[n(0xec)][n(0xed)](s),g=yield this[n(0xdf)](y);return yield this[n(0xe0)][n(0xcc)](g,y),yield new pull_1['StagePull'](this[n(0xd2)],this[n(0xca)],this[n(0xe0)],this['languages'],y,this[n(0xf4)])[n(0xeb)]();});}['introspect'](s,y,g){return __awaiter(this,void 0x0,void 0x0,function*(){const h=a124y;return yield this[h(0xe0)][h(0xcf)](s,y),yield this['push'](g)[h(0xeb)]();});}['incorporate'](s,y,g){return __awaiter(this,void 0x0,void 0x0,function*(){const s0=a124y,x=yield this[s0(0xe0)][s0(0xcf)](s,y),m=yield this[s0(0xef)](g)[s0(0xeb)]();return yield this['import'](g)[s0(0xeb)](x),m;});}}function a124s(){const s1=['11556450WCUVZd','StageDrop','StageModelService','StageFetch','19911mCcPdc','done','StagePush','666262UnFHsz','getFile','execute','expression','solveQueryOptions','import','push','schema','197394JdxXUR','3775320iihzcT','next','helper','exists','domain','export','./useCases/delete','languages','708570GZcmpK','20bqSyEk','StageFacade','delete','StageDelete','then','stageModelService','./useCases/import','match','StageTruncate','./useCases/push','introspect','./useCases/pull','./useCases/export','executor','truncate','stageMappingService','drop','33zzXiCx','./useCases/truncate','184Cjxiga','238bwbJpp','761780cjAnFx','value','StageExport','StageMappingService','__awaiter','fetch','schemaState','./services/stateService'];a124s=function(){return s1;};return a124s();}exports[a124z(0xc6)]=StageFacade;