opclawtm 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of opclawtm might be problematic. Click here for more details.
- package/dist/bin/team-manager.js +35 -1
- package/dist/bin/team-setup.js +65 -1
- package/dist/bin/team-uninstall.js +103 -1
- package/dist/cli/commands/agent.command.d.ts.map +1 -1
- package/dist/cli/commands/agent.command.js +261 -1
- package/dist/cli/commands/agent.command.js.map +1 -1
- package/dist/cli/commands/checklist.command.js +77 -1
- package/dist/cli/commands/dept.command.js +119 -1
- package/dist/cli/commands/document.command.js +146 -1
- package/dist/cli/commands/domain.command.js +97 -1
- package/dist/cli/commands/feishu.command.d.ts +13 -0
- package/dist/cli/commands/feishu.command.d.ts.map +1 -1
- package/dist/cli/commands/feishu.command.js +558 -1
- package/dist/cli/commands/feishu.command.js.map +1 -1
- package/dist/cli/commands/job.command.js +168 -1
- package/dist/cli/commands/license.command.js +68 -1
- package/dist/cli/commands/message-failure.command.js +137 -1
- package/dist/cli/commands/message.command.js +129 -1
- package/dist/cli/commands/node.command.js +251 -1
- package/dist/cli/commands/role-flow.command.js +54 -1
- package/dist/cli/commands/skill-pack.command.js +137 -1
- package/dist/cli/commands/status.command.js +61 -1
- package/dist/cli/commands/task.command.js +402 -1
- package/dist/cli/commands/user.command.js +134 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +881 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/tui/index.js +492 -1
- package/dist/cli/tui/menus/agent-manage.menu.js +614 -1
- package/dist/cli/tui/menus/dept-manage.menu.js +299 -1
- package/dist/cli/tui/menus/domain-manage.menu.js +208 -1
- package/dist/cli/tui/menus/feishu.menu.js +1808 -1
- package/dist/cli/tui/menus/feishu.menu.js.map +1 -1
- package/dist/cli/tui/menus/job-manage.menu.js +734 -1
- package/dist/cli/tui/menus/license.menu.js +164 -1
- package/dist/cli/tui/menus/main.menu.js +94 -1
- package/dist/cli/tui/menus/reset.menu.js +832 -1
- package/dist/cli/tui/menus/status.menu.js +123 -1
- package/dist/cli/tui/menus/task-manage.menu.js +129 -1
- package/dist/cli/tui/menus/team-create.menu.js +353 -1
- package/dist/config.js +74 -1
- package/dist/core/auth/index.js +22 -1
- package/dist/core/auth/middleware.js +456 -1
- package/dist/core/auth/storage.js +280 -1
- package/dist/core/models/types.js +9 -1
- package/dist/core/services/agent-template.service.js +88 -1
- package/dist/core/services/agent.service.d.ts +1 -1
- package/dist/core/services/agent.service.d.ts.map +1 -1
- package/dist/core/services/agent.service.js +381 -1
- package/dist/core/services/agent.service.js.map +1 -1
- package/dist/core/services/auth-profiles.service.js +220 -1
- package/dist/core/services/checklist.service.js +240 -1
- package/dist/core/services/config-tracker.service.js +1148 -1
- package/dist/core/services/crypto.service.js +400 -1
- package/dist/core/services/dept.service.js +260 -1
- package/dist/core/services/document.service.js +368 -1
- package/dist/core/services/domain.service.js +98 -1
- package/dist/core/services/feishu.service.js +165 -1
- package/dist/core/services/index.js +89 -1
- package/dist/core/services/job.service.js +190 -1
- package/dist/core/services/log.service.js +237 -1
- package/dist/core/services/message-failure.service.js +112 -1
- package/dist/core/services/message.service.js +374 -1
- package/dist/core/services/node.service.js +257 -1
- package/dist/core/services/openclaw-config.service.js +268 -1
- package/dist/core/services/preset-loader.service.js +379 -1
- package/dist/core/services/role-flow.service.js +47 -1
- package/dist/core/services/setup.service.js +337 -1
- package/dist/core/services/skill-pack.service.js +113 -1
- package/dist/core/services/task.service.js +397 -1
- package/dist/core/services/template.service.js +88 -1
- package/dist/core/services/user.service.js +111 -1
- package/dist/core/utils/agent-guide-generator.js +187 -1
- package/dist/core/utils/credentials-cleanup.js +256 -1
- package/dist/core/utils/index.js +462 -1
- package/dist/core/utils/openclaw-helper.js +1670 -1
- package/dist/core/utils/template-generator.js +170 -1
- package/dist/db/index.js +405 -1
- package/dist/db/repositories/agent-template.repo.js +108 -1
- package/dist/db/repositories/agent.repo.d.ts +1 -1
- package/dist/db/repositories/agent.repo.d.ts.map +1 -1
- package/dist/db/repositories/agent.repo.js +103 -1
- package/dist/db/repositories/agent.repo.js.map +1 -1
- package/dist/db/repositories/base.repository.js +107 -1
- package/dist/db/repositories/company.repo.js +33 -1
- package/dist/db/repositories/config-change.repo.js +119 -1
- package/dist/db/repositories/dept.repo.js +66 -1
- package/dist/db/repositories/document.repo.js +51 -1
- package/dist/db/repositories/domain.repo.js +79 -1
- package/dist/db/repositories/index.js +81 -1
- package/dist/db/repositories/init-session.repo.js +112 -1
- package/dist/db/repositories/job.repo.js +119 -1
- package/dist/db/repositories/message-failure.repo.js +141 -1
- package/dist/db/repositories/message-log.repo.js +64 -1
- package/dist/db/repositories/node.repo.js +276 -1
- package/dist/db/repositories/role-flow.repo.js +83 -1
- package/dist/db/repositories/skill-pack.repo.js +149 -1
- package/dist/db/repositories/task.repo.js +381 -1
- package/dist/db/repositories/template.repo.js +66 -1
- package/dist/db/repositories/user.repo.js +75 -1
- package/package.json +2 -2
- package/resources/preset-data-hash.enc +1 -1
- package/resources/preset-data.enc +1 -1
|
@@ -1 +1,257 @@
|
|
|
1
|
-
'use strict';(function(_0x3e98fd,_0x487bd4){const _0x51e60c={_0x20f25f:0xc7,_0x3f8a2f:'5Hyg',_0x37b6f4:0x124,_0x4f7c21:0x55b,_0x17b908:'60&a',_0x42ecc7:0x5fd,_0x367ee7:'Wow)',_0x2fd207:0x16a,_0x5eaed1:0xd3,_0x50f2f2:'JWFn',_0x42b215:'#Aax',_0x561780:0x44c,_0x17a51b:0x1e8,_0x130a45:'gnwA',_0x5ed9e6:0x22c,_0x1a4b28:0x198,_0x125552:0x579,_0x33a6d4:0xba,_0x180f30:'o3nL'},_0x1a70f7={_0x5a7605:0x350};function _0x18abe5(_0x456631,_0x1b13ca,_0x540c39,_0x5c6088){return _0x3e28(_0x456631- -0x2ce,_0x1b13ca);}const _0x204e8a=_0x3e98fd();function _0x51a9d1(_0x1ec3d6,_0x49c993,_0x921d4b,_0x54210f){return _0x3e28(_0x1ec3d6-_0x1a70f7._0x5a7605,_0x49c993);}while(!![]){try{const _0x1ba9a1=parseInt(_0x18abe5(-_0x51e60c._0x20f25f,_0x51e60c._0x3f8a2f,-_0x51e60c._0x37b6f4,-0x58))/(0x188b+0xdbc+-0x2646)+-parseInt(_0x51a9d1(_0x51e60c._0x4f7c21,_0x51e60c._0x17b908,0x597,_0x51e60c._0x42ecc7))/(-0xec*0x10+-0xf3*-0x1+0xdcf)*(parseInt(_0x18abe5(-0x186,_0x51e60c._0x367ee7,-_0x51e60c._0x2fd207,-_0x51e60c._0x5eaed1))/(0x7*0x7b+0xa*0x19e+-0x1386))+-parseInt(_0x51a9d1(0x43f,_0x51e60c._0x50f2f2,0x464,0x432))/(0x17cc*0x1+-0xbbd*0x1+-0x1*0xc0b)+-parseInt(_0x18abe5(-0x151,_0x51e60c._0x42b215,-0xbc,-0x1d6))/(-0x1c89+0x8*0x20c+-0x1*-0xc2e)+-parseInt(_0x51a9d1(_0x51e60c._0x561780,'d$R&',0x43c,0x398))/(0x6b*-0x7+-0x2221+0x2514)+-parseInt(_0x18abe5(-_0x51e60c._0x17a51b,_0x51e60c._0x130a45,-_0x51e60c._0x5ed9e6,-_0x51e60c._0x1a4b28))/(-0x1*0x34+0x1*0x188a+0x184f*-0x1)*(parseInt(_0x51a9d1(_0x51e60c._0x125552,'WcBj',0x501,0x620))/(-0x7*-0x222+0x1623+-0x2509))+parseInt(_0x18abe5(-_0x51e60c._0x33a6d4,_0x51e60c._0x180f30,-0xed,-0xde))/(-0x1808+-0x226+-0x1*-0x1a37);if(_0x1ba9a1===_0x487bd4)break;else _0x204e8a['push'](_0x204e8a['shift']());}catch(_0x13666a){_0x204e8a['push'](_0x204e8a['shift']());}}}(_0x33da,0x119*-0x15a+-0xfee6+0x57839*0x2));function _0x504f3f(_0x5dbd01,_0x6254b2,_0x1c559d,_0x28a197){const _0x31566d={_0x2e711d:0x3cb};return _0x3e28(_0x6254b2-_0x31566d._0x2e711d,_0x1c559d);}function _0x1c6614(_0x2f9101,_0x2c127c,_0x478452,_0x1125d0){const _0x704075={_0x416918:0x368};return _0x3e28(_0x1125d0-_0x704075._0x416918,_0x2f9101);}const _0x541d1b={};_0x541d1b[_0x1c6614('QOCV',0x4bc,0x3eb,0x448)]=!![],Object[_0x1c6614('r^Y[',0x4a5,0x441,0x4de)+_0x504f3f(0x4ed,0x4c8,'o3nL',0x578)](exports,_0x504f3f(0x57f,0x553,'CXB*',0x5de),_0x541d1b),exports['nodeServic'+'e']=exports[_0x504f3f(0x64d,0x5ab,'09SV',0x5ae)+'e']=void(-0x1*0xe7f+0x9f5+-0xa6*-0x7);function _0x33da(){const _0x244890=['fqX+W4xdTf7cM1yOeq','BsTZaCkBfCoz','fGa0WOTweCknWQO2zq','oCobWQxcSw5NW5u','W4GUCSo5AG','zwH2kqWyp8oYg2e','WO3cSMfepq','W5/dKqdcJ8oXWOddP1ddGCoL','smk3WRrUW6FcQCkHlLlcRq','zMb+tSkMW4JcNmohW4W','WPGBW6zWq8oLyLK','WPxdU8kDimkmW5hcUaq','h8ojgqy','xCkbW78akXa','bCohdGJdO18ph3xcNa','xM8WdCkw','vmoNW5fBW7xdJY9Mn8kD','WO08WOblpsG','imkVW4NcUY42W5VdV08f','FN9DdxW','w1WdWR5a','iZD3WOneW7pdRGVcNWS','cfpdL8oPnKBdHa','W4vaWQPMuSo/Fq','nCodWRpcRhTFW5NdMW','W4pcSSo8WPhcIa','Bx4JWQHsW6JdUZFcMXe','qKTvr8kb','WPhdR27dMSo5bq','wh4HWO9sW6FdGqJcMHO','WPe8WObiic7cSG','W43cG1/dHCkRWRBdMuZdJCkN','n8o7rYLPAa','W6ddTSkzW4FcRK/cPtFdHqW','W68HWQjJohdcJmoepmoq','hmohbq','lmkTESokW5uqmmkWvCoG','f0/dH8o+euZdO1bUWO8','mGqUW7LCcmkoWQf9uW','m8obWQlcJgbKW5xdJa1D','WRf6W7uZsJ3cR8o9oSouWPbT','mSk7ymoEW5Pxjq','W61UASkomq','WPjeWOeHtfLFW4W','W6WMWRG','BJfJc8kkcCoyEa','WOK+je3cOCk4WQ7dSdup','W7hdTSkdW4VdNuJcSdRdNrW','uSk9W6iwoW','WOD3x0O4WOW','WOqnighdGSkuWQNcP8oAwa','WQmHj1pcHq','WPRdQbxdPtNdLq','WOCmW74XbCk9oe3dQSkzWRpdRua','AJ0nta','W5/dHSoyttC','g07dR8osESk1WOu','gmoFvmkhW5y6mCoVwM0','omkQW7pcNqG','cb8djmoR','WQT/a3SvW5W','FNKYWODd','W5tcI8otl8kdWOZcLdaCDa','W6hcHCouWP3cVG','nmoGvtrODcRdLq','W6uqWP/dVmoHwSoyW6iUdG','amoBvbzO','WQSTmIVcOCk9W7xcIgldMq','D3TXw8kRW5NdImoxW5Gs','jq4PW4jnemktWQO','wuTfbhq','WOS/ChdcSCkJWRNdHsms','WOm+i3dcPCkNWR8','WRddScxcQG','W6JdSCkvASkZWQz/W4SrW64','EtTKmmkBeCofC8oWW4y','smk3WRrUWPtcOSk8lbVcQa','w3qSpSkB','WQ3dPsNcU8kjWP0','WOVdLHZcLSkFWOhdRfhdTSkG','WODzWO4XE1m','dCocw8kxW7a9','W7jes8khc8oNW6K','fIvhW67dKW','mcyU','fSk0WPecWO3cKGbebSkXzmkd','q2X0ESko','ASk9WR5SW4dcPa','W5ann8oAr8kDtmotxG','WO/dTrRdTq7dN8kMW5u','rCkfW6imerFdPCk+W50/','W4GxuSoRvG','WOpdP3hdHCosgmkmWPZcVNy','WOJdIcxdHXy','ySkuWP1UW7y','W5TqWRP2vSoRAW','sv4lgCktW6TCAvJcGG','WQ3dPcVcRmkzWP3cVq','W6besmkgjSoRW5tdGG','W4xdJmoDvJanwCoOrSo3','CSoJW5vFW4NdI2TXamkB','C8kOWRrQW4dcQCkBpvRcVa','aJ8+oColW5u6rqFdPa','gmoFvmkhW4C3gCoN','W4tcISo1lCkSWPhcHdC','W7hdQSkbW4pdTW','mSkPW5NcSsWRW7W','W67cJmo/l8ocWOVcJJmkzG','D0neDSks','c8ogxSkcW7eRgmoMv3O','WOiRWOTnpsu','mSkOW5VcPJWR','WOD2xv0OWOW8','CSk5WQnGW7RcO8k3pwNcQW','WONcShXsomooW4i','W59AWQCLuCoTz0BdQCky','WPFcOw5vlmoA','ENqKWO9dW7/dVr4','nmkSW57cSZ09W53dTxGl','Drfig8ko','kCk3DSoA','WPu4WP1hbY/cSr0YxW','WOtdUqFdOI3dGCkk','W5BdSCkczSoNWQDIW4y','W647DSo5AMu','W6tcPCon','DwbGv8k+W4lcMSoB','WOlcMJTjWRO','W6pdVSkEW4tdGfpcTtpdOXW','W6K+vtXuWPLDbbLSamoRta','y8oNW4XEW5tdLgT2fCkC','vmoKW4DrW48','WQpdT8kekmkWW5xdVbngW7e','WRhdOYZdR8kDWORcQSofWQ0','W5GzrWum','bCkiW4JcMt0','W5tdMCoWuW','WOadigpdUmkuWR/cUW','W5RcPSo+WOa','rSoVW4XuW7NdMqjN','eqK+fSoqW4qS','WRJdUcBcQ8k+WPFcH8oe','W41cjSop','EY4kxKZdQNu','aGz5W6ldPuNcNx8','svCWf8k8W7zmBM/cHG','qSkrW7ieoGVdSG','w1SQlmku','W4velSoErSko','W7lcHSoTi8khWONdGdOCDa','W687A8oTF2O6','WQRdUcxcQSktWPVcUG','WP/cSafZWOhdUSklWRO','WOv4oX9IW4BdJYm','W4fzzdNcUmonW7RcS8oyBCkMs2G','WObItvudWPaRmSo8WRi','WOxdS8kalmkmW5hcUarXW7C','W6yBymo7FxGRW6JcSGm','WODdpYPo','c0pdMSoUoLVdKa','WR5KWQuWrG','l8k7FCojW5jEj8kksCoH','bCoJWOlcMNG','Cw5Ns8k5WPFdIa','CepcMmkHW44','rtK/bCowW5qXqNddVG','WPJdOCkYk8kUW7dcSWvgW6e','rCk9WQHaW4C','W6GSWQHvh37cT8oxjmoP','WO9WjGTfW47dHwy8ra','W6tdQSkoW4ZdQ0/cOG','W5OdW4bRia9YW4OTzq','W7vAWRXRqW','W5HqWQ0Lq8oJlKVdQ8kz','WPhdMaVcMa','u2lcUmkXW6VcTSo7W7TYpG','WP3dVqFdUGldICklW5tcL1C','gW4+W44zcSkpWRjLyW','BcCCutpcQW','WOuIWRXXWPnOaW','wMlcRCkRW6tcTmoo','kSkUD8omW49v','k20LvComvSkAsSorW4OrmSod','d0FdH8oHhvRdK1rpWOe','W5BcSSo+WRBcImoelfnc','Fx5CpuO','C8kOWRrQW4dcQCkalfRcUG','WPdcThXkf8ogW4mGW7Dy','WRG4WRT3W5z1h8kvx8kL','cZS5bmonW5yXfIddQa','WP3dRhTqea','WPSFE8kEe8oit8oUt8khxgS','WQldOunboSk4WPNdM2NcLW','cJ4/W5H0emkfWQz6Dq','emobga3dMw8chG','W4ddK8okxJahzCo+','W4mvEGmPn2RcQ8oA','qsaDudpdOMjSW43cRG','nau+W7LCcmkoWQf9qG','WR3dPuVdI8oV','mWG0W497bSkOWRC','WQ9+mr0mW4FdHdjSrW','WOXWlsDEW4ZdNZq1','qsaDudpdOgn6W4xcVq','W57dK8oDuG','W4FdQSkul8o7WQ1XW41fW6O','x1rMlvGypa','BsPXfSklfq','iSoMsdLEyHhdIa','ttWqD2C','nZSJbSkWW7xcUCoAW4eu','jJ9oW7ldGG','W5pcLSo4kCkhWO3cKW','DZbpeSkmcConC8o+W7y','xNujbCkt','EwJcUSk9WQxcU8ooW6HVoG','W7eQECoQA34','pCodWRJcP2S','qSoiWReekGRdS8k+W6eU','imofWQxcQufVW5tdMGHr','Cw5GvCkeW4lcJmohW7Ot','EdD+bSk8h8oJzq','WRRcPIf9WPW','WQW5iIpcISkHW6i','sxO5W4zyW77dOX7dNH4','WPVdR3hdMSoEdSk8WPJcN3G','WPhcPwTalCom','W4WryYH7j27cVCocW5m','WP40i2RcSmkVWQJdMq','WOJcUGzjWOhdTmkvWQ/dQaC','WRxdQ0r6k8kGWOtdKa','zLzGt8kU','j8koW5dcGcS','ar1RW7/dPfu','WPjQufOpWOyBnSoDWRW','kNmYWODfW6tdRqlcNWS','WQHKewyuW4ayda','AJGXuhldSwv9W4hcQa','WRpdQxjkca','gCoHF8knW6a','mCotWP7cP25YW4tdNt9v','EwJcUSk9WQxcVCoeW709ka','w2HHjvGcpCoV','huu3hCkgW6XBmr0','F1asjCkb','WPT2ueO','xND2lvGi','WPjLnaXzW5O','WORcRX1PWPZdOCkwWRhdPay','WOjJmbLyW4W','WPe2WP1fps/cPWe','WO3cU1brk8ogW4a3W4bo','WOy8WPPQkcNcUq0sxW','bv7dV8ocFSkHWPm','WQO8jshcM8k3','WO/dMbZcLmkLWOhdUK0','W5ddM8kRW5BdHq','rwn7iKTniCo5hNa','W60hWPxcUCoYx8oiW6ietq','WP0jihNdRCkCWQG','W7zcvCklemo9W6/dNW','WPeynM4','mmozxSkgWQuTiSoMv3W','W7rHCCkQpa','WPddVIZcQSoCWPVcVSoeWQJcKa','W7vyrCkbaCoHW64','WRBdT150mCoVWOBdJgZcSa','WOW8WP1FkcFcSa','WQftBN8D','yIOkrNldPhq','W4hdPSkJW57dQa','WOFdV8k2hSkv','W7viv8kxaCo8W77dGW','WO7cIYnmWQ8','WRuYWQDzWOu','WPtcUNXilCogW5u8','qsaDudpdRx5RWOtcRW','WPn6WQORAW','EN45WOjEW77dQdJcJbO','q8oPW49aW5FdHt9Maq','W69dqCoccSo9W7NdG07cSG','WQ82WOPjgIxcPW4jwq','yg5NhSkSW4lcMSkcW4yz','WOJdQbhcSt7dG8kzW5JcOeu','CZTJeCkFaCop','AsyvqxBdSq','xei2d8oiWRK','W4HcqSkhfW','W5pdRSkvBSoNWQ1cW5PhW6e','Bx4JWQroW5NdQW','W6ChWOJcR8oHwCoz','WOhdVCkalSk2W5hcRHG','rHL/iCkm','WOdcSc9wmmoDW49LW5zj','WR5GD1S+','rmouW4DgW5ldHtXncSkC','WRa5lYq','WOrcWPWSEK9KW5e','W51BBdm/nZdcQ8ogW5C','BtTHf8kBcmojza','WPCjj1NdUmkAWQhcRSoTwq','W5xdQ8ksBmo2WRTJ','ymkXWR5VW7BcTCkApa','nCk9W4NcUqC3W6VdTvWh','emk6FmoPW7W','lmk5W4NcOsG/W6O','WOnai8osa8koxCocsmkr','W7xcMSoilCkl','WPzgWR1Kq8o5FrdcRa','WRf4pwOtW4WlgsHi','W7O8WQ1Zd3O','W48AWP7cV8o1sSovW6GKBa','fGa0W4vwc8obWQzMDa','WQtdPGpdGq0','W45imCozqSkBxq','W4VdU8kcFmoYWQ91','WPddGGhcMq','iCo5qY9L','WQ7dVJVcPSkiWOhcVmoz','AcOnyxldShPrW4VcRq','W4iFW5X3objDW69HxSkRBq','C8oUWOJdOxSkW4FdNvWAWOm','p8ojgqBcJv4edGFcNW','W6Dkq8kmemonW7tdGG','WPtcJmoCiSkvWQZcKG','lCk7z8oFW4jVi8k6tSoQ','WQpdSmkQW4FdUw7cOW','eeldSmovFSkG','WPLMtu0SWPGQ','k8o6sdK','mCkZW4NcUZ03W73dQq','W4xcSmoVk8kwWO0','r2JcRCkXW7hcVmozW7a','ph5bdcBcTIyOW5hcMSk2W6u6WOy','W4NcKmoel8krWP3cGt4yyq','q2BcRCkZW4VcVmopW6XpkW','imofWQxcQvbPW5q','pCoxvmodW6OGpmo6fMK','w18TgmkWW6b8AK7cIa','WQj+oaHaW4ZdNYmO','t8oZW4Xe','WQXGyspcMSkGW6pcIf7dIa','aXGLnCon','W4Xylmoo','x8kLW50ScG','WOZdVXVdOYG','EY4kxL3dRhv6W7BcRa','umoPW5fzW4/dJZL6','F8klW7ucFWVdTCk6W7SV','W7BdUmkiW4hdUMpcUdi','oaqPW5Hygmke','mSonWRJcPK15W7NdMW','WOpcUHX9WOhdVq','w1CQemkxW70','WRHqW4NdR8kYBmo0W4OywIy','WR5ZvfK5','tSoIW4TEW5ZcGcvSaCkD','mmoUvtzsDdZdIvmy','DSk3WQnIW4dcO8kHiq','W7Gntc09','x2zHj2ick8oZkha','rwlcQmkXW6dcPmooW7TcjW','WRZdLGhdNCk+WOddPe3cHmkW','rMjHp00kkG','cd85bmofW5y6','WR4zWQDxWQC','bKtdR8oiB8k9WPjY','tufRE8kB','W50byt8+iw0','WQT+awWfW5Wz','W6HSACkGcW','W54BCtuVpwZcOa','cfldLCo+jKy','WRfLbs8oW4aoedOq','WQ0PntlcLSknW7lcGKxdKG','WQzosCkxcSoMWR3dLfJdVW'];_0x33da=function(){return _0x244890;};return _0x33da();}const node_repo_1=require(_0x504f3f(0x4b1,0x53d,'5Hyg',0x505)+_0x504f3f(0x61f,0x58a,'x%YT',0x519)+_0x504f3f(0x653,0x5bc,'tH6J',0x676)+'o'),utils_1=require(_0x1c6614('d$R&',0x531,0x645,0x5b1)),MAX_REWORK_COUNT=0x7bb*0x1+-0xd3*-0x1d+-0x1f9f;class NodeService{[_0x504f3f(0x5b1,0x500,'09SV',0x582)](_0x3e664f){const _0x58d166={_0x3a5eda:0x3fe,_0x48dafd:0x3de,_0x49885c:0x240,_0x278cf:0x2d1,_0x439d5f:'[q^T',_0x56c872:0x11a,_0x268b43:0xe1,_0x16c5bb:0x13c,_0x546069:0x167,_0x3a9767:'ir$n',_0x4bbb8e:0x10d,_0x403472:0x273,_0x12c7b8:0x129,_0xac8fa3:'K*Ah',_0x57290a:0xdc,_0x4f1d1d:0x445,_0x2d0fb8:'K*Ah',_0x344c20:0x492,_0x4d0ea8:0x1cd,_0x3e7d6c:0x1d2,_0xe92110:0x288,_0x54ac85:0x260,_0x76e9a1:0x1b0,_0x4f6d22:'#Aax',_0xe0790d:0x23a,_0x474912:'O$Zm',_0x501a8e:0x158,_0x46bcaf:0x300,_0x301410:'LG8m',_0x447d01:0x9c,_0x296012:0x1e2,_0x37dcd8:0x26f,_0x114173:0x18d,_0x4df010:0x3e3,_0x3d40d0:'o3nL',_0x166e7a:0x455,_0xe81e42:0x406,_0x1b2fcb:'f$sO',_0x51a4c5:0x1d5,_0x216a04:'WcBj',_0x4f6819:0x35e,_0x24166b:0x344,_0x3b3a93:0x1c9,_0x394c2d:0x223,_0x50a695:0x2c5,_0x27edaf:0x11c,_0x4b762a:'RzdJ',_0x199a70:0xe2,_0x4443a3:0x230,_0x4a550c:0x2ce,_0x5c3cef:0x195,_0x12a491:0x10f,_0x5c7161:'r^Y[',_0x137586:0x4bb,_0x1e5d3a:0x43f,_0x3aecb5:0x47c,_0x3b6d78:0xba,_0x5140e2:0xb3,_0x5a5444:0x73,_0x5ce2f8:'hhbo',_0x2925bb:0x4e6,_0x27b1cd:'NcC#',_0xbcd543:0x4e4,_0x100ed7:0x3ae,_0x5446be:'YOEf',_0x42b05b:0x13d,_0x27a2a4:0x92,_0x4f8abf:0x10a,_0x12060f:0x34a,_0x2dfea8:0x364,_0x253b9d:0x2aa,_0x5d4d34:0x11b,_0x290fcb:0xee,_0x10c9f5:0x45a,_0x5920ed:'LG8m',_0x48d8e5:'60&a',_0x255f41:0x361,_0x54c11d:0x35c,_0x3d2fa4:0x2b3,_0x53b821:0x132,_0x84dc38:'d$R&',_0x5e0b5a:0xb3,_0x2e64f9:0x286,_0x4b609d:'[q^T',_0x565a60:0x109,_0x3cedcf:0x207,_0x4c6194:0x10f,_0xd7dafe:0x14c,_0xe83878:0xe2,_0x8f7d0e:0x301,_0x59a515:0x349,_0x20aaf3:0x345,_0x1fa96d:0x368,_0x549068:0x30d,_0x156194:'yJ]C',_0x966c2:0x3a8,_0x49eddc:0x22b,_0x5a9003:0x1d0,_0x3fb4d0:0x28a},_0x5b6e22={_0x57221b:0x8,_0x49c955:0x1bd},_0x161860={_0x17d9c9:0x1bc,_0x4aab3e:0x1ee};function _0x594db9(_0x2e51ee,_0x5b65b8,_0x415ec7,_0x4528bf){return _0x504f3f(_0x2e51ee-0xc,_0x5b65b8- -_0x161860._0x17d9c9,_0x415ec7,_0x4528bf-_0x161860._0x4aab3e);}function _0x2a03d2(_0x48a8bf,_0x94581a,_0x4c0a7f,_0x48848c){return _0x504f3f(_0x48a8bf-_0x5b6e22._0x57221b,_0x48a8bf- -0x3bf,_0x4c0a7f,_0x48848c-_0x5b6e22._0x49c955);}const _0x3ee412={'kCLlU':'Node\x20not\x20f'+_0x594db9(0x3c9,0x360,'QOCV',_0x58d166._0x3a5eda),'OdoDG':_0x594db9(0x32e,_0x58d166._0x48dafd,'RzdJ',0x3f0)+'ed','UPPAP':function(_0x5c92f7,_0x590fe3){return _0x5c92f7!==_0x590fe3;},'FcgDD':_0x2a03d2(_0x58d166._0x49885c,_0x58d166._0x278cf,'acAF',0x236),'XGoCr':_0x2a03d2(0x1d9,0x1c7,_0x58d166._0x439d5f,0x246)+_0x2a03d2(_0x58d166._0x56c872,0x82,'3SNm',_0x58d166._0x268b43)+_0x2a03d2(_0x58d166._0x16c5bb,_0x58d166._0x546069,_0x58d166._0x3a9767,0x106),'nAOBo':function(_0x2173ef,_0x3da163){return _0x2173ef!==_0x3da163;},'UySgi':_0x2a03d2(_0x58d166._0x4bbb8e,0xed,'#HJj',0x9f),'ozazs':function(_0x1cf700,_0x212b2c){return _0x1cf700 instanceof _0x212b2c;},'nALKU':function(_0x3d0c4d,_0x330434){return _0x3d0c4d(_0x330434);}};try{if(_0x3ee412[_0x2a03d2(0x1df,_0x58d166._0x403472,'M]HJ',0x17c)](_0x3ee412[_0x2a03d2(_0x58d166._0x12c7b8,0x1a2,_0x58d166._0xac8fa3,_0x58d166._0x57290a)],_0x594db9(0x3c2,_0x58d166._0x4f1d1d,_0x58d166._0x2d0fb8,_0x58d166._0x344c20))){const _0x2317ec=_0x3498dd[_0x2a03d2(0x202,_0x58d166._0x4d0ea8,'#HJj',0x22b)+_0x2a03d2(_0x58d166._0x3e7d6c,_0x58d166._0xe92110,'gnwA',_0x58d166._0x54ac85)][_0x2a03d2(_0x58d166._0x76e9a1,0x23d,_0x58d166._0x4f6d22,_0x58d166._0xe0790d)](_0x4b1b6a);if(!_0x2317ec){const _0xab8256={};return _0xab8256[_0x2a03d2(0x1d0,0x15c,_0x58d166._0x474912,_0x58d166._0x501a8e)]=![],_0xab8256['message']=_0x3ee412[_0x594db9(0x370,_0x58d166._0x46bcaf,_0x58d166._0x301410,0x335)],_0xab8256;}_0x37a288[_0x2a03d2(0x12d,_0x58d166._0x447d01,'SLLO',0x157)+_0x2a03d2(0x241,_0x58d166._0x296012,'O$Zm',_0x58d166._0x37dcd8)][_0x2a03d2(0x136,0xd5,'VNKj',_0x58d166._0x114173)](_0x153376,_0x348659);const _0x1e7dbe={};return _0x1e7dbe['success']=!![],_0x1e7dbe[_0x594db9(0x32c,_0x58d166._0x4df010,_0x58d166._0x3d40d0,0x3b8)]=_0x3ee412[_0x594db9(_0x58d166._0x166e7a,_0x58d166._0xe81e42,_0x58d166._0x1b2fcb,0x3b6)],_0x1e7dbe;}else{const _0x7f0c50=(-0x1*0x17b+-0xb2*0x23+0x19d1,utils_1[_0x2a03d2(_0x58d166._0x51a4c5,0x211,_0x58d166._0x216a04,0x140)+_0x594db9(0x36e,_0x58d166._0x4f6819,'VNKj',_0x58d166._0x24166b)])(),_0x28a5df={};_0x28a5df['id']=_0x7f0c50,_0x28a5df[_0x2a03d2(0x162,_0x58d166._0x3b3a93,'o3nL',0xaa)]=_0x3e664f[_0x2a03d2(_0x58d166._0x394c2d,_0x58d166._0x50a695,'iyI[',0x195)],_0x28a5df[_0x2a03d2(_0x58d166._0x27edaf,0x174,_0x58d166._0x4b762a,_0x58d166._0x199a70)]=_0x3e664f['name'],_0x28a5df[_0x2a03d2(_0x58d166._0x4443a3,0x17a,_0x58d166._0x3a9767,_0x58d166._0x4a550c)]=_0x3e664f[_0x2a03d2(_0x58d166._0x5c3cef,0xfb,'E6w^',_0x58d166._0x12a491)],_0x28a5df[_0x2a03d2(0x23c,0x18c,_0x58d166._0x5c7161,0x195)+'d']=_0x3e664f[_0x594db9(_0x58d166._0x137586,_0x58d166._0x1e5d3a,'r^Y[',0x3f1)+'d'],_0x28a5df[_0x594db9(0x3c4,0x3e6,'LG8m',0x348)]=_0x3e664f[_0x594db9(_0x58d166._0x3aecb5,0x401,'#Aax',0x39b)],_0x28a5df[_0x2a03d2(0x125,_0x58d166._0x3b6d78,'LG8m',0x16f)]=_0x3e664f[_0x2a03d2(0x16a,_0x58d166._0x5140e2,'RzdJ',0x1c8)];const _0x190ed0=node_repo_1[_0x2a03d2(0x105,_0x58d166._0x5a5444,_0x58d166._0x5ce2f8,0x110)+_0x594db9(_0x58d166._0x2925bb,0x43c,_0x58d166._0x27b1cd,_0x58d166._0xbcd543)][_0x594db9(_0x58d166._0x100ed7,0x3cf,_0x58d166._0x5446be,0x3ea)](_0x28a5df),_0x7fb121={};return _0x7fb121[_0x2a03d2(_0x58d166._0x42b05b,_0x58d166._0x27a2a4,'#HJj',_0x58d166._0x4f8abf)]=!![],_0x7fb121[_0x594db9(_0x58d166._0x12060f,_0x58d166._0x2dfea8,'Ym*i',_0x58d166._0x253b9d)]=_0x190ed0,_0x7fb121[_0x2a03d2(_0x58d166._0x5d4d34,0x16c,'3SNm',_0x58d166._0x290fcb)]=_0x3ee412[_0x2a03d2(0x1f7,_0x58d166._0x3b3a93,'#Aax',0x1fd)],_0x7fb121;}}catch(_0x4a2094){if(_0x3ee412[_0x594db9(_0x58d166._0x10c9f5,0x448,_0x58d166._0x5920ed,0x4e7)](_0x3ee412[_0x594db9(0x468,0x409,_0x58d166._0x48d8e5,0x49a)],_0x3ee412[_0x594db9(_0x58d166._0x255f41,0x3b4,'x%YT',_0x58d166._0x54c11d)])){const _0x42a56c={};return _0x42a56c[_0x594db9(_0x58d166._0x3d2fa4,0x2ed,'d$R&',0x30e)]=![],_0x42a56c[_0x2a03d2(_0x58d166._0x53b821,0xdd,_0x58d166._0x84dc38,_0x58d166._0x5e0b5a)]=_0x2a03d2(0x224,_0x58d166._0x2e64f9,_0x58d166._0x4b609d,0x1dc)+_0x2a03d2(0xf7,_0x58d166._0x565a60,'f$sO',0x54)+_0x2a03d2(0x1eb,0x2a0,'LG8m',_0x58d166._0x3cedcf)+'\x20current\x20s'+'tatus:\x20'+_0x32465c[_0x2a03d2(_0x58d166._0x4c6194,_0x58d166._0xd7dafe,'Wow)',_0x58d166._0xe83878)],_0x42a56c;}else return{'success':![],'message':_0x594db9(_0x58d166._0x8f7d0e,0x3a1,'o3nL',0x3f0)+_0x594db9(0x360,_0x58d166._0x59a515,'d$R&',_0x58d166._0x20aaf3)+':\x20'+(_0x3ee412[_0x594db9(_0x58d166._0x1fa96d,_0x58d166._0x549068,'VNKj',0x2ae)](_0x4a2094,Error)?_0x4a2094[_0x594db9(0x49a,0x442,_0x58d166._0x156194,_0x58d166._0x966c2)]:_0x3ee412[_0x2a03d2(_0x58d166._0x49eddc,_0x58d166._0x5a9003,'SLLO',_0x58d166._0x3fb4d0)](String,_0x4a2094))};}}[_0x1c6614('t1LE',0x560,0x5ce,0x550)](_0x525b8b){const _0x34dabb={_0xee6270:0x47a,_0x3daa4a:0x461,_0x53c180:'o3nL',_0x278f04:'T2eu',_0x307903:0x106},_0x5b1ba4={_0x12925e:0x33,_0x3aaee5:0x172},_0x3a9874={_0x2162da:0x94,_0xa53c1b:0x40b};function _0x5e9b0e(_0x5b70af,_0x4cece5,_0x4cb11d,_0x324a56){return _0x1c6614(_0x4cece5,_0x4cece5-0x1cf,_0x4cb11d-_0x3a9874._0x2162da,_0x4cb11d- -_0x3a9874._0xa53c1b);}function _0x5710e4(_0x591c85,_0x4be91c,_0x94f416,_0x922611){return _0x504f3f(_0x591c85-_0x5b1ba4._0x12925e,_0x591c85- -_0x5b1ba4._0x3aaee5,_0x922611,_0x922611-0x14f);}return node_repo_1[_0x5710e4(_0x34dabb._0xee6270,_0x34dabb._0x3daa4a,0x3e7,_0x34dabb._0x53c180)+_0x5e9b0e(0x87,_0x34dabb._0x278f04,0x9f,_0x34dabb._0x307903)][_0x5710e4(0x3e8,0x3f5,0x486,'CXB*')](_0x525b8b);}[_0x1c6614('[SD(',0x463,0x42e,0x454)](_0xaa7b9c){const _0x30225c={_0x5d598f:0x3d7,_0x814dcd:0x2de,_0x641271:0x33e,_0x81977f:0x1b7},_0x10d3ee={_0x5be01b:0x131,_0x1874ef:0x7d},_0x362970={_0x5b334a:0x69,_0x32cd6f:0x608,_0x2dbbb6:0xeb};function _0x32bed5(_0x14313b,_0x37765f,_0x5d9128,_0x49d720){return _0x504f3f(_0x14313b-_0x362970._0x5b334a,_0x14313b- -_0x362970._0x32cd6f,_0x37765f,_0x49d720-_0x362970._0x2dbbb6);}function _0x2f30df(_0x5f2ea1,_0x3f642a,_0x25a30a,_0x9464f7){return _0x1c6614(_0x5f2ea1,_0x3f642a-_0x10d3ee._0x5be01b,_0x25a30a-_0x10d3ee._0x1874ef,_0x25a30a- -0x16f);}return node_repo_1[_0x2f30df('K*Ah',_0x30225c._0x5d598f,0x39c,0x3d9)+_0x2f30df('K*Ah',_0x30225c._0x814dcd,_0x30225c._0x641271,0x364)][_0x32bed5(-0x154,'JWFn',-_0x30225c._0x81977f,-0x1eb)](_0xaa7b9c);}[_0x1c6614('O^dM',0x502,0x516,0x510)+'AndSequenc'+_0x504f3f(0x4af,0x4e6,'CXB*',0x440)](_0x3b6094,_0x4b776c){const _0x2104f2={_0x1ec383:'$%6J',_0xe143e0:0x1ba,_0x3c84bc:0x21e,_0x5ec38e:0x4a8,_0x104a18:0x478,_0x3590bb:'t1LE',_0x5dabaa:0x4bd},_0x321de7={_0xe7719b:0x70,_0x520f54:0x8f},_0x19807d={_0x19b8e6:0x388};function _0x4c8e53(_0x51d23e,_0x10ca65,_0x3801b4,_0x29aa2c){return _0x504f3f(_0x51d23e-0x12d,_0x3801b4- -_0x19807d._0x19b8e6,_0x10ca65,_0x29aa2c-0x136);}function _0x56bb34(_0x3bcdaa,_0x241372,_0x30ccce,_0x4c6efc){return _0x504f3f(_0x3bcdaa-_0x321de7._0xe7719b,_0x241372- -_0x321de7._0x520f54,_0x4c6efc,_0x4c6efc-0x1a4);}return node_repo_1[_0x4c8e53(0x222,_0x2104f2._0x1ec383,_0x2104f2._0xe143e0,_0x2104f2._0x3c84bc)+_0x56bb34(_0x2104f2._0x5ec38e,_0x2104f2._0x104a18,0x51d,_0x2104f2._0x3590bb)][_0x56bb34(0x5b9,0x555,_0x2104f2._0x5dabaa,'jIL0')+'AndSequenc'+'eGt'](_0x3b6094,_0x4b776c);}[_0x504f3f(0x56d,0x54c,'NcC#',0x552)+'us'](_0x3ed643,_0x139d7b){const _0x523e60={_0xae5a63:0x108,_0x5d6999:0x106,_0x31ed86:'epAe',_0x18f6b1:'YOEf',_0x32a476:0x15d,_0x44d19b:0xdc,_0x10c89d:'gnwA',_0x168500:0x17,_0x293541:'wqJ3',_0x4e01e5:0x49,_0x5d9f60:0x58,_0x173aae:'SLLO',_0x4cb3a4:0x29,_0x2ecf67:0x15f,_0x1d669b:'iyI[',_0x4523c2:0x130,_0x4a36ce:0x8,_0x33cd7d:'09SV',_0x5c7fb1:0xd0,_0x46272f:'$%6J',_0x42d3c6:0xda,_0x86d64f:0x128,_0x2b4f78:0x18f,_0x2b9efb:0x159,_0x32d63e:0x1dc,_0x4f5126:'NcC#',_0x5bc74b:0x178,_0x26a908:0x23c,_0xc81365:0x19f,_0x4f142e:'M]HJ',_0x1da5d4:0x3b,_0x133992:0x8a,_0x47af5d:0x211,_0x545cb1:0xfc,_0x432e8a:'M]HJ',_0x138f09:0x14e},_0x19b5aa={_0x2efeb1:0x5a};function _0x40d7ea(_0x3b83d3,_0x578238,_0x387dbd,_0x3c3b34){return _0x504f3f(_0x3b83d3-0x174,_0x3c3b34- -0x5c5,_0x387dbd,_0x3c3b34-0xca);}const _0xdae4b={};function _0x3c4ac0(_0x4c42dc,_0x4ad53b,_0x31a169,_0x375b03){return _0x1c6614(_0x31a169,_0x4ad53b-_0x19b5aa._0x2efeb1,_0x31a169-0xf8,_0x4ad53b- -0x669);}_0xdae4b[_0x40d7ea(-_0x523e60._0xae5a63,-_0x523e60._0x5d6999,_0x523e60._0x31ed86,-0xe0)]=_0x3c4ac0(-0x126,-0x171,_0x523e60._0x18f6b1,-_0x523e60._0x32a476)+_0x3c4ac0(-_0x523e60._0x44d19b,-0xfe,_0x523e60._0x10c89d,-0x167),_0xdae4b[_0x40d7ea(-_0x523e60._0x168500,-0x60,_0x523e60._0x293541,_0x523e60._0x4e01e5)]=_0x40d7ea(_0x523e60._0x5d9f60,0x61,_0x523e60._0x173aae,_0x523e60._0x4cb3a4)+_0x3c4ac0(-0x242,-0x1e2,'Ym*i',-0x219);const _0x39af0e=_0xdae4b,_0x570950=node_repo_1[_0x3c4ac0(-0xa4,-_0x523e60._0x2ecf67,_0x523e60._0x1d669b,-_0x523e60._0x4523c2)+_0x40d7ea(-_0x523e60._0x4a36ce,-0x60,_0x523e60._0x33cd7d,-0x39)][_0x40d7ea(-0x12c,-_0x523e60._0x5c7fb1,_0x523e60._0x46272f,-_0x523e60._0x42d3c6)](_0x3ed643);if(!_0x570950){const _0x33ee00={};return _0x33ee00[_0x3c4ac0(-_0x523e60._0x86d64f,-0x166,'60&a',-_0x523e60._0x2b4f78)]=![],_0x33ee00['message']=_0x39af0e[_0x3c4ac0(-_0x523e60._0x2b9efb,-_0x523e60._0x32d63e,_0x523e60._0x4f5126,-_0x523e60._0x5bc74b)],_0x33ee00;}node_repo_1[_0x3c4ac0(-_0x523e60._0x26a908,-_0x523e60._0xc81365,_0x523e60._0x4f142e,-0x1de)+_0x40d7ea(0xaf,0x2e,'O$Zm',_0x523e60._0x1da5d4)]['updateStat'+'us'](_0x3ed643,_0x139d7b);const _0x56408d={};return _0x56408d[_0x3c4ac0(-_0x523e60._0x133992,-0xc9,'Wow)',-0x158)]=!![],_0x56408d[_0x3c4ac0(-0x1cb,-_0x523e60._0x47af5d,'f$sO',-0x1e0)]=_0x39af0e[_0x3c4ac0(-_0x523e60._0x545cb1,-0xd7,_0x523e60._0x432e8a,-_0x523e60._0x138f09)],_0x56408d;}[_0x1c6614('f$sO',0x596,0x43a,0x4e4)](_0x192b5b,_0xf81330){const _0x1cd6d1={_0x341dbf:0x127,_0x292275:0x156,_0x3a544d:0x255,_0x1ddde0:'QOCV',_0x119a08:'BU*d',_0x24e071:0x25,_0x5de557:0xcf,_0x3fee02:0x15e,_0xaf72d1:0x14f,_0x4a3644:'gnwA',_0x142b56:0xe9,_0x1e36f6:0x18d,_0x2e8167:0x1ad,_0x4c67d6:0x1bb,_0x546eff:0x263,_0x511065:'T2eu',_0x10e045:0x1cf,_0x4460e4:0x157,_0x235086:0x1f1,_0x411f34:0x183,_0x120df0:0x122,_0x1ff458:'epAe'},_0x54bf9c={_0x521f58:0x141,_0x15094d:0x1ae},_0x4a65ea={};function _0x3027c6(_0xaf2349,_0x8ff48a,_0x1c3dd1,_0x2b03cf){return _0x1c6614(_0x8ff48a,_0x8ff48a-_0x54bf9c._0x521f58,_0x1c3dd1-_0x54bf9c._0x15094d,_0x1c3dd1- -0x619);}_0x4a65ea[_0x59cb10(0x107,_0x1cd6d1._0x341dbf,_0x1cd6d1._0x292275,'#HJj')]=_0x3027c6(-0x89,'acAF',-0x12e,-0x8b)+_0x59cb10(0x1bc,0x23a,_0x1cd6d1._0x3a544d,'gnwA');function _0x59cb10(_0x449d79,_0x4a5a80,_0x598171,_0x1b88d7){return _0x1c6614(_0x1b88d7,_0x4a5a80-0x163,_0x598171-0x103,_0x449d79- -0x3af);}_0x4a65ea[_0x59cb10(0xbf,0x7c,0x162,_0x1cd6d1._0x1ddde0)]=_0x3027c6(-0xe4,_0x1cd6d1._0x119a08,-0x6d,_0x1cd6d1._0x24e071)+'ed';const _0x2be173=_0x4a65ea,_0x170e16=node_repo_1[_0x59cb10(_0x1cd6d1._0x5de557,_0x1cd6d1._0x3fee02,_0x1cd6d1._0xaf72d1,_0x1cd6d1._0x4a3644)+'pository'][_0x59cb10(0xab,_0x1cd6d1._0x142b56,0xe3,'5Hyg')](_0x192b5b);if(!_0x170e16){const _0x4a2567={};return _0x4a2567[_0x59cb10(0x17d,_0x1cd6d1._0x1e36f6,_0x1cd6d1._0x2e8167,'O$Zm')]=![],_0x4a2567[_0x59cb10(_0x1cd6d1._0x4c67d6,_0x1cd6d1._0x546eff,0x236,_0x1cd6d1._0x511065)]=_0x2be173[_0x3027c6(-0x17d,'Vn4J',-0x1a8,-0x19c)],_0x4a2567;}node_repo_1[_0x59cb10(_0x1cd6d1._0x10e045,_0x1cd6d1._0x4460e4,0x260,'r^Y[')+_0x3027c6(-0xbd,'LG8m',-0xe6,-0x64)]['updateNode'](_0x192b5b,_0xf81330);const _0x2c2133={};return _0x2c2133[_0x59cb10(_0x1cd6d1._0x235086,0x28a,0x240,'Wow)')]=!![],_0x2c2133[_0x59cb10(_0x1cd6d1._0x411f34,0x23d,_0x1cd6d1._0x120df0,'hhbo')]=_0x2be173[_0x59cb10(0x153,0x141,0x12f,_0x1cd6d1._0x1ff458)],_0x2c2133;}[_0x504f3f(0x5de,0x558,'CXB*',0x4d8)+_0x1c6614('$%6J',0x568,0x60c,0x588)](_0x405a07,_0x4cdbd3,_0x4ac3d7){const _0x2df105={_0x36233f:'NcC#',_0x291c9f:0x2bc,_0x5e4244:0x2bd,_0x557e99:0x342,_0x1dbf41:0x29e,_0x5ad156:0x33d,_0xdcca71:0x301,_0x229124:0x594,_0xab9ee1:0x4f6,_0x27d4a2:0x4dd,_0x1637c1:0x51a,_0xa9cf07:'hhbo',_0x41056f:0x49f,_0x2c8cb3:'ir$n',_0x34c4c5:0x293,_0x1f582a:0x35d,_0x346164:0x3ca,_0x3ea900:0x31b,_0x3f94cb:0x5a9,_0x39f0c8:'acAF',_0x4c4f3e:'f$sO',_0x49507b:0x35a,_0x1c3af1:0x2dc,_0x1e1d8d:0x374,_0x1c6091:'YOEf',_0x2c7a62:0x4b4,_0x37e319:0x552,_0x1adb52:0x4bf,_0x6027a9:0x5b8,_0x4bfe8e:0x60a,_0x498f87:0x371,_0x430e73:0x538,_0xba9cee:0x509,_0x30c524:'%2yN',_0x457234:'WcBj',_0x1dce5b:0x256,_0x2b523c:0x1b1,_0x2ca602:'Ym*i',_0x4b7df7:0x347,_0x13802f:0x3a9,_0x4e97a2:0x3fd,_0x5ee6d9:0x60e,_0x3af6e8:0x5be,_0x2c6164:'LG8m',_0x3515d1:'o3nL',_0x4cd841:0x2c7,_0x4677f1:'X^[)',_0x26f215:0x2e2,_0x190b39:'RzdJ',_0x5903bb:0x608,_0x1974db:0x60d,_0x177597:0x57f,_0x23184d:'QV#*',_0x42b650:0x245,_0x48c18c:0x304,_0x1b5e8d:0x34a,_0x4a329f:0x330,_0x3f6844:0x3fc},_0x3e7adb={_0x4f51fe:0x13b},_0x417e0b={_0x1f3f64:0x27,_0x4a41ca:0x5,_0x2f1bdf:0x45},_0x57b3df={};_0x57b3df[_0x130b93(_0x2df105._0x36233f,_0x2df105._0x291c9f,_0x2df105._0x5e4244,_0x2df105._0x557e99)]=_0x130b93('r^Y[',0x306,_0x2df105._0x1dbf41,0x2cb)+_0x130b93('QV#*',_0x2df105._0x5ad156,_0x2df105._0xdcca71,0x37c);function _0x4dd0fe(_0x98b133,_0x36b9cb,_0x16b4f3,_0x567ce6){return _0x504f3f(_0x98b133-_0x417e0b._0x1f3f64,_0x36b9cb-_0x417e0b._0x4a41ca,_0x567ce6,_0x567ce6-_0x417e0b._0x2f1bdf);}const _0x4a408e=_0x57b3df,_0x230948=node_repo_1[_0x4dd0fe(_0x2df105._0x229124,0x528,_0x2df105._0xab9ee1,'jIL0')+_0x4dd0fe(_0x2df105._0x27d4a2,0x520,_0x2df105._0x1637c1,_0x2df105._0xa9cf07)][_0x4dd0fe(0x589,0x522,_0x2df105._0x41056f,'X^[)')](_0x405a07);if(!_0x230948){const _0x219705={};return _0x219705[_0x130b93(_0x2df105._0x2c8cb3,0x2bf,_0x2df105._0x34c4c5,0x2ea)]=![],_0x219705[_0x130b93('M]HJ',_0x2df105._0x1f582a,_0x2df105._0x346164,_0x2df105._0x3ea900)]=_0x4a408e[_0x4dd0fe(0x621,_0x2df105._0x3f94cb,0x635,_0x2df105._0x39f0c8)],_0x219705[_0x130b93(_0x2df105._0x4c4f3e,_0x2df105._0x49507b,_0x2df105._0x1c3af1,_0x2df105._0x1e1d8d)+'t']=0x0,_0x219705[_0x130b93(_0x2df105._0x1c6091,0x2df,0x365,0x34b)]=MAX_REWORK_COUNT,_0x219705[_0x130b93('60&a',0x363,0x3c3,0x3df)+'ed']=![],_0x219705;}function _0x130b93(_0x3a371d,_0x5037b7,_0x3148f3,_0x25a1de){return _0x504f3f(_0x3a371d-0x39,_0x5037b7- -0x27d,_0x3a371d,_0x25a1de-_0x3e7adb._0x4f51fe);}const _0x52a1c2=node_repo_1[_0x4dd0fe(_0x2df105._0x2c7a62,_0x2df105._0x37e319,_0x2df105._0x1adb52,'%2yN')+_0x4dd0fe(_0x2df105._0x6027a9,_0x2df105._0x4bfe8e,0x6b9,'tH6J')][_0x130b93('JWFn',0x2bd,_0x2df105._0x498f87,0x279)+'ecord'](_0x405a07,_0x4cdbd3,_0x4ac3d7),_0x19137e=_0x52a1c2>=MAX_REWORK_COUNT,_0x6aa924={};return _0x6aa924[_0x4dd0fe(0x5c3,0x5a0,0x596,'LG8m')]=!![],_0x6aa924[_0x4dd0fe(_0x2df105._0x430e73,_0x2df105._0xba9cee,0x4b6,_0x2df105._0x30c524)]=_0x19137e?_0x130b93('k(IX',0x299,0x2c4,0x335)+_0x130b93(_0x2df105._0x457234,_0x2df105._0x1dce5b,_0x2df105._0x2b523c,0x1c2)+_0x130b93(_0x2df105._0x2ca602,_0x2df105._0x4b7df7,_0x2df105._0x13802f,_0x2df105._0x4e97a2)+_0x4dd0fe(0x5c9,_0x2df105._0x5ee6d9,_0x2df105._0x3af6e8,_0x2df105._0x2c6164)+_0x130b93(_0x2df105._0x3515d1,_0x2df105._0x4cd841,0x269,0x27b)+MAX_REWORK_COUNT+(_0x4dd0fe(0x419,0x4ac,0x4f2,'t1LE')+'ion\x20requir'+'ed'):_0x130b93(_0x2df105._0x4677f1,0x279,0x2d1,_0x2df105._0x26f215)+_0x130b93(_0x2df105._0x190b39,0x29a,0x1fe,0x29f),_0x6aa924[_0x4dd0fe(_0x2df105._0x5903bb,_0x2df105._0x1974db,_0x2df105._0x177597,_0x2df105._0x23184d)+'t']=_0x52a1c2,_0x6aa924[_0x130b93('tH6J',0x2d9,_0x2df105._0x42b650,_0x2df105._0x48c18c)]=MAX_REWORK_COUNT,_0x6aa924[_0x130b93('Wow)',_0x2df105._0x1b5e8d,_0x2df105._0x4a329f,_0x2df105._0x3f6844)+'ed']=_0x19137e,_0x6aa924;}[_0x1c6614('QOCV',0x46b,0x461,0x4e7)](_0x4b608e){const _0x49c66d={_0x789fcf:0x18c,_0x4a7d2f:0x1ee,_0x46e4db:0x16c,_0xe515b2:0x1fc,_0x2548f3:0x28f,_0x32a0b1:'M]HJ',_0x5942f1:0x115,_0x17bed2:0x15f,_0x574dfc:0x106,_0x3d7593:0x16d,_0x29f455:'#HJj',_0x2678b4:0x234,_0x2ec3f8:0x267,_0x4cb489:'E6w^'},_0x573169={_0x440646:0x69c,_0x5f4109:0x6d},_0x49adad={_0x197a48:0x164},_0x4cdb5b={};_0x4cdb5b[_0x316562('YOEf',-_0x49c66d._0x789fcf,-_0x49c66d._0x4a7d2f,-_0x49c66d._0x46e4db)]=function(_0x4dc5b5,_0x330c8b){return _0x4dc5b5-_0x330c8b;},_0x4cdb5b['UxOAP']=function(_0x5a41aa,_0x21cf95){return _0x5a41aa>_0x21cf95;};const _0x547b43=_0x4cdb5b;function _0x4b7fd6(_0x5e8423,_0x552439,_0x3476c5,_0x557cda){return _0x504f3f(_0x5e8423-_0x49adad._0x197a48,_0x5e8423- -0x6d9,_0x557cda,_0x557cda-0x1bf);}function _0x316562(_0x432cab,_0x510542,_0x54ee08,_0x4f3fb3){return _0x504f3f(_0x432cab-0xe5,_0x4f3fb3- -_0x573169._0x440646,_0x432cab,_0x4f3fb3-_0x573169._0x5f4109);}const _0x23124f=this[_0x4b7fd6(-_0x49c66d._0xe515b2,-0x247,-_0x49c66d._0x2548f3,'#Aax')+_0x316562(_0x49c66d._0x32a0b1,-0x108,-0xe8,-_0x49c66d._0x5942f1)](_0x4b608e),_0x3357e2=_0x547b43[_0x4b7fd6(-_0x49c66d._0x17bed2,-_0x49c66d._0x574dfc,-_0x49c66d._0x3d7593,_0x49c66d._0x29f455)](MAX_REWORK_COUNT,_0x23124f);return{'can_rework':_0x547b43[_0x4b7fd6(-_0x49c66d._0x2678b4,-_0x49c66d._0x2ec3f8,-0x1fa,'BU*d')](_0x3357e2,-0xac4*-0x1+-0xf4b+0x3d*0x13),'current_count':_0x23124f,'remaining':Math[_0x316562(_0x49c66d._0x4cb489,-0x199,-0x1f1,-0x1e7)](0x1a26+-0x5b8+-0x416*0x5,_0x3357e2)};}[_0x504f3f(0x507,0x552,'XUT*',0x557)+'ount'](_0x4541b7){const _0x12aa05={_0x31a27e:0x207,_0x55b940:'NcC#',_0x126112:0x1a9,_0x17a594:0xa0,_0x26e39a:0x335,_0x230225:'CXB*',_0x2d42fc:0x124},_0x8a6ab5={_0x2bb930:0x1b7,_0x1e9eba:0x71};function _0x5a6ea1(_0x3aeaec,_0x22864a,_0x8df69f,_0x462f3a){return _0x1c6614(_0x22864a,_0x22864a-0x37,_0x8df69f-0x60,_0x3aeaec- -0x6a7);}function _0x504bd9(_0x26261a,_0x24732f,_0x412312,_0xd4516b){return _0x1c6614(_0xd4516b,_0x24732f-_0x8a6ab5._0x2bb930,_0x412312-0x24,_0x26261a- -_0x8a6ab5._0x1e9eba);}return node_repo_1[_0x5a6ea1(-_0x12aa05._0x31a27e,_0x12aa05._0x55b940,-0x22a,-_0x12aa05._0x126112)+_0x5a6ea1(-0x112,'NcC#',-0x77,-_0x12aa05._0x17a594)][_0x504bd9(0x3e4,0x46a,_0x12aa05._0x26e39a,_0x12aa05._0x230225)+_0x5a6ea1(-_0x12aa05._0x2d42fc,'X^[)',-0x149,-0x138)](_0x4541b7);}[_0x504f3f(0x550,0x58e,'09SV',0x641)+_0x1c6614('d$R&',0x509,0x530,0x4db)](_0x9a82cd){const _0x2ba596={_0x13f2d7:0x4c7,_0x1c2f4b:'Wow)',_0x266910:0x1ed},_0x58af7e={_0x3c1525:0x52,_0xf59469:0x180},_0x203048={_0x1e62a6:0x1ac,_0x1317fa:0x156};function _0x3745e2(_0x58cac3,_0x132edd,_0x4172c5,_0x432ba4){return _0x504f3f(_0x58cac3-_0x203048._0x1e62a6,_0x432ba4- -0x747,_0x132edd,_0x432ba4-_0x203048._0x1317fa);}function _0x2be951(_0x2947d0,_0x392a71,_0x514811,_0x42a159){return _0x504f3f(_0x2947d0-_0x58af7e._0x3c1525,_0x514811- -0x117,_0x42a159,_0x42a159-_0x58af7e._0xf59469);}return node_repo_1[_0x2be951(_0x2ba596._0x13f2d7,0x46d,0x4e3,'BU*d')+_0x3745e2(-0x175,_0x2ba596._0x1c2f4b,-_0x2ba596._0x266910,-0x1c9)]['getFailure'+'Count'](_0x9a82cd);}[_0x1c6614('t1LE',0x47e,0x402,0x449)+_0x1c6614('60&a',0x4e2,0x543,0x497)](_0x40fb18){const _0x287c7d={_0x107c94:0x375,_0x2f25a2:'Vn4J',_0x58b706:0x24e,_0x5d4688:0x2e8,_0x2d23e1:0x7f,_0x43732c:0x20,_0x30f1cc:0x18d,_0x1cef76:'YOEf',_0x4e17a1:0x163},_0x80987d={_0x44e71b:0x1a8,_0x390e6e:0xaa,_0x341aa0:0x5c7},_0x41b6e7={_0x59d6b5:0xe0,_0x1d0a8a:0x2a2};function _0x15b2e8(_0xbaa75e,_0x5f30d9,_0x476cce,_0x3bd700){return _0x1c6614(_0x3bd700,_0x5f30d9-0x16f,_0x476cce-_0x41b6e7._0x59d6b5,_0x476cce- -_0x41b6e7._0x1d0a8a);}function _0xae6338(_0x358bb7,_0x920968,_0x21e51c,_0x48e0fa){return _0x1c6614(_0x920968,_0x920968-_0x80987d._0x44e71b,_0x21e51c-_0x80987d._0x390e6e,_0x48e0fa- -_0x80987d._0x341aa0);}return node_repo_1[_0x15b2e8(0x397,_0x287c7d._0x107c94,0x2f2,_0x287c7d._0x2f25a2)+_0x15b2e8(0x2f1,_0x287c7d._0x58b706,_0x287c7d._0x5d4688,'X^[)')][_0xae6338(-0x9a,'epAe',-_0x287c7d._0x2d23e1,-_0x287c7d._0x43732c)+_0xae6338(-_0x287c7d._0x30f1cc,_0x287c7d._0x1cef76,-_0x287c7d._0x4e17a1,-0xff)](_0x40fb18);}[_0x504f3f(0x545,0x538,'k(IX',0x56d)+_0x504f3f(0x54e,0x5e5,'YOEf',0x68b)](_0x3380db){const _0x588e59={_0x1d652f:0x149,_0x318834:0x136,_0x499db3:0x54,_0x593bd3:0x4c,_0x637f83:0x52a},_0x227da9={_0x4a274e:0xf,_0x58d474:0x432},_0x5c3595={_0x18364f:0x60},_0x37f75e=node_repo_1['taskNodeRe'+_0x58b29d('r^Y[',_0x588e59._0x1d652f,0x15d,_0x588e59._0x318834)]['findByTask'](_0x3380db);function _0x1255a0(_0x3fc9bd,_0x8eb01f,_0x2da85a,_0x7d04ce){return _0x1c6614(_0x3fc9bd,_0x8eb01f-0x137,_0x2da85a-0x1b,_0x7d04ce- -_0x5c3595._0x18364f);}if(_0x37f75e[_0x58b29d('NcC#',_0x588e59._0x499db3,-0x9,_0x588e59._0x593bd3)]===0x1*-0xc00+-0x13bb*0x1+0x1fbb)return![];function _0x58b29d(_0xf42e0b,_0x5d63fb,_0x246fe3,_0x578165){return _0x1c6614(_0xf42e0b,_0x5d63fb-0x7a,_0x246fe3-_0x227da9._0x4a274e,_0x5d63fb- -_0x227da9._0x58d474);}return _0x37f75e[_0x1255a0('Vn4J',_0x588e59._0x637f83,0x57a,0x50c)](_0x492ab1=>_0x492ab1[_0x1255a0('Vn4J',0x384,0x444,0x3ef)]===_0x58b29d('X^[)',0x114,0xed,0x1ae));}[_0x1c6614('o3nL',0x581,0x4c9,0x56e)+_0x504f3f(0x54d,0x5dd,'60&a',0x654)](_0x39114b){const _0x5cb08f={_0x5ebc50:0x2ea,_0x45b764:0x38f,_0x110772:'M]HJ',_0x239d91:0x436,_0x54d8a7:'SLLO',_0x306d70:0x2aa,_0x4f0c62:'wqJ3',_0x582119:'o3nL',_0x596a97:0x3a,_0xd8ea79:0x3c,_0x30946e:0x141,_0x1cca19:'O^dM',_0x5e177d:0x1c2,_0x290941:0xa3,_0x375399:0x1f,_0x260685:'Ym*i',_0x546e9f:0xc3,_0x3ae22f:0x128,_0x2bdb11:0x411,_0x34471e:0x35a,_0x29b5f8:0x445,_0x2e7748:0x3a8,_0x2e6e42:0x466,_0x39badb:'x%YT'},_0x10de15={_0x43e69e:0x85,_0x366985:0x5e9},_0x4a0fac={_0x31bacb:0xec,_0x4dd92d:0x1bc};function _0x87ec26(_0x4cc520,_0x3d7d00,_0xe9ed78,_0x2084eb){return _0x1c6614(_0x2084eb,_0x3d7d00-_0x4a0fac._0x31bacb,_0xe9ed78-_0x4a0fac._0x4dd92d,_0x4cc520- -0x17e);}const _0x125484=node_repo_1[_0x87ec26(0x322,_0x5cb08f._0x5ebc50,0x2ba,'NcC#')+_0x87ec26(0x3a3,_0x5cb08f._0x45b764,0x454,'BU*d')][_0x87ec26(0x39b,0x369,0x356,_0x5cb08f._0x110772)](_0x39114b);function _0x2f5d56(_0x104e7e,_0x1b501d,_0x5eba38,_0x313493){return _0x504f3f(_0x104e7e-_0x10de15._0x43e69e,_0x5eba38- -_0x10de15._0x366985,_0x1b501d,_0x313493-0x94);}return{'total':_0x125484[_0x87ec26(_0x5cb08f._0x239d91,0x4a9,0x494,_0x5cb08f._0x54d8a7)],'pending':_0x125484['filter'](_0x2625e2=>_0x2625e2[_0x2f5d56(-0x137,'M]HJ',-0x126,-0x17b)]===_0x2f5d56(-0x15,'[SD(',-0xb8,-0x77))[_0x87ec26(0x32d,_0x5cb08f._0x306d70,0x34f,_0x5cb08f._0x4f0c62)],'in_progress':_0x125484[_0x2f5d56(0x51,_0x5cb08f._0x582119,-_0x5cb08f._0x596a97,_0x5cb08f._0xd8ea79)](_0x3accc8=>_0x3accc8[_0x2f5d56(-0x8a,'YOEf',-0x60,-0xd6)]===_0x2f5d56(0x5b,'%2yN',-0x5c,-0x118)+'s')['length'],'pending_review':_0x125484[_0x2f5d56(-_0x5cb08f._0x30946e,_0x5cb08f._0x1cca19,-0x13b,-0x129)](_0x553290=>_0x553290[_0x2f5d56(-0x179,'5Hyg',-0x107,-0x125)]===_0x2f5d56(0x60,'t1LE',-0x41,-0xdb)+_0x87ec26(0x329,0x34f,0x2d8,'f$sO'))[_0x2f5d56(-_0x5cb08f._0x5e177d,'09SV',-0x146,-_0x5cb08f._0x290941)],'completed':_0x125484[_0x2f5d56(-_0x5cb08f._0x375399,_0x5cb08f._0x260685,-_0x5cb08f._0x546e9f,-_0x5cb08f._0x3ae22f)](_0x3e3df9=>_0x3e3df9[_0x87ec26(0x320,0x364,0x31f,'#HJj')]===_0x87ec26(0x432,0x470,0x39b,'K*Ah'))[_0x87ec26(_0x5cb08f._0x2bdb11,_0x5cb08f._0x34471e,_0x5cb08f._0x29b5f8,'x%YT')],'failed':_0x125484[_0x87ec26(0x3f8,_0x5cb08f._0x2e7748,_0x5cb08f._0x2e6e42,'O$Zm')](_0x1b0f1f=>_0x1b0f1f[_0x87ec26(0x3e7,0x42b,0x402,'JWFn')]===_0x2f5d56(0x2f,'jIL0',0xa,-0x3d))[_0x2f5d56(0x5f,_0x5cb08f._0x39badb,0x9,-0x7d)]};}[_0x1c6614('#HJj',0x43a,0x4fc,0x441)+_0x1c6614('JWFn',0x462,0x3b2,0x45b)](_0x4c9088,_0x592447){const _0x48ecc0={_0x5b23f1:0x28a,_0xcedc17:0x30d,_0x1219a1:'tH6J',_0x10a2bf:0x206,_0x30a2d2:0x301,_0x2ea65e:0x258,_0x26f3ce:0x1f5,_0x46feb7:'QOCV',_0x20ae9d:0x1f1,_0x475668:0x1f0,_0x469d11:'K*Ah',_0x498bec:0x269,_0x3f4cdd:0x24e,_0x7dacf2:0x243,_0x5359f2:0x278,_0x57af43:'x%YT',_0x262d71:0x192,_0x45518f:'CXB*',_0x344aa2:0x164,_0x4c0494:0xc9,_0x449c35:0x207,_0x4afb5d:'jIL0',_0xaf5cc0:0x229,_0x55432a:0x281,_0x1a76a2:0x220,_0x3e1836:0x26b,_0x997e32:0x2a4,_0x1d3c10:0x139,_0x23ac3e:0x140,_0x6bbe1f:0x16d,_0x292b49:0x21d,_0x941b3:0x1f9,_0x29ff20:0x21b,_0x31514d:0x1a4,_0x15e76c:0x12d,_0x3a3331:'#HJj',_0x5e3e14:0x1ac,_0x3a0905:0x91,_0x4615e6:'%2yN',_0x2dc6e9:0x18c,_0x22ef9c:0x199,_0x4d5752:'acAF',_0xf85cf5:0x188,_0x20f531:0x1e2,_0x146083:0x16e,_0x1e90bc:'XUT*',_0x85e199:0x20b,_0x56cf96:0x214,_0x41809e:0x184,_0xa09bc0:'wqJ3',_0x57083f:0x112,_0x42de1e:0x18c,_0x2bd857:0xdb,_0x508635:0x18d,_0x54b05f:'ir$n',_0xdd870c:0xd3,_0x3471ed:0x112,_0x48ffef:'tH6J',_0xc6fea7:0x11d,_0x143e92:0x16f,_0x144598:0x202,_0x24c744:0x1b4,_0x3273f5:'t1LE',_0x555949:0x19b,_0x281a32:'XUT*',_0x164d4d:0x23d,_0x4689e7:0x16e,_0x7d1789:'[SD(',_0x12f935:0x1be,_0x36b8b4:0x200,_0x3ab46c:'O^dM',_0x29d065:0x1f1,_0x44a946:0x150,_0x328657:0x1fa,_0x103c71:0x167,_0x17c3e0:0x16a,_0x289621:0x181,_0x1f19b2:'k(IX',_0x15d845:0x231,_0x1ba0b7:0x29c,_0x20e21c:0x28c,_0x3d481d:0xf9,_0x200981:0x173,_0x4dc087:'epAe',_0x26ff94:0x13a,_0x16b7fa:0x2cc,_0x26698d:'[SD(',_0x7bc5c:0x28e,_0x57871b:0x168,_0x39949e:0x209,_0x4687cb:0x1bf,_0x40db76:'yJ]C',_0x390ef6:0x1f0,_0x2555be:0x13a,_0x25d494:'X^[)',_0x10645a:0xd8,_0x58c9aa:0x193,_0x161a11:0x1ae,_0x149334:0xfa,_0x4266b2:'d$R&',_0x4c2f97:0x33f,_0x5beedf:0x286,_0x3365e2:0x1cf,_0x1deb87:0x221,_0x39a931:0x1b9,_0x404eba:'5Hyg',_0x481bb9:0x18b,_0x4a4289:0x199,_0x51cb93:0x237,_0x47cb52:0x194,_0x19f37a:0x1a5,_0x3d3833:0x203,_0x3d3527:0x18c,_0x31a6f3:0x185,_0x5d182c:0x1bb,_0x41e2c0:0x151,_0x2b5db4:0x281,_0x2ea209:0x285,_0x1fbf50:'$%6J',_0x35e280:0x13d,_0x58f657:'E6w^',_0x190d9b:0x349,_0x5dc6b0:0x17f,_0x5c8e9e:0x20a,_0x592177:0x21c,_0x103361:'Vn4J',_0x4150c1:0x17a,_0x1ca40b:0xcc,_0xddfcfb:'BU*d',_0x25b317:0x1b1,_0x1fdd5a:0x1cd,_0x419abe:0x180,_0x59cb0a:0x2b4,_0x7f729:0x234},_0x4cf88c={_0x2ab8d1:0x1c7,_0x2b202f:0x6d},_0x77b7d3={};_0x77b7d3[_0x4738ac(-_0x48ecc0._0x5b23f1,-0x25c,-_0x48ecc0._0xcedc17,_0x48ecc0._0x1219a1)]=_0x4738ac(-_0x48ecc0._0x10a2bf,-0x298,-_0x48ecc0._0x30a2d2,'T2eu')+_0x4738ac(-0x238,-_0x48ecc0._0x2ea65e,-_0x48ecc0._0x26f3ce,_0x48ecc0._0x46feb7),_0x77b7d3[_0x258359(-_0x48ecc0._0x20ae9d,-0x187,-_0x48ecc0._0x475668,_0x48ecc0._0x469d11)]=function(_0x4775cb,_0x161f4f){return _0x4775cb!==_0x161f4f;},_0x77b7d3[_0x4738ac(-_0x48ecc0._0x498bec,-0x2d3,-0x2e3,'jIL0')]=_0x4738ac(-_0x48ecc0._0x3f4cdd,-_0x48ecc0._0x7dacf2,-_0x48ecc0._0x5359f2,'[SD('),_0x77b7d3[_0x4738ac(-0x26f,-0x1d1,-0x184,_0x48ecc0._0x57af43)]=_0x258359(-0x22d,-_0x48ecc0._0x262d71,-0x1ab,_0x48ecc0._0x45518f)+_0x4738ac(-0x1b2,-_0x48ecc0._0x344aa2,-_0x48ecc0._0x4c0494,'%2yN'),_0x77b7d3[_0x4738ac(-0x231,-0x295,-_0x48ecc0._0x449c35,_0x48ecc0._0x4afb5d)]=function(_0x58755f,_0xb15c63){return _0x58755f===_0xb15c63;},_0x77b7d3[_0x4738ac(-0x213,-_0x48ecc0._0xaf5cc0,-_0x48ecc0._0x55432a,'BU*d')]=_0x4738ac(-_0x48ecc0._0x1a76a2,-_0x48ecc0._0x3e1836,-_0x48ecc0._0x997e32,'#Aax'),_0x77b7d3[_0x258359(-_0x48ecc0._0x1d3c10,-_0x48ecc0._0x23ac3e,-_0x48ecc0._0x6bbe1f,'[q^T')]=_0x4738ac(-0x1ff,-_0x48ecc0._0x292b49,-_0x48ecc0._0x941b3,'o3nL')+_0x4738ac(-_0x48ecc0._0x29ff20,-0x235,-_0x48ecc0._0x31514d,'d$R&')+'nt';const _0x52e9cb=_0x77b7d3,_0x4e6c6d=node_repo_1[_0x258359(-0x157,-0x7a,-_0x48ecc0._0x15e76c,_0x48ecc0._0x3a3331)+_0x258359(-_0x48ecc0._0x5e3e14,-_0x48ecc0._0x3a0905,-0x149,_0x48ecc0._0x4615e6)][_0x258359(-0x118,-0x22e,-_0x48ecc0._0x2dc6e9,'Vn4J')](_0x4c9088);if(!_0x4e6c6d){const _0x460f1e={};return _0x460f1e[_0x4738ac(-0x1f7,-0x22f,-_0x48ecc0._0x22ef9c,_0x48ecc0._0x4d5752)]=![],_0x460f1e[_0x258359(-_0x48ecc0._0xf85cf5,-0x1fc,-_0x48ecc0._0x20f531,'$%6J')]=_0x52e9cb[_0x258359(-0x196,-0x220,-_0x48ecc0._0x146083,_0x48ecc0._0x1e90bc)],_0x460f1e;}if(_0x52e9cb[_0x4738ac(-_0x48ecc0._0x85e199,-0x1db,-_0x48ecc0._0x56cf96,'LG8m')](_0x4e6c6d[_0x258359(-0xc9,-0x176,-_0x48ecc0._0x41809e,_0x48ecc0._0xa09bc0)],_0x52e9cb[_0x4738ac(-0x356,-0x2b2,-0x211,'SLLO')])){if(_0x52e9cb[_0x4738ac(-_0x48ecc0._0x57083f,-_0x48ecc0._0x42de1e,-0x1b8,'yJ]C')](_0x52e9cb[_0x258359(-_0x48ecc0._0x2bd857,-_0x48ecc0._0x508635,-0x14e,_0x48ecc0._0x54b05f)],_0x52e9cb[_0x4738ac(-_0x48ecc0._0xdd870c,-0x17b,-_0x48ecc0._0x3471ed,_0x48ecc0._0x48ffef)])){const _0x23ca02={};return _0x23ca02[_0x4738ac(-0xc0,-0x169,-0x1b9,'#Aax')]=![],_0x23ca02[_0x4738ac(-0x22c,-0x1c0,-_0x48ecc0._0xc6fea7,'WcBj')]=_0x4738ac(-_0x48ecc0._0x143e92,-_0x48ecc0._0x144598,-_0x48ecc0._0x24c744,_0x48ecc0._0x3273f5)+_0x258359(-0x126,-_0x48ecc0._0x555949,-0x152,_0x48ecc0._0x281a32)+_0x4738ac(-0xf1,-0x16d,-0x1c4,'Wow)')+_0x4738ac(-0x2c2,-_0x48ecc0._0x164d4d,-0x20e,'yJ]C')+_0x4738ac(-0x1d4,-0x23f,-0x2e2,'K*Ah')+_0x4e6c6d[_0x4738ac(-0xfb,-_0x48ecc0._0x4689e7,-0x213,_0x48ecc0._0x7d1789)],_0x23ca02;}else{const _0x16d5ff=_0x515fad[_0x258359(-0x21e,-_0x48ecc0._0x12f935,-_0x48ecc0._0x36b8b4,_0x48ecc0._0x3ab46c)+_0x258359(-_0x48ecc0._0x3471ed,-_0x48ecc0._0x29d065,-0x139,'k(IX')][_0x258359(-_0x48ecc0._0x44a946,-0x262,-_0x48ecc0._0x328657,'LG8m')](_0x43e37f);if(!_0x16d5ff){const _0x10bcd7={};return _0x10bcd7['success']=![],_0x10bcd7[_0x4738ac(-0x213,-_0x48ecc0._0x103c71,-_0x48ecc0._0x17c3e0,'iyI[')]=_0x52e9cb[_0x258359(-0x1a2,-_0x48ecc0._0x289621,-0x14d,_0x48ecc0._0x1f19b2)],_0x10bcd7;}if(_0x52e9cb[_0x4738ac(-_0x48ecc0._0x15d845,-_0x48ecc0._0x1ba0b7,-_0x48ecc0._0x20e21c,'BU*d')](_0x16d5ff[_0x258359(-0x117,-_0x48ecc0._0x3d481d,-_0x48ecc0._0x200981,_0x48ecc0._0x4dc087)],_0x52e9cb[_0x258359(-0xdf,-_0x48ecc0._0x26ff94,-0x175,_0x48ecc0._0x469d11)])){const _0x4b6a74={};return _0x4b6a74[_0x4738ac(-0x243,-_0x48ecc0._0x16b7fa,-0x258,_0x48ecc0._0x26698d)]=![],_0x4b6a74[_0x4738ac(-_0x48ecc0._0x7bc5c,-0x1df,-_0x48ecc0._0x7bc5c,'hhbo')]=_0x4738ac(-0xc0,-_0x48ecc0._0x57871b,-_0x48ecc0._0x39949e,'CXB*')+_0x4738ac(-0x1f0,-0x225,-_0x48ecc0._0x4687cb,_0x48ecc0._0x40db76)+_0x4738ac(-_0x48ecc0._0x390ef6,-0x17e,-_0x48ecc0._0x2555be,_0x48ecc0._0x25d494)+_0x4738ac(-_0x48ecc0._0x10645a,-0x18d,-_0x48ecc0._0x58c9aa,'QV#*')+_0x4738ac(-0x14a,-_0x48ecc0._0x161a11,-_0x48ecc0._0x149334,_0x48ecc0._0x4266b2)+_0x16d5ff[_0x258359(-0x240,-0x2a0,-0x20c,'5Hyg')],_0x4b6a74;}const _0x975129={};_0x975129['agent_id']=null,_0x55d4bf[_0x4738ac(-_0x48ecc0._0x4c2f97,-_0x48ecc0._0x5beedf,-_0x48ecc0._0x3365e2,'O^dM')+_0x4738ac(-_0x48ecc0._0x1deb87,-_0x48ecc0._0x39a931,-0x1cf,_0x48ecc0._0x404eba)][_0x4738ac(-_0x48ecc0._0x481bb9,-0x1ec,-_0x48ecc0._0x4a4289,'BU*d')](_0x4b6ec0,_0x975129);const _0xbe2839=_0x42e4ae[_0x258359(-_0x48ecc0._0x51cb93,-_0x48ecc0._0x47cb52,-_0x48ecc0._0x19f37a,'[SD(')+'pository'][_0x258359(-0x185,-_0x48ecc0._0x3d3833,-_0x48ecc0._0x3d3527,'Vn4J')](_0xce68c3),_0x26a892={};return _0x26a892[_0x258359(-_0x48ecc0._0x31a6f3,-0x1a3,-0x1a9,_0x48ecc0._0x4d5752)]=!![],_0x26a892[_0x258359(-_0x48ecc0._0x5d182c,-0x1e1,-_0x48ecc0._0x41e2c0,'09SV')]=_0x52e9cb[_0x4738ac(-_0x48ecc0._0x2b5db4,-_0x48ecc0._0x2ea209,-0x20c,_0x48ecc0._0x1fbf50)],_0x26a892[_0x4738ac(-_0x48ecc0._0x555949,-0x15e,-_0x48ecc0._0x35e280,_0x48ecc0._0x58f657)]=_0xbe2839,_0x26a892;}}function _0x258359(_0x2686bc,_0xced7b,_0x59be10,_0x13a27c){return _0x504f3f(_0x2686bc-0xb1,_0x59be10- -0x6ee,_0x13a27c,_0x13a27c-0x85);}function _0x4738ac(_0x56fd54,_0x548c24,_0x5d7a13,_0x25323c){return _0x1c6614(_0x25323c,_0x548c24-_0x4cf88c._0x2ab8d1,_0x5d7a13-_0x4cf88c._0x2b202f,_0x548c24- -0x711);}const _0xd21245={};_0xd21245[_0x4738ac(-_0x48ecc0._0x190d9b,-0x2ca,-0x2d2,'iyI[')]=_0x592447,node_repo_1[_0x4738ac(-0x269,-0x1b3,-0x191,_0x48ecc0._0x3a3331)+_0x258359(-_0x48ecc0._0x5dc6b0,-_0x48ecc0._0x5c8e9e,-_0x48ecc0._0x592177,_0x48ecc0._0x103361)][_0x258359(-0xd5,-_0x48ecc0._0x1deb87,-_0x48ecc0._0x4150c1,'%2yN')](_0x4c9088,_0xd21245);const _0x3a7176=node_repo_1['taskNodeRe'+_0x258359(-0x1d3,-_0x48ecc0._0x1ca40b,-_0x48ecc0._0x17c3e0,_0x48ecc0._0xddfcfb)][_0x258359(-0x18a,-0x155,-0x1cf,'RzdJ')](_0x4c9088),_0x5c0e2d={};return _0x5c0e2d['success']=!![],_0x5c0e2d[_0x4738ac(-0x203,-_0x48ecc0._0x25b317,-0x252,'#HJj')]=_0x52e9cb[_0x4738ac(-_0x48ecc0._0x4150c1,-_0x48ecc0._0x1fdd5a,-_0x48ecc0._0x419abe,_0x48ecc0._0x404eba)],_0x5c0e2d[_0x4738ac(-_0x48ecc0._0x59cb0a,-_0x48ecc0._0x7f729,-0x245,'gnwA')]=_0x3a7176,_0x5c0e2d;}['unassign'](_0xaebadf){const _0x112f26={_0x39c7a8:0x18c,_0xe9eaa6:0x20b,_0xe59d37:'K*Ah',_0x40603d:0x15e,_0x1ee090:0x141,_0x239ea5:0x106,_0x4419d8:0xe9,_0x58581d:0x1ee,_0x44f702:0x223,_0x1c281a:'60&a',_0x559c23:0x22c,_0x2fdb48:0x225,_0x1345b8:0xc2,_0x1f9d45:0x14d,_0x4c3be2:0xfd,_0x25fb9d:'5Hyg',_0x145712:0xcd,_0xbe2276:0xd2,_0x2a697c:0x1bf,_0x33348e:0xed,_0x4448a8:'$%6J',_0x427cec:0x189,_0x2530ee:0xf4,_0x53496b:'ir$n',_0xc82df5:0x137,_0x463fbe:0x107,_0x2b49b1:0x1f0,_0x2c21fd:0x1ec,_0x468fc3:0x1e3,_0x3dad9e:0xe0,_0x24ff90:'3SNm',_0x198376:0xab,_0x5ee552:0x226,_0x53107:0xec,_0x1ff83e:0x25b,_0x176c9b:0x21e,_0x33c6fd:0x26e,_0x3de373:0x258,_0x1f8ddd:0x232,_0x1b70dd:'hhbo',_0x1af3fc:0x72,_0x3942e3:0xbc,_0x56b77e:'gnwA',_0x157b09:0x15b,_0x54bc43:'YOEf',_0x582fb7:0x15f,_0x3b5ae1:0x152,_0x2a1d38:'BU*d',_0x556897:0x167,_0x3f9530:'SLLO',_0x30bd4d:0x1d7,_0x2b0cc7:0x14a,_0x16692f:'jIL0',_0x5764eb:0x1b3,_0xf16bb2:0x14d,_0x359635:0x1d5,_0x49d6b0:'LG8m',_0x1f44f8:0x16f,_0x2d3a1e:'[SD(',_0x157496:0xdb,_0x37c76d:0x1d4,_0x3cfed9:0x1b0,_0x58f9d5:0x143,_0x2f7ddc:0xc0,_0x7f4ad7:'E6w^',_0x525343:0x169,_0x4ce612:0x196,_0x50af78:0x203,_0x120878:0xc7,_0x455c40:'iyI[',_0x37928d:0xea,_0x4537a9:0x47,_0xbc9efb:0x165,_0x4afea2:0x197,_0x131ed9:0xdd,_0x4765fb:'f$sO',_0x2e84fb:0x176,_0x4b5b05:0xf2,_0x1cdb4d:0x155,_0x4e5cf2:0xad,_0x491fdb:0x166,_0x5df72d:0x17e,_0x5aab2c:'VNKj'},_0x3720aa={_0x2fc49f:0x1e2,_0x2c0a10:0x37d},_0x26621e={_0x21c311:0x6b8},_0x2ba486={};_0x2ba486[_0x5d2e51(-0x1f3,'3SNm',-_0x112f26._0x39c7a8,-0x23c)]=function(_0xc2e576,_0x9b4d45){return _0xc2e576!==_0x9b4d45;},_0x2ba486[_0x5d2e51(-_0x112f26._0xe9eaa6,_0x112f26._0xe59d37,-0x1d7,-_0x112f26._0x40603d)]=_0x548b24(0x145,'jIL0',_0x112f26._0x1ee090,0x1a3),_0x2ba486[_0x5d2e51(-0x15f,'O^dM',-_0x112f26._0x239ea5,-_0x112f26._0x4419d8)]=_0x548b24(0x1f4,'E6w^',_0x112f26._0x58581d,_0x112f26._0x44f702)+'ound',_0x2ba486['BcDVv']=function(_0x166dec,_0x579c04){return _0x166dec!==_0x579c04;},_0x2ba486['BsiBt']=_0x5d2e51(-0x1bb,_0x112f26._0x1c281a,-0x24c,-0x171)+_0x548b24(0x18b,'iyI[',_0x112f26._0x559c23,_0x112f26._0x2fdb48);const _0x19829a=_0x2ba486,_0x1cd5a0=node_repo_1[_0x548b24(_0x112f26._0x1345b8,'X^[)',_0x112f26._0x1f9d45,0x166)+_0x5d2e51(-_0x112f26._0x4c3be2,_0x112f26._0x25fb9d,-_0x112f26._0x145712,-_0x112f26._0xbe2276)][_0x5d2e51(-_0x112f26._0x2a697c,'[q^T',-0x11c,-0x1eb)](_0xaebadf);if(!_0x1cd5a0){if(_0x19829a[_0x5d2e51(-_0x112f26._0x33348e,_0x112f26._0x4448a8,-0x10a,-_0x112f26._0x427cec)](_0x19829a[_0x5d2e51(-0x182,'r^Y[',-_0x112f26._0x2530ee,-0x15f)],_0x19829a[_0x5d2e51(-0x126,_0x112f26._0x53496b,-_0x112f26._0xc82df5,-_0x112f26._0x463fbe)]))return _0x47631c['taskNodeRe'+_0x548b24(_0x112f26._0x2b49b1,'RzdJ',_0x112f26._0x2c21fd,_0x112f26._0x468fc3)][_0x548b24(_0x112f26._0x3dad9e,_0x112f26._0x24ff90,0xe6,_0x112f26._0x198376)+_0x5d2e51(-0xa3,'k(IX',-0x5e,-0x11d)](_0x3ae427);else{const _0x234fb4={};return _0x234fb4[_0x5d2e51(-0x1b6,'M]HJ',-0x1a9,-_0x112f26._0x5ee552)]=![],_0x234fb4[_0x5d2e51(-_0x112f26._0x53107,'Ym*i',-0x155,-0x108)]=_0x19829a[_0x548b24(0x1d8,'M]HJ',_0x112f26._0x1ff83e,_0x112f26._0x176c9b)],_0x234fb4;}}if(_0x19829a['BcDVv'](_0x1cd5a0[_0x5d2e51(-0x206,'Vn4J',-0x18c,-0x27b)],_0x5d2e51(-0x208,'09SV',-_0x112f26._0x33c6fd,-_0x112f26._0x3de373))){const _0x1a8e97={};return _0x1a8e97[_0x548b24(0x222,'tH6J',0x228,_0x112f26._0x1f8ddd)]=![],_0x1a8e97[_0x5d2e51(-0x123,_0x112f26._0x1b70dd,-0x18a,-_0x112f26._0x1af3fc)]=_0x5d2e51(-_0x112f26._0x3942e3,_0x112f26._0x56b77e,-0x8a,-0x100)+_0x548b24(_0x112f26._0x157b09,_0x112f26._0x54bc43,_0x112f26._0x582fb7,_0x112f26._0x3b5ae1)+_0x5d2e51(-0x125,_0x112f26._0x2a1d38,-0x7f,-_0x112f26._0x556897)+_0x5d2e51(-0x14c,_0x112f26._0x3f9530,-_0x112f26._0x30bd4d,-_0x112f26._0x2b0cc7)+_0x548b24(0x1a5,_0x112f26._0x16692f,_0x112f26._0x5764eb,_0x112f26._0xf16bb2)+_0x1cd5a0[_0x5d2e51(-_0x112f26._0x359635,'[q^T',-0x17e,-0x223)],_0x1a8e97;}const _0x33557d={};_0x33557d[_0x5d2e51(-0xe3,_0x112f26._0x49d6b0,-0x150,-0x14d)]=null,node_repo_1[_0x5d2e51(-_0x112f26._0x1f44f8,_0x112f26._0x2d3a1e,-_0x112f26._0x157496,-0x1ba)+_0x5d2e51(-0x1f9,'#Aax',-0x1a5,-_0x112f26._0x37c76d)][_0x548b24(_0x112f26._0x3cfed9,'QV#*',0x1ef,_0x112f26._0x58f9d5)](_0xaebadf,_0x33557d);function _0x5d2e51(_0x31ece8,_0x3622fe,_0x409665,_0x5cc1e5){return _0x504f3f(_0x31ece8-0xc1,_0x31ece8- -_0x26621e._0x21c311,_0x3622fe,_0x5cc1e5-0x167);}const _0x2d221d=node_repo_1[_0x548b24(_0x112f26._0x2f7ddc,_0x112f26._0x7f4ad7,_0x112f26._0x525343,0xd7)+_0x5d2e51(-_0x112f26._0x4ce612,'epAe',-0x129,-_0x112f26._0x50af78)][_0x5d2e51(-_0x112f26._0x120878,_0x112f26._0x455c40,-_0x112f26._0x37928d,-_0x112f26._0x4537a9)](_0xaebadf),_0x25534d={};_0x25534d[_0x548b24(_0x112f26._0xbc9efb,'acAF',_0x112f26._0x4afea2,_0x112f26._0x131ed9)]=!![],_0x25534d[_0x548b24(0xdb,_0x112f26._0x4765fb,_0x112f26._0x2e84fb,_0x112f26._0x4b5b05)]=_0x19829a[_0x5d2e51(-_0x112f26._0x1cdb4d,'o3nL',-_0x112f26._0x4e5cf2,-_0x112f26._0x491fdb)],_0x25534d[_0x548b24(_0x112f26._0x5df72d,_0x112f26._0x5aab2c,_0x112f26._0x4419d8,0x14c)]=_0x2d221d;function _0x548b24(_0x38675a,_0x317190,_0x1ebff7,_0x46b375){return _0x1c6614(_0x317190,_0x317190-_0x3720aa._0x2fc49f,_0x1ebff7-0x112,_0x38675a- -_0x3720aa._0x2c0a10);}return _0x25534d;}[_0x1c6614('NcC#',0x401,0x4f1,0x494)+_0x1c6614('t1LE',0x4f0,0x41c,0x46c)](_0xf0fde8){const _0x92fb2d={_0x409c87:'t1LE',_0x77b7f8:0x16b,_0x2b8a0b:0x83,_0x5d38a4:0x8e,_0x46e4d7:0xaa,_0x5014fc:0xff,_0x281017:0xa3,_0x51fe52:0x218,_0x56e992:0x288,_0x476630:'r^Y[',_0x19bec0:0x224,_0x2b9ebf:0x187,_0x2c268b:'tH6J',_0x43d208:0x140,_0xee76af:'09SV',_0x4643df:0x1d9,_0x7ae526:0x190,_0x410aa6:0x18b,_0x48814c:0x2be,_0x418c18:0x220,_0x28d162:0x251,_0x11165e:0x214,_0x3e90da:'QV#*',_0x47722c:0xe7,_0x46075a:0x199,_0x1b38b4:'wqJ3',_0x170ab6:0xb3,_0xa12c39:0xaf,_0x386d1a:'o3nL',_0x162174:0xdd,_0x41dbac:0x36,_0x350ba7:0x275,_0x5e3de3:0x1a1,_0x56f349:0x131,_0x1f7df3:'iyI[',_0x3dacf7:0x179,_0x422f37:'CXB*',_0x1af376:0x47,_0x3ce2ea:0xcf,_0x41210d:'T2eu',_0x1f831c:0x104,_0x43def3:'K*Ah',_0x204dcf:0x65,_0x54b027:0x2b,_0x2195ad:'%2yN',_0x4c0a8a:0x175,_0x90d47d:'#Aax',_0x1f02e0:0x1dd,_0x15018a:0x1ed,_0x51d03d:0x1b7,_0x2cf86d:0x99,_0x248b6b:0x93,_0x3cb22b:0xdb,_0x4bb4a1:0x112,_0xe7a96b:0x1c4,_0x294ebb:0x1c9,_0x31ee2b:'X^[)',_0x263d7e:0x173,_0x5db765:'RzdJ',_0x154a0e:'#Aax'},_0x107d88={_0x3faeee:0x1b,_0x16f91f:0xab},_0x5ad593={_0x3cf2a2:0x5ae},_0x9e3f69={};_0x9e3f69['BfQYs']=function(_0x35ce41,_0x221134){return _0x35ce41!==_0x221134;},_0x9e3f69[_0x51b79b(-0x10d,-0x117,_0x92fb2d._0x409c87,-_0x92fb2d._0x77b7f8)]=_0x51b79b(-_0x92fb2d._0x2b8a0b,-_0x92fb2d._0x5d38a4,'#Aax',-_0x92fb2d._0x46e4d7)+'s',_0x9e3f69[_0x51b79b(-_0x92fb2d._0x5014fc,-_0x92fb2d._0x281017,'5Hyg',-0xdf)]=_0x451d5f(_0x92fb2d._0x51fe52,0x207,_0x92fb2d._0x56e992,_0x92fb2d._0x476630)+_0x451d5f(_0x92fb2d._0x19bec0,_0x92fb2d._0x2b9ebf,0x295,_0x92fb2d._0x2c268b)+'ed';const _0x1cf38d=_0x9e3f69,_0x4876c9=node_repo_1[_0x51b79b(-0xf5,-_0x92fb2d._0x43d208,_0x92fb2d._0xee76af,-0x106)+_0x451d5f(_0x92fb2d._0x4643df,_0x92fb2d._0x7ae526,_0x92fb2d._0x410aa6,'x%YT')][_0x451d5f(0x26f,_0x92fb2d._0x48814c,0x22c,'NcC#')](_0xf0fde8);if(!_0x4876c9){const _0x2581ba={};return _0x2581ba[_0x451d5f(_0x92fb2d._0x418c18,_0x92fb2d._0x28d162,_0x92fb2d._0x11165e,_0x92fb2d._0x3e90da)]=![],_0x2581ba[_0x51b79b(-_0x92fb2d._0x47722c,-_0x92fb2d._0x46075a,_0x92fb2d._0x1b38b4,-0xe9)]=_0x51b79b(-_0x92fb2d._0x170ab6,-_0x92fb2d._0xa12c39,_0x92fb2d._0x386d1a,-0x6b)+_0x51b79b(-0x3d,-_0x92fb2d._0x162174,'Vn4J',-_0x92fb2d._0x41dbac),_0x2581ba;}if(_0x1cf38d[_0x451d5f(0x235,_0x92fb2d._0x350ba7,_0x92fb2d._0x5e3de3,'jIL0')](_0x4876c9[_0x51b79b(-0xd3,-0xf2,'RzdJ',-_0x92fb2d._0x56f349)],_0x1cf38d[_0x451d5f(0x1e3,0x216,0x12d,_0x92fb2d._0x1f7df3)])){const _0x14d468={};return _0x14d468['success']=![],_0x14d468[_0x451d5f(_0x92fb2d._0x3dacf7,0xe2,0x128,'O$Zm')]=_0x51b79b(-0x84,-0xfc,_0x92fb2d._0x422f37,-_0x92fb2d._0x1af376)+_0x51b79b(-_0x92fb2d._0x3ce2ea,-0x107,_0x92fb2d._0x41210d,-0xb2)+_0x51b79b(-0xba,-_0x92fb2d._0x1f831c,_0x92fb2d._0x43def3,-_0x92fb2d._0x204dcf)+_0x51b79b(-0xbf,-_0x92fb2d._0x54b027,_0x92fb2d._0x2195ad,-0x5a)+_0x51b79b(0x1f,-0xd1,'jIL0',-0x61)+_0x4876c9[_0x451d5f(0x210,_0x92fb2d._0x4c0a8a,0x282,_0x92fb2d._0x90d47d)],_0x14d468;}function _0x51b79b(_0x41b9d4,_0x2c919e,_0x32747a,_0x21ec29){return _0x1c6614(_0x32747a,_0x2c919e-0x19,_0x32747a-0x18,_0x21ec29- -_0x5ad593._0x3cf2a2);}node_repo_1[_0x451d5f(_0x92fb2d._0x1f02e0,_0x92fb2d._0x15018a,_0x92fb2d._0x51d03d,'k(IX')+_0x51b79b(-0x7d,0x1b,'XUT*',-_0x92fb2d._0x2cf86d)][_0x51b79b(-_0x92fb2d._0x248b6b,-_0x92fb2d._0x3cb22b,'[q^T',-_0x92fb2d._0x4bb4a1)+_0x451d5f(_0x92fb2d._0xe7a96b,0x1e9,_0x92fb2d._0x294ebb,_0x92fb2d._0x31ee2b)](_0xf0fde8);const _0x5aebf5={};_0x5aebf5[_0x451d5f(0x1a2,0x24f,_0x92fb2d._0x263d7e,_0x92fb2d._0x5db765)]=!![],_0x5aebf5[_0x51b79b(-0x6d,-0x29,_0x92fb2d._0x154a0e,-0x63)]=_0x1cf38d[_0x451d5f(0x19c,0x148,0xee,'wqJ3')];function _0x451d5f(_0xe597e,_0xadfd4b,_0x3cf77f,_0x15b412){return _0x1c6614(_0x15b412,_0xadfd4b-_0x107d88._0x3faeee,_0x3cf77f-_0x107d88._0x16f91f,_0xe597e- -0x2ee);}return _0x5aebf5;}[_0x504f3f(0x54d,0x5b2,'T2eu',0x5bf)+_0x1c6614('iyI[',0x5ce,0x518,0x51f)+'t'](_0x5700f1,_0x365e9b){const _0x22dd22={_0x382bb2:0x192,_0x486be0:'x%YT',_0xe79133:0x33,_0x13dd1d:0x1bf,_0x3427e4:0x1e5,_0x2d4b67:0x1e2,_0x4b6125:'Ym*i',_0x12a4ab:0x39,_0x4b5458:0x56,_0x541ad1:0xeb,_0x522765:0x6b,_0x2f83f8:0x120,_0x435a1d:'60&a',_0x1f3bd5:0x11f,_0x3d5f3a:0xcf,_0x2790d8:0x59,_0x28c9ca:0x23,_0xfd8fc9:0x6,_0x2acdaa:0x168,_0x3c4324:'#Aax',_0x24d75c:'T2eu',_0x3a018d:0x1a6,_0x3acf74:0x1fc,_0x547278:'CXB*',_0x2ef4ee:0xaa,_0x880a28:0x161,_0x5c94c3:0xf2,_0x58e0f7:'r^Y[',_0x4d1ccc:0x42,_0x197b54:0x3b,_0x44484e:0x140,_0x151bbf:'$%6J',_0x3aa25e:0x216,_0x591947:0x176,_0x303b2f:'t1LE',_0x48fce9:0x203,_0x4f4e77:0x20a,_0xc81da3:0x103,_0x40a076:0xac,_0x3bac5d:'ir$n',_0x171705:0x108,_0x9bcfde:'ir$n',_0x4ff212:0xcc,_0x305379:0xbf,_0x59b058:0x11b,_0x76bcfe:0x11b,_0x1349b4:'epAe',_0x597223:0x101,_0x58405f:'o3nL',_0x454194:0xa7,_0x41bc17:'SLLO',_0x54395b:0x27a,_0x3ce96a:0x299,_0x46f100:0x1f6},_0x422cca={_0x1086a1:0x17a,_0x5a09bb:0x497},_0x2e496f={_0x2d2a3c:0x7f};function _0x2f913a(_0x454ec1,_0x4df044,_0x43be2b,_0x3ad9e3){return _0x504f3f(_0x454ec1-0x3c,_0x43be2b- -0x407,_0x3ad9e3,_0x3ad9e3-_0x2e496f._0x2d2a3c);}function _0x4e4e97(_0x2d123b,_0x5be75f,_0x11e62f,_0x4d5bf0){return _0x1c6614(_0x11e62f,_0x5be75f-_0x422cca._0x1086a1,_0x11e62f-0x70,_0x5be75f- -_0x422cca._0x5a09bb);}const _0x206788={};_0x206788[_0x2f913a(0x165,_0x22dd22._0x382bb2,0x10a,_0x22dd22._0x486be0)]=_0x4e4e97(-_0x22dd22._0xe79133,-0x1c,'NcC#',-0xb8)+_0x2f913a(_0x22dd22._0x13dd1d,_0x22dd22._0x3427e4,_0x22dd22._0x2d4b67,_0x22dd22._0x4b6125),_0x206788['cCJya']=_0x4e4e97(-0x33,_0x22dd22._0x12a4ab,'f$sO',0xb7)+'view',_0x206788[_0x4e4e97(0x1,_0x22dd22._0x4b5458,'XUT*',0x3c)]=_0x2f913a(_0x22dd22._0x541ad1,_0x22dd22._0x522765,_0x22dd22._0x2f83f8,_0x22dd22._0x435a1d)+_0x2f913a(_0x22dd22._0x1f3bd5,0x125,_0x22dd22._0x3d5f3a,'K*Ah')+_0x4e4e97(0x120,0x9d,'hhbo',0x8a);const _0x18703a=_0x206788,_0x2d49be=node_repo_1['taskNodeRe'+_0x4e4e97(_0x22dd22._0x2790d8,-_0x22dd22._0x28c9ca,'CXB*',_0x22dd22._0xfd8fc9)][_0x2f913a(0xc5,0x193,_0x22dd22._0x2acdaa,_0x22dd22._0x3c4324)](_0x5700f1);if(!_0x2d49be){const _0x70ac7f={};return _0x70ac7f[_0x2f913a(0x19a,0x160,0x1b8,_0x22dd22._0x24d75c)]=![],_0x70ac7f[_0x2f913a(_0x22dd22._0x3a018d,_0x22dd22._0x3acf74,0x1e9,_0x22dd22._0x547278)]=_0x18703a[_0x4e4e97(-0xb0,-0x2d,'yJ]C',-_0x22dd22._0x2ef4ee)],_0x70ac7f;}if(_0x2d49be[_0x4e4e97(-0x5e,0xc,'%2yN',-0xab)]!==_0x18703a[_0x2f913a(0xe0,0x1d8,_0x22dd22._0x880a28,'jIL0')]){const _0x300887={};return _0x300887[_0x2f913a(0x299,0x231,_0x22dd22._0x3acf74,'Wow)')]=![],_0x300887[_0x2f913a(_0x22dd22._0x5c94c3,0x1f7,0x13f,_0x22dd22._0x58e0f7)]=_0x4e4e97(-_0x22dd22._0x4d1ccc,0x1a,'X^[)',-_0x22dd22._0x197b54)+_0x2f913a(_0x22dd22._0x44484e,0x217,0x1a6,_0x22dd22._0x151bbf)+_0x2f913a(_0x22dd22._0x3aa25e,0x172,_0x22dd22._0x591947,_0x22dd22._0x303b2f)+_0x2f913a(_0x22dd22._0x48fce9,0x1f0,_0x22dd22._0x4f4e77,'gnwA')+_0x2f913a(0xa2,_0x22dd22._0xc81da3,_0x22dd22._0x40a076,_0x22dd22._0x3bac5d)+_0x2f913a(0x15d,0x180,_0x22dd22._0x171705,_0x22dd22._0x9bcfde)+_0x2d49be[_0x2f913a(_0x22dd22._0x4ff212,0x73,_0x22dd22._0x305379,'$%6J')],_0x300887;}node_repo_1[_0x4e4e97(0x2e,-0x19,'gnwA',0x54)+_0x2f913a(_0x22dd22._0x59b058,0x191,_0x22dd22._0x76bcfe,_0x22dd22._0x1349b4)][_0x2f913a(0x147,0x119,_0x22dd22._0x597223,'#HJj')+_0x4e4e97(0x2,0x85,_0x22dd22._0x58405f,_0x22dd22._0x454194)+'t'](_0x5700f1,_0x365e9b);const _0x21b21a={};return _0x21b21a[_0x2f913a(0x1ce,0x19d,0x11d,_0x22dd22._0x41bc17)]=!![],_0x21b21a[_0x2f913a(_0x22dd22._0x54395b,_0x22dd22._0x3ce96a,_0x22dd22._0x46f100,'BU*d')]=_0x18703a['XhLCO'],_0x21b21a;}[_0x504f3f(0x603,0x5be,'hhbo',0x5bd)+_0x1c6614('WcBj',0x528,0x5d2,0x566)+'odes'](_0x67025a=-0x1*0x1a9e+0x11*0xf1+0x9*0x12f){const _0x3bbf52={_0x235946:'[SD(',_0x21b604:0x286,_0x3d9e8a:0x29e,_0x11514f:0x2c5,_0x1a0a40:'3SNm',_0x2083c5:0x2fc,_0x1c7a19:'wqJ3',_0x1ef519:0x284,_0x5d4d4b:0x284,_0x5176d8:'LG8m',_0x305733:0x37d,_0x278b70:0x307,_0x3bc6e4:0x35e},_0x1fce82={_0x2e0e0c:0x26},_0x224934={_0x38674f:0x4b,_0x4ba757:0x248};function _0x4e989a(_0x2ba798,_0x294cfa,_0x5e7f36,_0x341cb7){return _0x1c6614(_0x294cfa,_0x294cfa-0x1a9,_0x5e7f36-_0x224934._0x38674f,_0x341cb7- -_0x224934._0x4ba757);}function _0x2b1d16(_0x24e303,_0x236435,_0x833d67,_0x1c08fa){return _0x504f3f(_0x24e303-0x14,_0x833d67- -0x2aa,_0x24e303,_0x1c08fa-_0x1fce82._0x2e0e0c);}return node_repo_1[_0x4e989a(0x2bb,_0x3bbf52._0x235946,_0x3bbf52._0x21b604,_0x3bbf52._0x3d9e8a)+_0x4e989a(_0x3bbf52._0x11514f,_0x3bbf52._0x1a0a40,0x25d,0x2cb)][_0x2b1d16('ir$n',0x27d,0x217,0x2a4)+_0x4e989a(_0x3bbf52._0x2083c5,_0x3bbf52._0x1c7a19,_0x3bbf52._0x1ef519,_0x3bbf52._0x5d4d4b)+_0x2b1d16(_0x3bbf52._0x5176d8,_0x3bbf52._0x305733,_0x3bbf52._0x278b70,_0x3bbf52._0x3bc6e4)](_0x67025a);}[_0x1c6614('x%YT',0x549,0x559,0x514)+_0x504f3f(0x508,0x4af,'t1LE',0x51d)+'s'](_0xec0b1=0xab1+-0xa59*0x2+0xa0b){const _0xfe5537={_0x24003c:'QV#*',_0x5d71d3:0xaa,_0x42bdfa:0x156,_0x488b15:'VNKj',_0x5eaf6f:0x7b,_0x69e5ba:0x51,_0x18b7ec:0x3ba,_0x470e57:'[q^T',_0x4196cf:0x442,_0x365cf2:0xdb,_0xc14dad:0xc6,_0x5c05a8:0x72},_0x54f92a={_0x59d4b6:0x30,_0x24b6b5:0x62b,_0x22e757:0x8},_0x157f5e={_0x414e64:0x92,_0x5447a5:0x111};function _0x1e7092(_0x56cbaf,_0x30ffda,_0x1f9f69,_0x5d7338){return _0x504f3f(_0x56cbaf-_0x157f5e._0x414e64,_0x30ffda- -_0x157f5e._0x5447a5,_0x1f9f69,_0x5d7338-0x48);}function _0x10b30a(_0x387239,_0x175f27,_0x26435b,_0x55db86){return _0x504f3f(_0x387239-_0x54f92a._0x59d4b6,_0x55db86- -_0x54f92a._0x24b6b5,_0x387239,_0x55db86-_0x54f92a._0x22e757);}return node_repo_1[_0x10b30a(_0xfe5537._0x24003c,-0xc4,-_0xfe5537._0x5d71d3,-_0xfe5537._0x42bdfa)+_0x10b30a(_0xfe5537._0x488b15,-_0xfe5537._0x5eaf6f,-_0xfe5537._0x69e5ba,-0xd6)][_0x1e7092(0x3eb,_0xfe5537._0x18b7ec,_0xfe5537._0x470e57,_0xfe5537._0x4196cf)+_0x10b30a('X^[)',-_0xfe5537._0x365cf2,-_0xfe5537._0xc14dad,-_0xfe5537._0x5c05a8)+'es'](_0xec0b1);}[_0x1c6614('iyI[',0x4f1,0x479,0x456)+_0x504f3f(0x534,0x4f2,'jIL0',0x5a1)+_0x1c6614('yJ]C',0x4a2,0x4be,0x4bb)](_0x4778ff){const _0xdb4aa5={_0x12f6dd:0x2c,_0x3151f8:0xd1,_0x46ce4b:0x5c6,_0x5a1130:'#HJj',_0x47b0c2:0x53e,_0x158ef5:0x51a,_0x57138f:'60&a',_0x3a5df8:'BU*d',_0x585178:0x4f,_0x1d64dc:0x7},_0x36a87a={_0x40ed79:0x16d,_0x159901:0x14c},_0x8d04aa={_0x123d6b:0x15e,_0x56f264:0x161};function _0x2a2205(_0x3d913c,_0x3cc90b,_0x259cd2,_0x6d8659){return _0x1c6614(_0x3cc90b,_0x3cc90b-_0x8d04aa._0x123d6b,_0x259cd2-_0x8d04aa._0x56f264,_0x3d913c-0x4d);}function _0x26ced6(_0x263d0,_0x555152,_0x472ee3,_0xf6ce90){return _0x1c6614(_0x263d0,_0x555152-_0x36a87a._0x40ed79,_0x472ee3-_0x36a87a._0x159901,_0xf6ce90- -0x580);}return node_repo_1[_0x26ced6('ir$n',-0x64,-_0xdb4aa5._0x12f6dd,-_0xdb4aa5._0x3151f8)+_0x2a2205(_0xdb4aa5._0x46ce4b,_0xdb4aa5._0x5a1130,_0xdb4aa5._0x47b0c2,0x5e2)][_0x2a2205(0x4e2,'yJ]C',0x440,_0xdb4aa5._0x158ef5)+_0x2a2205(0x4ba,_0xdb4aa5._0x57138f,0x576,0x4f7)+_0x26ced6(_0xdb4aa5._0x3a5df8,-_0xdb4aa5._0x585178,-_0xdb4aa5._0x1d64dc,-0x83)](_0x4778ff);}}function _0x3e28(_0x13be18,_0x2fc28d){_0x13be18=_0x13be18-(0x2*0x8f5+0x1fca*0x1+-0x30df);const _0x4f50e6=_0x33da();let _0xe7a34=_0x4f50e6[_0x13be18];if(_0x3e28['uCjacE']===undefined){var _0x531e31=function(_0x2ede7b){const _0x4b0498='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42d054='',_0x4cd2f7='';for(let _0x43628f=0x2657+0xf56+-0x35ad,_0x36c6b1,_0x3a209a,_0x1cf4bd=-0x1*0x2187+0x2115+0x72;_0x3a209a=_0x2ede7b['charAt'](_0x1cf4bd++);~_0x3a209a&&(_0x36c6b1=_0x43628f%(-0x23e3+-0x1482+0x1*0x3869)?_0x36c6b1*(-0x1d*0x9d+-0x23de+-0x35e7*-0x1)+_0x3a209a:_0x3a209a,_0x43628f++%(-0x1*-0xd41+0x3*-0xb7f+-0xaa0*-0x2))?_0x42d054+=String['fromCharCode'](0x1b26+-0xda3+-0x12*0xb2&_0x36c6b1>>(-(-0x41b+-0x168d+0x1aaa)*_0x43628f&0x10*0x2c+-0x5*-0x221+-0xd5f)):-0x20da+0x1090+0x104a){_0x3a209a=_0x4b0498['indexOf'](_0x3a209a);}for(let _0x459756=0x1d6b+-0x819*-0x1+-0x2584,_0x54b8b4=_0x42d054['length'];_0x459756<_0x54b8b4;_0x459756++){_0x4cd2f7+='%'+('00'+_0x42d054['charCodeAt'](_0x459756)['toString'](-0x877+0xfc7+-0x740))['slice'](-(-0xabc+-0x5*-0x50c+0x2e6*-0x5));}return decodeURIComponent(_0x4cd2f7);};const _0x38dbdc=function(_0x32465c,_0x16de63){let _0x11a8b5=[],_0x5d72c4=-0xb*-0x10d+-0x18fe+0xd6f*0x1,_0x205730,_0x4254ff='';_0x32465c=_0x531e31(_0x32465c);let _0x3c9c4e;for(_0x3c9c4e=0x69*-0x2a+0x96c+-0x1*-0x7ce;_0x3c9c4e<-0x1c7a+0x4a6*0x8+-0x7b6;_0x3c9c4e++){_0x11a8b5[_0x3c9c4e]=_0x3c9c4e;}for(_0x3c9c4e=0x5*-0x402+0x2*0xbf8+-0x3e6;_0x3c9c4e<0x3f6+0x898*-0x2+0x6*0x25f;_0x3c9c4e++){_0x5d72c4=(_0x5d72c4+_0x11a8b5[_0x3c9c4e]+_0x16de63['charCodeAt'](_0x3c9c4e%_0x16de63['length']))%(0x6de+-0x7*0x101+0x63*0x3),_0x205730=_0x11a8b5[_0x3c9c4e],_0x11a8b5[_0x3c9c4e]=_0x11a8b5[_0x5d72c4],_0x11a8b5[_0x5d72c4]=_0x205730;}_0x3c9c4e=-0xf43+0x26bf+-0x177c,_0x5d72c4=0x802+-0x1*0x9cb+0x1*0x1c9;for(let _0x515fad=0xe3e+0xd*0x1eb+-0x272d;_0x515fad<_0x32465c['length'];_0x515fad++){_0x3c9c4e=(_0x3c9c4e+(0x2411+0x9bc+-0x3*0xf44))%(-0x8ea+-0x47*-0x3d+0xa3*-0xb),_0x5d72c4=(_0x5d72c4+_0x11a8b5[_0x3c9c4e])%(0x2de+0x136b+-0x1549),_0x205730=_0x11a8b5[_0x3c9c4e],_0x11a8b5[_0x3c9c4e]=_0x11a8b5[_0x5d72c4],_0x11a8b5[_0x5d72c4]=_0x205730,_0x4254ff+=String['fromCharCode'](_0x32465c['charCodeAt'](_0x515fad)^_0x11a8b5[(_0x11a8b5[_0x3c9c4e]+_0x11a8b5[_0x5d72c4])%(-0x1dc+-0x1af*0xb+0x1561)]);}return _0x4254ff;};_0x3e28['HowDxE']=_0x38dbdc,_0x3e28['zvwgmH']={},_0x3e28['uCjacE']=!![];}const _0x1fadbe=_0x4f50e6[-0x1ac2+0x8b*0x2+0x19ac],_0x525469=_0x13be18+_0x1fadbe,_0x2d36a9=_0x3e28['zvwgmH'][_0x525469];return!_0x2d36a9?(_0x3e28['LtRbyc']===undefined&&(_0x3e28['LtRbyc']=!![]),_0xe7a34=_0x3e28['HowDxE'](_0xe7a34,_0x2fc28d),_0x3e28['zvwgmH'][_0x525469]=_0xe7a34):_0xe7a34=_0x2d36a9,_0xe7a34;}exports[_0x1c6614('NcC#',0x597,0x66b,0x5af)+'e']=NodeService,exports['nodeServic'+'e']=new NodeService();
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Node Service
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.nodeService = exports.NodeService = void 0;
|
|
7
|
+
const node_repo_1 = require("../../db/repositories/node.repo");
|
|
8
|
+
const utils_1 = require("../utils");
|
|
9
|
+
/**
|
|
10
|
+
* Maximum rework count
|
|
11
|
+
*/
|
|
12
|
+
const MAX_REWORK_COUNT = 3;
|
|
13
|
+
class NodeService {
|
|
14
|
+
/**
|
|
15
|
+
* Create node
|
|
16
|
+
*/
|
|
17
|
+
create(data) {
|
|
18
|
+
try {
|
|
19
|
+
const nodeId = (0, utils_1.generateNodeId)();
|
|
20
|
+
const node = node_repo_1.taskNodeRepository.create({
|
|
21
|
+
id: nodeId,
|
|
22
|
+
task_id: data.task_id,
|
|
23
|
+
name: data.name,
|
|
24
|
+
agent_id: data.agent_id,
|
|
25
|
+
reviewer_id: data.reviewer_id, // v1.1.8
|
|
26
|
+
sequence: data.sequence,
|
|
27
|
+
timeout: data.timeout
|
|
28
|
+
});
|
|
29
|
+
return {
|
|
30
|
+
success: true,
|
|
31
|
+
node,
|
|
32
|
+
message: 'Node created successfully'
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
return {
|
|
37
|
+
success: false,
|
|
38
|
+
message: `Node creation failed: ${error instanceof Error ? error.message : String(error)}`
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get node by ID
|
|
44
|
+
*/
|
|
45
|
+
getById(id) {
|
|
46
|
+
return node_repo_1.taskNodeRepository.findById(id);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* List by task
|
|
50
|
+
*/
|
|
51
|
+
listByTask(taskId) {
|
|
52
|
+
return node_repo_1.taskNodeRepository.findByTask(taskId);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* List by task and sequence greater than
|
|
56
|
+
*/
|
|
57
|
+
listByTaskAndSequenceGt(taskId, sequence) {
|
|
58
|
+
return node_repo_1.taskNodeRepository.findByTaskAndSequenceGt(taskId, sequence);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Update node status
|
|
62
|
+
*/
|
|
63
|
+
updateStatus(id, status) {
|
|
64
|
+
const node = node_repo_1.taskNodeRepository.findById(id);
|
|
65
|
+
if (!node) {
|
|
66
|
+
return { success: false, message: 'Node not found' };
|
|
67
|
+
}
|
|
68
|
+
node_repo_1.taskNodeRepository.updateStatus(id, status);
|
|
69
|
+
return { success: true, message: 'Node status updated' };
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Update node (including rework issues)
|
|
73
|
+
*/
|
|
74
|
+
update(id, data) {
|
|
75
|
+
const node = node_repo_1.taskNodeRepository.findById(id);
|
|
76
|
+
if (!node) {
|
|
77
|
+
return { success: false, message: 'Node not found' };
|
|
78
|
+
}
|
|
79
|
+
node_repo_1.taskNodeRepository.updateNode(id, data);
|
|
80
|
+
return { success: true, message: 'Node updated' };
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Add rework record
|
|
84
|
+
*/
|
|
85
|
+
addReworkRecord(id, issues, reviewerId) {
|
|
86
|
+
const node = node_repo_1.taskNodeRepository.findById(id);
|
|
87
|
+
if (!node) {
|
|
88
|
+
return {
|
|
89
|
+
success: false,
|
|
90
|
+
message: 'Node not found',
|
|
91
|
+
retry_count: 0,
|
|
92
|
+
max_retry: MAX_REWORK_COUNT,
|
|
93
|
+
is_escalated: false
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const retryCount = node_repo_1.taskNodeRepository.addReworkRecord(id, issues, reviewerId);
|
|
97
|
+
const isEscalated = retryCount >= MAX_REWORK_COUNT;
|
|
98
|
+
return {
|
|
99
|
+
success: true,
|
|
100
|
+
message: isEscalated
|
|
101
|
+
? `Rework record added, max retry count reached (${MAX_REWORK_COUNT}), escalation required`
|
|
102
|
+
: 'Rework record added',
|
|
103
|
+
retry_count: retryCount,
|
|
104
|
+
max_retry: MAX_REWORK_COUNT,
|
|
105
|
+
is_escalated: isEscalated
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Check if can rework
|
|
110
|
+
*/
|
|
111
|
+
canRework(id) {
|
|
112
|
+
const currentCount = this.getReworkCount(id);
|
|
113
|
+
const remaining = MAX_REWORK_COUNT - currentCount;
|
|
114
|
+
return {
|
|
115
|
+
can_rework: remaining > 0,
|
|
116
|
+
current_count: currentCount,
|
|
117
|
+
remaining: Math.max(0, remaining)
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Get rework count
|
|
122
|
+
*/
|
|
123
|
+
getReworkCount(id) {
|
|
124
|
+
return node_repo_1.taskNodeRepository.getReworkCount(id);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Get failure count
|
|
128
|
+
*/
|
|
129
|
+
getFailureCount(id) {
|
|
130
|
+
return node_repo_1.taskNodeRepository.getFailureCount(id);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Get next pending node
|
|
134
|
+
*/
|
|
135
|
+
getNextPendingNode(taskId) {
|
|
136
|
+
return node_repo_1.taskNodeRepository.getNextPendingNode(taskId);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Check if all nodes completed
|
|
140
|
+
*/
|
|
141
|
+
isAllNodesCompleted(taskId) {
|
|
142
|
+
const nodes = node_repo_1.taskNodeRepository.findByTask(taskId);
|
|
143
|
+
if (nodes.length === 0)
|
|
144
|
+
return false;
|
|
145
|
+
return nodes.every(n => n.status === 'completed');
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Get task node stats
|
|
149
|
+
*/
|
|
150
|
+
getTaskNodeStats(taskId) {
|
|
151
|
+
const nodes = node_repo_1.taskNodeRepository.findByTask(taskId);
|
|
152
|
+
return {
|
|
153
|
+
total: nodes.length,
|
|
154
|
+
pending: nodes.filter(n => n.status === 'pending').length,
|
|
155
|
+
in_progress: nodes.filter(n => n.status === 'in_progress').length,
|
|
156
|
+
pending_review: nodes.filter(n => n.status === 'pending_review').length,
|
|
157
|
+
completed: nodes.filter(n => n.status === 'completed').length,
|
|
158
|
+
failed: nodes.filter(n => n.status === 'failed').length
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Assign node to agent
|
|
163
|
+
*/
|
|
164
|
+
assignToAgent(nodeId, agentId) {
|
|
165
|
+
const node = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
166
|
+
if (!node) {
|
|
167
|
+
return { success: false, message: 'Node not found' };
|
|
168
|
+
}
|
|
169
|
+
if (node.status !== 'pending') {
|
|
170
|
+
return { success: false, message: `Can only assign pending nodes, current status: ${node.status}` };
|
|
171
|
+
}
|
|
172
|
+
node_repo_1.taskNodeRepository.update(nodeId, { agent_id: agentId });
|
|
173
|
+
const updatedNode = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
174
|
+
return {
|
|
175
|
+
success: true,
|
|
176
|
+
message: 'Node assigned to agent',
|
|
177
|
+
node: updatedNode
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Unassign node
|
|
182
|
+
*/
|
|
183
|
+
unassign(nodeId) {
|
|
184
|
+
const node = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
185
|
+
if (!node) {
|
|
186
|
+
return { success: false, message: 'Node not found' };
|
|
187
|
+
}
|
|
188
|
+
if (node.status !== 'pending') {
|
|
189
|
+
return { success: false, message: `Can only unassign pending nodes, current status: ${node.status}` };
|
|
190
|
+
}
|
|
191
|
+
node_repo_1.taskNodeRepository.update(nodeId, { agent_id: null });
|
|
192
|
+
const updatedNode = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
193
|
+
return {
|
|
194
|
+
success: true,
|
|
195
|
+
message: 'Node unassigned',
|
|
196
|
+
node: updatedNode
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
// ============================================
|
|
200
|
+
// Heartbeat Methods (v1.1.1)
|
|
201
|
+
// ============================================
|
|
202
|
+
/**
|
|
203
|
+
* Update node heartbeat (executor activity)
|
|
204
|
+
* Called when executor is actively working on a node
|
|
205
|
+
*/
|
|
206
|
+
updateHeartbeat(nodeId) {
|
|
207
|
+
const node = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
208
|
+
if (!node) {
|
|
209
|
+
return { success: false, message: 'Node not found' };
|
|
210
|
+
}
|
|
211
|
+
// Only update heartbeat for nodes that are in progress
|
|
212
|
+
if (node.status !== 'in_progress') {
|
|
213
|
+
return { success: false, message: `Cannot update heartbeat for node with status: ${node.status}` };
|
|
214
|
+
}
|
|
215
|
+
node_repo_1.taskNodeRepository.updateHeartbeat(nodeId);
|
|
216
|
+
return { success: true, message: 'Node heartbeat updated' };
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Update review heartbeat (reviewer activity)
|
|
220
|
+
* Called when reviewer is actively reviewing a node
|
|
221
|
+
*/
|
|
222
|
+
updateReviewHeartbeat(nodeId, reviewerId) {
|
|
223
|
+
const node = node_repo_1.taskNodeRepository.findById(nodeId);
|
|
224
|
+
if (!node) {
|
|
225
|
+
return { success: false, message: 'Node not found' };
|
|
226
|
+
}
|
|
227
|
+
// Only update review heartbeat for nodes that are pending review
|
|
228
|
+
if (node.status !== 'pending_review') {
|
|
229
|
+
return { success: false, message: `Cannot update review heartbeat for node with status: ${node.status}` };
|
|
230
|
+
}
|
|
231
|
+
node_repo_1.taskNodeRepository.updateReviewHeartbeat(nodeId, reviewerId);
|
|
232
|
+
return { success: true, message: 'Review heartbeat updated' };
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Get stalled execution nodes (executor timeout)
|
|
236
|
+
* Returns nodes where executor hasn't updated heartbeat for a while
|
|
237
|
+
*/
|
|
238
|
+
getStalledExecutionNodes(timeoutMinutes = 10) {
|
|
239
|
+
return node_repo_1.taskNodeRepository.findStalledExecutionNodes(timeoutMinutes);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Get stalled review nodes (reviewer timeout)
|
|
243
|
+
* Returns nodes where reviewer hasn't updated heartbeat for a while
|
|
244
|
+
*/
|
|
245
|
+
getStalledReviewNodes(timeoutMinutes = 10) {
|
|
246
|
+
return node_repo_1.taskNodeRepository.findStalledReviewNodes(timeoutMinutes);
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Get nodes with heartbeat status (for monitoring)
|
|
250
|
+
*/
|
|
251
|
+
getNodesWithHeartbeatStatus(taskId) {
|
|
252
|
+
return node_repo_1.taskNodeRepository.getNodesWithHeartbeatStatus(taskId);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
exports.NodeService = NodeService;
|
|
256
|
+
exports.nodeService = new NodeService();
|
|
257
|
+
//# sourceMappingURL=node.service.js.map
|