@taazkareem/clickup-mcp-server 0.14.4 → 0.14.6
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.
- package/README.md +203 -114
- package/build/auth/routes.js +1 -1
- package/build/config.js +1 -1
- package/build/index.js +1 -1
- package/build/license.js +1 -1
- package/build/logger.js +1 -1
- package/build/middleware/auth.js +1 -1
- package/build/middleware/security.js +1 -1
- package/build/personas.js +1 -1
- package/build/prompts.js +1 -1
- package/build/server.js +1 -1
- package/build/services/clickup/audit-logs.js +1 -1
- package/build/services/clickup/base.js +1 -1
- package/build/services/clickup/bulk.js +1 -1
- package/build/services/clickup/chat.js +1 -1
- package/build/services/clickup/custom-field.js +1 -1
- package/build/services/clickup/document.js +1 -1
- package/build/services/clickup/errors.js +1 -1
- package/build/services/clickup/folder.js +1 -1
- package/build/services/clickup/goal.js +1 -1
- package/build/services/clickup/guest.js +1 -1
- package/build/services/clickup/index.js +1 -1
- package/build/services/clickup/list.js +1 -1
- package/build/services/clickup/rate-limiter.js +1 -1
- package/build/services/clickup/sprint.js +1 -1
- package/build/services/clickup/tag.js +1 -1
- package/build/services/clickup/task/index.js +1 -1
- package/build/services/clickup/task/task-attachments.js +1 -1
- package/build/services/clickup/task/task-checklists.js +1 -1
- package/build/services/clickup/task/task-comments.js +1 -1
- package/build/services/clickup/task/task-core.js +1 -1
- package/build/services/clickup/task/task-relationships.js +1 -1
- package/build/services/clickup/task/task-search.js +1 -1
- package/build/services/clickup/task/task-service.js +1 -1
- package/build/services/clickup/task/task-tags.js +1 -1
- package/build/services/clickup/task-templates.js +1 -1
- package/build/services/clickup/time.js +1 -1
- package/build/services/clickup/types.js +1 -1
- package/build/services/clickup/user-group.js +1 -1
- package/build/services/clickup/view.js +1 -1
- package/build/services/clickup/webhook.js +1 -1
- package/build/services/clickup/workspace.js +1 -1
- package/build/services/oauth.js +1 -1
- package/build/services/shared.js +1 -1
- package/build/sse_server.js +1 -1
- package/build/tools/attachment.js +1 -1
- package/build/tools/audit-logs.js +1 -1
- package/build/tools/categories.js +1 -1
- package/build/tools/chat/handlers.js +1 -1
- package/build/tools/chat/index.js +1 -1
- package/build/tools/chat/utils.js +1 -1
- package/build/tools/custom-field.js +1 -1
- package/build/tools/documents.js +1 -1
- package/build/tools/feedback.js +1 -1
- package/build/tools/folder.js +1 -1
- package/build/tools/goal.js +1 -1
- package/build/tools/guest.js +1 -1
- package/build/tools/index.js +1 -1
- package/build/tools/list.js +1 -1
- package/build/tools/registry.js +1 -1
- package/build/tools/space.js +1 -1
- package/build/tools/sprint.js +1 -1
- package/build/tools/tag.js +1 -1
- package/build/tools/task/bulk-operations.js +1 -1
- package/build/tools/task/checklists.js +1 -1
- package/build/tools/task/handlers.js +1 -1
- package/build/tools/task/index.js +1 -1
- package/build/tools/task/main.js +1 -1
- package/build/tools/task/markdown-converter.js +1 -1
- package/build/tools/task/params.js +1 -1
- package/build/tools/task/relationships.js +1 -1
- package/build/tools/task/single-operations.js +1 -1
- package/build/tools/task/utilities.js +1 -1
- package/build/tools/task/workspace-operations.js +1 -1
- package/build/tools/task-templates.js +1 -1
- package/build/tools/time_entries.js +1 -1
- package/build/tools/user-group.js +1 -1
- package/build/tools/utils.js +1 -1
- package/build/tools/view.js +1 -1
- package/build/tools/webhook.js +1 -1
- package/build/tools/workspace.js +1 -1
- package/build/transport/mcp-handler.js +1 -1
- package/build/utils/cache.js +1 -1
- package/build/utils/color-processor.js +1 -1
- package/build/utils/concurrency-utils.js +1 -1
- package/build/utils/context-utils.js +1 -1
- package/build/utils/date-utils.js +1 -1
- package/build/utils/log-sanitizer.js +1 -1
- package/build/utils/member-utils.js +1 -1
- package/build/utils/request-utils.js +1 -1
- package/build/utils/resolver-utils.js +1 -1
- package/build/utils/sponsor-service.js +1 -1
- package/build/utils/token-utils.js +1 -1
- package/package.json +3 -1
package/build/tools/list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x59725f=a0_0x24c3;function a0_0x5093(){const _0x4ab8a1=['vxjS','AYbZDge','sxbovfK','zgvFBwu','zwTLBMq','zMf1Bhq','ieXPC3q','igv2zw4','DxvoAMC','ig5HDhu','zgvYx24','BgWGBwu','C3rYAw4','BNmGB24','icHMB3i','iePVyIa','yxnRig0','yKLzCwS','C2z1BgW','sw1AzhK','yYaOzMe','CMfSigW','mJm5odyYwxPSCKzh','tgLZDhm','B2XKx2e','DwvFzge','Aw5NCW','AwD1B3u','B25ZlIa','Aw5Nige','DhLWzq','zsb0BYa','ALfQwLO','yMLUzwq','CM9Tige','ywX0zxi','y29SB3i','C3bHy2u','uhjPB3i','zxH0ks4','Awq7ihi','BYb0Agu','Bv9MAwu','ihrVihi','x3n0yxi','rwL0Agu','CMvMzxi','DMvK','ig5HBwu','z3mPlca','Aw9UC2G','suqGkha','x3n0yxq','ig9Yigy','yxrLihm','CIbPCYa','Df9ZDge','B25L','BMfTzq','BwuGB24','Axn0CYW','B2XSB3C','CL9Uyw0','u2v0iha','BgvK','CMvZihm','CYWGCMu','Axn0','j3vUC2u','tfrNvMi','BMuGDxa','zwnPzMK','zsbJB20','DgfZA18','igeGBgK','zgvYieK','A2v5CW','DwrLCYa','B2X2zsa','qwXSB3C','DhvZjYa','DxbbCha','y2vFAwq','C3rFAwq','B3zLige','BMf0Aw8','igrHDgu','Axb0Aw8','yw5KBgu','C2v0x2W','Axn0x24','zgLHDgu','C3nMDwW','ChjPDMe','yxrLicG','zw50CMK','ihbYB3y','B2XKx2y','DgL2zsK','l2zVBgq','z2v0','zxiUifu','B3iGC2u','reTtre0','DgLVBJO','ChjVDMK','AguGBMu','BwLZC2K','C2vYieK','CL9Pzc8','zguGyxi','Bw92zs4','ng1KDKvbwG','CIKU','BgrLCL8','Cg9Uzw4','oIbJCMu','BNqGzM8','x2rHDgu','BNqGy28','Bw1LBNq','BgvKjYa','Df9MCM8','DguSigq','C3rHDhu','zguGysa','AxjLCYa','zxnVBhy','AxjLCZO','C2TPCf8','yw1Lie8','yxnZAwC','Bg9YlG','ihnWywm','z2v0lca','tgLZDca','zw1WBge','y2LLCY4','zM9Yigy','B21uzw0','rMnvBuG','BMC6ihm','vxnLigK','Dw5HBwi','DMLKzwq','BMCGysa','z2uPlG','zgf0zsa','mJKZmty0m2nyr1nRua','C3rZigK','AxzLihq','B25ZlG','uIbMB2W','ysbMB2W','A1rZsvK','AwDYyxq','uMvXDwK','A3mSigm','CYbSAxm','zxjYB3i','CIbMB3i','yw1LicS','jYbYzxq','yM9VBgu','C2uGj3m','DwLYzxm','Dxn0igi','BMfTzsa','zsaOywW','swPizwm','BMvUDgW','AgfuBhC','y2HPDMu','DMf0zsa','nwTYyuflzG','zguGBwu','zMvYzw4','ig9Yihm','yMvYCW','BgKV','CIbjrc4','CIbSAxm','BMvL','C3qGyMu','AxmGCMu','BNrFyxq','BgLZDa','Axn0x3a','CxvPCMu','zgvZigi','zw1VDMu','zxjZ','C3qUifi','zhvLx2q','yxrLig4','4OctidqGka','iIbJCMu','yxjJAgK','ywnLx24','DcbUyxy','DgLTzxm','BgLZDc4','C2v0ige','u2v0ihq','Bf9Kzxa','icHHBhq','uMvTB3y','q29UDhi','qxjYyxK','lIbwywW','Axr5ide','r2v0ieW','x2LKl2y','zw50CW','CK9Vr1O','DxjUCYa','B29Szwe','zxHPC3q','AxnZAw8','C2vZlca','uMv0CMK','B3b0Aw8','B2XKx3q','BhKGkgi','B2XZihi','sgfUzgW','tgnKuMW','zxbLBMq','AxbZ','y3vYCMu','BwvTyMu','qNPoAhG','Dgf0Dxm','zxjFBMe','zwzHDwW','AwDHDgK','CIbZCge','s0Pguvm','y29TBwu','ifjLCxu','y3jLyxq','mZm5mLvtBejRza','Efboruy','Bw92zv8','BYb0CNu','ChvIBgK','zgvFDMK','zgv0ywK','tMv3igW','Dhj1zsC','DgLUyxq','ks4Grge','Aw5HDgK','igLUihq','DgL2zsa','ihjLDhu','ierLzMe','CMvTyxa','zc9MB2W','iezVCIa','zcbVCIa','CML0EsW','BwuGkgy','q3jLyxq','zxjZihq','igr1zv8','DwrLx3y','ENLJD0q','BgvUz3q','CfbevgW','zsb0Agu','ignVBg8','DxmVy28','zwnRBgK','zxjYzwq','ysbKAwy','z3mSig8','Ag1LBNq','ywDZ','zNjVBsa','zxrHAwW','y2DSCMO','ExbLlca','z2v0x2W','B2DLDgG','BL9PBw0','icHMB2W','CgvYBwK','CMXLC3m','rgvZDgK','zwqPlG','C3vJy2u','kgzVCIa','BwuU','zgvYig8','DcbUyw0','zwqGAw4','sufxCee','yxr0ywm','DMuPlG','B3DUx2m','B2XKx3m','C3mPig8','AwqVC3a','oIbKzxq','AfvOCKy','BM90igi','BMfSx2q','DgvYBMe','lIbszwy','D2vLA2u','B2jQzwm','CgfJzv8','C2vZ','ig9Yihq','AK1fv0K','DxmGkgu','zMLUzey','ihrLBxa','rM9Yigm','BMrZ','uNvKv0W','BgvZCYa','Aw1L','ywCSige','yxrLx2K','zv9Pzca','yYbSAxm','yxrLieK','odrurNHot0m','sw5JBhu','l3n0yxq','yxrLzca','yw1LlG','zxjFAwq','BwfW','igeGC3a','BMqGzw4','zv9SAxm','CYWGy28','ihbYAw8','zuvYCM8','yw5NDwe','ywLUihq','lcbJB24','zgvZy3i','B2XLyw4','B2XKx2q','CMvSyxq','ig9Szf8','A25VD24','y29UDgu','igvYCM8','B3DUlG','igLUy2W','x2XLDMu','tw92zsa','DdOGzMe','Df9Pzca','4OcuihjLDa','iIb1Cgq','zgvYihm','Axn0ifa','zxmGBgK','CIbVCIa','q2fUBM8','DgLVBIa','BhKGzM8','zcbMB3i','zgvSzxq','igLUigG','AwnPzw4','CuXqvgS','y3vYx3m','zxjUyxq','khrYDwu','zsbWCM8','B2XKzxi','CgfJzs4','zcbPBIa','zsbHBIa','zsWGC2S','BNn0zwe','Aw9Uigy','AwqPlG','DwX0oIa','x25HBwu','AwqVBMe','DcbjrdO','x2LTBwu','weLPsKC','ihn0yxq','rgvSzxq','Aw5NigG','zsbHigW','DhjPzxm','B24UicC','v0nQzfG','y2XPy2S','zcKU','EsbYzw0','BhKGAw4','BwfYA2q','z3m6ihm','zM9Yihq','Dc4GuMu','zwvZ','Axn0CW','ywjVDxq','zxnZzNu','kg5HBwu','z2v0tgK','Aw4Gysa','zgvYrNi','khbYzwy','Aw5NigW','j25VBMu','zgvY','ihDPDgG','zgvYx2K','ihvWzge','DcbMB2W','C3mGDg8','wNzeAfe','CIbMB2W','BgLZDf8','C2LVBIa','zM9Szgu','igrLC3q','zguGDgG','igfJy2u','EMfTA00','zxr0Aw4','AxjLzc4','keLttYa','yxrLlca','CYaOyM8','Bv90zw0','zxmGEYa','mJKYnJe0rMD3DKHT','CIbjrca','C3rFBMe','C3rZsw4','Bcb9lG','ieLelIa','yxrL','ksbVCIa','CMvKjYK','Bw92zwq','ig92zxi','CMvKks4','DguGzMW','Aw50zxi','ig9YigW','C2v0ugu','DhvZoIa','nZrtr1z3t2i','zgvYlIa','DhKUicC','D24Gywm','BxH5v3G','zsbHig4','tgLZDfq','Bsbuzw0','yw1jza','B3DUlIa','u291CMm','DYbSAxm','zsbKDwu','tgLZDa','C3rZlca','CML2ywm','BIbHigy','DxjYzwq','BYbZCge','qxqGBgu','yxn0ig8','CIaI','Dwj0yxm','BMvLCYW','DhvZzxm','C3nPB24','BMfTzxm','BwjLCNm','icSGkhq','yMuGChi','mtyZmdi0uuXQvfr1','zsbYzxe','tMfTzsa','C3nPz24','lMCUicC','DgvFAwq','yw1LicG','D3bdCLa','CYWGBwe','yxrPB24','rxjYB3i','rM9Szgu','BIbPBIa','Dxn0B20','B3iGBgK','AxmGzM8','ihrYDwu','BYbYzxm','DgfKyxq','CYKU','DgLTzxO','zsKU','zhmSiha','D2nqCuy','v2HLDgG','x2LKl3m','zwX5','zxf1Axi','B3iGC3a','B3zPzgu','ieLeicG','BNvTyMu','DgfTCca','BhnLlG','y2XLyxi','Axn0CYa','zcb0zxG','CMLVCMK','Dw5Zzxq','mZqXotKWme9xu3Huwq','DxmSihu','qNLoyw0','sw5gB2W','Dg8GzM8','rcbVCIa','icHZCge','jYb0BYa','ig9Yige','zgvKlG','zvjLC3a','yxrLigK','igfYCMe','yxv0B20','zw5JAwu','DgfYDf8','CIWGBM8','iI4GtMu','CIbPBIa','ignYzwe','zgvYBgu','zsbmAxm','zxmGC3a','zv9Pzc8','DxbKyxq','ysbSAxm','CYbTB3y','Bgf0zs4','yw1Lihq','BMfTzs4','AgvJA2W','igzVBgq','DcaI','C3vIDge','B2LMChO','vxbKyxq','zs4GuMu','u2v0ieW','Bg9Ylca','CLjLC3a','yw1Lig0','qxnZAwC','ihbLCM0','igLUC2K','DgfNCYW','CgXHDgu','zv9Uyw0','yxrLx3q','Bw92zq','y29UDhi','r2v0igq','ieLeiokaLa','B25Zzq','CMvJDxi','BwvZC2e','CM5HDgK','DgvUDcW','BxvZDca','C2LVBNm','zxiGDgG','CMvXDwK','BwuGBxu','zxzLigW','DcbIzsa','CgfJzq','rNjVBvq','vgHLicC','y1PNCMW','BIaOCgW','u3bHy2u','l3yVBc8','DgfJAg0','AwqGywm','BIbZCge','Df9Kyxq','Dcbjrca','zxjSzxm','DguNigi','zuXPC3q','v3zWDNq','zgf0zsW','igr1zsa','CYKGB3i','ChjPB3i','BNmGzNu','D29YA3m','Dcb0yxm','zxr1CM4','B2XKx2m','BYbWCMK','CMv0Dxi','DxmNihq','BIbMBge','zsbVCIa','BwvUDf8','mty4mJCZrxf3s0nN','Aw5JBhu','CM1PC3m','BIbMB2W','DgvTCgW','CIbVy2m','igXPC3q','CYWGAw4','BxmGB3i','B2W6ihi','BwuPicS','zxrLzca','BMvLihu','Axr5','kgfSDgu','zwXLDgu','AxbZlca','CIbUyw0','zxiGiG','zxDZ','zxjTAxm','Ag5TA00','CgfYyw0','BgLZDhm','zw5Kzw4','DguU','zxnWB24'];a0_0x5093=function(){return _0x4ab8a1;};return a0_0x5093();}(function(_0x58d369,_0x2f311e){const _0x207959=a0_0x24c3,_0x2a0d9f=_0x58d369();while(!![]){try{const _0x2fd7f8=parseInt(_0x207959(0x107))/0x1*(-parseInt(_0x207959(0x1de))/0x2)+-parseInt(_0x207959(0x2b3))/0x3*(-parseInt(_0x207959(0x30d))/0x4)+-parseInt(_0x207959(0x34b))/0x5*(-parseInt(_0x207959(0x1cd))/0x6)+-parseInt(_0x207959(0x15f))/0x7*(-parseInt(_0x207959(0x1fc))/0x8)+parseInt(_0x207959(0x282))/0x9+-parseInt(_0x207959(0x223))/0xa+parseInt(_0x207959(0x331))/0xb;if(_0x2fd7f8===_0x2f311e)break;else _0x2a0d9f['push'](_0x2a0d9f['shift']());}catch(_0x4828d2){_0x2a0d9f['push'](_0x2a0d9f['shift']());}}}(a0_0x5093,0x2e9ff));import{getAndFormatMembers}from'../utils/member-utils.js';import{parseDueDate,hasExplicitTime}from'../utils/date-utils.js';function a0_0x24c3(_0x5c8b68,_0x1dd053){_0x5c8b68=_0x5c8b68-0x102;const _0x5093c2=a0_0x5093();let _0x24c302=_0x5093c2[_0x5c8b68];if(a0_0x24c3['NnSVcV']===undefined){var _0x179ff8=function(_0x58b0cd){const _0x371a79='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ff61b='',_0x17b846='';for(let _0x40e104=0x0,_0x367160,_0x57026f,_0x1cf669=0x0;_0x57026f=_0x58b0cd['charAt'](_0x1cf669++);~_0x57026f&&(_0x367160=_0x40e104%0x4?_0x367160*0x40+_0x57026f:_0x57026f,_0x40e104++%0x4)?_0x1ff61b+=String['fromCharCode'](0xff&_0x367160>>(-0x2*_0x40e104&0x6)):0x0){_0x57026f=_0x371a79['indexOf'](_0x57026f);}for(let _0x2a98be=0x0,_0x3c4588=_0x1ff61b['length'];_0x2a98be<_0x3c4588;_0x2a98be++){_0x17b846+='%'+('00'+_0x1ff61b['charCodeAt'](_0x2a98be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x17b846);};a0_0x24c3['RjKCti']=_0x179ff8,a0_0x24c3['jqkVry']={},a0_0x24c3['NnSVcV']=!![];}const _0x4d48e9=_0x5093c2[0x0],_0x3c87c7=_0x5c8b68+_0x4d48e9,_0x14efd2=a0_0x24c3['jqkVry'][_0x3c87c7];return!_0x14efd2?(_0x24c302=a0_0x24c3['RjKCti'](_0x24c302),a0_0x24c3['jqkVry'][_0x3c87c7]=_0x24c302):_0x24c302=_0x14efd2,_0x24c302;}import{Logger}from'../logger.js';import a0_0x226797 from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';import{findListIDByName,resolveLocation,resolveTemplateId}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x59725f(0x1e4)+'ools');function buildListUrl(_0x470b1c,_0x5a2737){const _0x2f6525=a0_0x59725f;return a0_0x226797[_0x2f6525(0x1a4)+_0x2f6525(0x2ee)+_0x2f6525(0x29d)]+'/'+_0x5a2737[_0x2f6525(0x278)+_0x2f6525(0x263)]['getTe'+_0x2f6525(0x1e6)]()+(_0x2f6525(0x269)+_0x2f6525(0x350))+_0x470b1c;}async function resolveListId(_0x291ef1,_0x1ce9d1,_0x59065a){const _0x319221=a0_0x59725f,_0x43e7ef={'cglrj':function(_0x4de909,_0x1f4a4f,_0x1b220f){return _0x4de909(_0x1f4a4f,_0x1b220f);}};if(_0x291ef1)return _0x291ef1;if(!_0x1ce9d1)throw new Error(_0x319221(0x2ca)+_0x319221(0x352)+_0x319221(0x17c)+_0x319221(0x20a)+'st_na'+_0x319221(0x260)+_0x319221(0x354)+_0x319221(0x2fd)+'ided.');const _0x176187=await _0x43e7ef[_0x319221(0x12f)](findListIDByName,_0x59065a[_0x319221(0x278)+_0x319221(0x263)],_0x1ce9d1);if(!_0x176187)throw new Error(_0x319221(0x324)+'\x22'+_0x1ce9d1+('\x22\x20not'+'\x20foun'+'d.'));return _0x176187['id'];}async function resolveSpaceId(_0x5b13cb,_0x3d3593,_0x146623){const _0x68bd63=a0_0x59725f,_0x34eaf4={'LcdRl':_0x68bd63(0x2ca)+'r\x20spa'+_0x68bd63(0x2ef)+_0x68bd63(0x34e)+_0x68bd63(0x14e)+_0x68bd63(0x344)+_0x68bd63(0x25c)+_0x68bd63(0x1fb)+_0x68bd63(0x219)+'d.'};if(_0x5b13cb)return _0x5b13cb;if(!_0x3d3593)throw new Error(_0x34eaf4[_0x68bd63(0x37f)]);const _0x4dd127=await resolveLocation(_0x68bd63(0x2c2),undefined,_0x3d3593,_0x146623[_0x68bd63(0x278)+_0x68bd63(0x263)]);return _0x4dd127['id'];}async function resolveFolderId(_0x6769b4,_0x416c90,_0x1e7bf3,_0x10512f,_0x2fce94){const _0x5b8a43=a0_0x59725f,_0x518ec4={'IjHec':function(_0x3c5c5a,_0x5811b3,_0x238aec,_0x3883fd){return _0x3c5c5a(_0x5811b3,_0x238aec,_0x3883fd);}};if(_0x6769b4)return _0x6769b4;if(!_0x416c90)throw new Error(_0x5b8a43(0x2ca)+_0x5b8a43(0x1be)+_0x5b8a43(0x1b9)+'d\x20or\x20'+_0x5b8a43(0x1c1)+'r_nam'+'e\x20mus'+_0x5b8a43(0x262)+_0x5b8a43(0x306)+_0x5b8a43(0x22c));if(!_0x1e7bf3&&!_0x10512f)throw new Error(_0x5b8a43(0x1c1)+_0x5b8a43(0x2db)+_0x5b8a43(0x1fd)+_0x5b8a43(0x342)+_0x5b8a43(0x322)+_0x5b8a43(0x15c)+_0x5b8a43(0x218)+_0x5b8a43(0x363)+_0x5b8a43(0x23f)+_0x5b8a43(0x20d)+_0x5b8a43(0x2eb)+_0x5b8a43(0x32c)+_0x5b8a43(0x2b8)+'sly.');const _0x14967a=await _0x518ec4[_0x5b8a43(0x346)](resolveSpaceId,_0x1e7bf3,_0x10512f,_0x2fce94),_0x1a77a0=await _0x2fce94['folde'+'r'][_0x5b8a43(0x153)+_0x5b8a43(0x18f)+_0x5b8a43(0x225)+'e'](_0x14967a,_0x416c90);if(!_0x1a77a0)throw new Error(_0x5b8a43(0x207)+_0x5b8a43(0x1f3)+_0x416c90+('\x22\x20not'+'\x20foun'+_0x5b8a43(0x191)+_0x5b8a43(0x2c2)+'.'));return _0x1a77a0['id'];}export const listListsTool={'name':a0_0x59725f(0x1bf)+a0_0x59725f(0x299),'description':a0_0x59725f(0x379)+a0_0x59725f(0x261)+a0_0x59725f(0x21f)+a0_0x59725f(0x1b2)+a0_0x59725f(0x2c2)+a0_0x59725f(0x134)+a0_0x59725f(0x237)+a0_0x59725f(0x144)+a0_0x59725f(0x235)+a0_0x59725f(0x336)+a0_0x59725f(0x1df)+a0_0x59725f(0x339)+a0_0x59725f(0x2de)+a0_0x59725f(0x14e)+'id/sp'+a0_0x59725f(0x363)+a0_0x59725f(0x31f)+a0_0x59725f(0x335)+a0_0x59725f(0x1b9)+a0_0x59725f(0x118)+a0_0x59725f(0x2a7)+'ame.','annotations':{'title':a0_0x59725f(0x324)+a0_0x59725f(0x2b4),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x59725f(0x14d)+'t','properties':{'space_id':{'type':'strin'+'g','description':'Space'+a0_0x59725f(0x256)+a0_0x59725f(0x115)+'rns\x20f'+a0_0x59725f(0x18f)+a0_0x59725f(0x158)+a0_0x59725f(0x299)+a0_0x59725f(0x113)+'his\x20s'+a0_0x59725f(0x190)},'space_name':{'type':'strin'+'g','description':a0_0x59725f(0x268)+a0_0x59725f(0x2cd)+a0_0x59725f(0x36a)+'ernat'+a0_0x59725f(0x333)+a0_0x59725f(0x1f0)+a0_0x59725f(0x2ef)+').'},'folder_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x207)+a0_0x59725f(0x1ce)+a0_0x59725f(0x17d)+a0_0x59725f(0x374)+'lists'+a0_0x59725f(0x24e)+a0_0x59725f(0x1c3)+a0_0x59725f(0x20b)+'lder\x20'+a0_0x59725f(0x1b4)+a0_0x59725f(0x128)+a0_0x59725f(0x1d7)+a0_0x59725f(0x242)+a0_0x59725f(0x386)+'me).'},'folder_name':{'type':a0_0x59725f(0x2a9)+'g','description':'Folde'+'r\x20nam'+a0_0x59725f(0x345)+a0_0x59725f(0x14a)+a0_0x59725f(0x114)+a0_0x59725f(0x227)+a0_0x59725f(0x30f)+a0_0x59725f(0x2c5)+a0_0x59725f(0x217)+a0_0x59725f(0x239)+'ace_i'+a0_0x59725f(0x11a)+a0_0x59725f(0x2c2)+'_name'+a0_0x59725f(0x2c8)+a0_0x59725f(0x31c)+'e).'},'archived':{'type':a0_0x59725f(0x340)+'an','description':a0_0x59725f(0x160)+a0_0x59725f(0x30b)+a0_0x59725f(0x349)+'d\x20lis'+'ts.\x20D'+a0_0x59725f(0x387)+a0_0x59725f(0x17b)+a0_0x59725f(0x21d)},'detail_level':{'type':a0_0x59725f(0x2a9)+'g','enum':['names',a0_0x59725f(0x10d)+'led'],'description':a0_0x59725f(0x36c)+a0_0x59725f(0x37d)+a0_0x59725f(0x29c)+'se\x20ve'+'rbosi'+a0_0x59725f(0x1e0)+a0_0x59725f(0x1f8)+a0_0x59725f(0x33f)+'urns\x20'+a0_0x59725f(0x199)+a0_0x59725f(0x2d8)+a0_0x59725f(0x185)+'r\x20eff'+a0_0x59725f(0x189)+a0_0x59725f(0x364)+a0_0x59725f(0x388)+a0_0x59725f(0x1a2)+a0_0x59725f(0x10d)+a0_0x59725f(0x316)+a0_0x59725f(0x27d)+a0_0x59725f(0x277)+a0_0x59725f(0x2a8)+a0_0x59725f(0x20e)+'a.\x20De'+a0_0x59725f(0x2a2)+a0_0x59725f(0x146)+'ailed'+'.'}}}};export const getListTool={'name':a0_0x59725f(0x131)+a0_0x59725f(0x2e0),'description':a0_0x59725f(0x255)+a0_0x59725f(0x12e)+a0_0x59725f(0x13e)+'forma'+a0_0x59725f(0x184)+a0_0x59725f(0x1ae)+a0_0x59725f(0x166)+a0_0x59725f(0x2e4)+a0_0x59725f(0x15d)+a0_0x59725f(0x1ab)+a0_0x59725f(0x359)+a0_0x59725f(0x33b)+a0_0x59725f(0x17c)+a0_0x59725f(0x20a)+a0_0x59725f(0x1cf)+a0_0x59725f(0x13b),'annotations':{'title':a0_0x59725f(0x370)+a0_0x59725f(0x2e0),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x59725f(0x14d)+'t','properties':{'list_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x2d0)+'refer'+'red).'},'list_name':{'type':'strin'+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x344)+a0_0x59725f(0x290)+a0_0x59725f(0x25a)+a0_0x59725f(0x141)},'include_members':{'type':a0_0x59725f(0x340)+'an','description':a0_0x59725f(0x160)+a0_0x59725f(0x34c)+a0_0x59725f(0x1f9)+a0_0x59725f(0x1b8)+a0_0x59725f(0x1c4)+a0_0x59725f(0x1bc)+'\x20the\x20'+a0_0x59725f(0x366)}}}};export const createListTool={'name':'creat'+a0_0x59725f(0x168)+'t','description':a0_0x59725f(0x11d)+a0_0x59725f(0x1e3)+'ew\x20li'+'st\x20in'+a0_0x59725f(0x166)+'ace\x20o'+a0_0x59725f(0x1be)+a0_0x59725f(0x1df)+a0_0x59725f(0x339)+'res\x20n'+a0_0x59725f(0x33e)+a0_0x59725f(0x322)+a0_0x59725f(0x23a)+a0_0x59725f(0x2c2)+'_name'+a0_0x59725f(0x2d2)+'older'+a0_0x59725f(0x371)+a0_0x59725f(0x18f)+a0_0x59725f(0x198)+'.','annotations':{'title':a0_0x59725f(0x11d)+'e\x20Lis'+'t','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'name':{'type':a0_0x59725f(0x2a9)+'g','description':'List\x20'+a0_0x59725f(0x240)+a0_0x59725f(0x105)+a0_0x59725f(0x1c7)},'space_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x268)+a0_0x59725f(0x1d2)+a0_0x59725f(0x155)+'reati'+a0_0x59725f(0x32e)+a0_0x59725f(0x1c1)+a0_0x59725f(0x136)+'\x20list'+'.'},'space_name':{'type':'strin'+'g','description':a0_0x59725f(0x268)+a0_0x59725f(0x2cd)+a0_0x59725f(0x36a)+a0_0x59725f(0x18c)+a0_0x59725f(0x333)+'o\x20spa'+'ce_id'+').'},'folder_id':{'type':a0_0x59725f(0x2a9)+'g','description':'Folde'+a0_0x59725f(0x351)+a0_0x59725f(0x119)+'creat'+a0_0x59725f(0x2ba)+a0_0x59725f(0x288)+a0_0x59725f(0x24e)+a0_0x59725f(0x31a)+a0_0x59725f(0x1c1)+'r.'},'folder_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x207)+a0_0x59725f(0x293)+a0_0x59725f(0x345)+'terna'+'tive\x20'+'to\x20fo'+'lder_'+a0_0x59725f(0x196)},'content':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x16f)+a0_0x59725f(0x2f4)+a0_0x59725f(0x267)+a0_0x59725f(0x16d)+a0_0x59725f(0x2c4)},'markdown_content':{'type':'strin'+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x16f)+a0_0x59725f(0x2f4)+a0_0x59725f(0x208)+'markd'+a0_0x59725f(0x1e7)+a0_0x59725f(0x32b)+a0_0x59725f(0x194)+'d\x20of\x20'+a0_0x59725f(0x175)+a0_0x59725f(0x312)+a0_0x59725f(0x33d)+'matte'+a0_0x59725f(0x220)+'t.'},'due_date':{'type':[a0_0x59725f(0x2a9)+'g',a0_0x59725f(0x21b)+'r'],'description':'Due\x20d'+a0_0x59725f(0x2fb)+'Unix\x20'+a0_0x59725f(0x365)+a0_0x59725f(0x21c)+a0_0x59725f(0x28a)+a0_0x59725f(0x2a6)+'ral\x20l'+a0_0x59725f(0x16c)+'ge).'},'due_date_time':{'type':a0_0x59725f(0x340)+'an','description':a0_0x59725f(0x214)+a0_0x59725f(0x25e)+a0_0x59725f(0x1ea)+a0_0x59725f(0x2f3)+'\x20incl'+'udes\x20'+'a\x20tim'+a0_0x59725f(0x2e5)+a0_0x59725f(0x310)+'t.'},'priority':{'type':a0_0x59725f(0x21b)+'r','description':'Prior'+a0_0x59725f(0x36f)+'\x20(urg'+'ent)\x20'+a0_0x59725f(0x360)+'low).'},'assignee':{'type':a0_0x59725f(0x21b)+'r','description':a0_0x59725f(0x24c)+a0_0x59725f(0x28e)+'ser\x20I'+'D.'},'status':{'type':'strin'+'g','description':'List\x20'+a0_0x59725f(0x2c1)+a0_0x59725f(0x161)+a0_0x59725f(0x152)+a0_0x59725f(0x200)+a0_0x59725f(0x1d5)+a0_0x59725f(0x14b)+a0_0x59725f(0x11e)+a0_0x59725f(0x2c6)+a0_0x59725f(0x2a3)+a0_0x59725f(0x125)+a0_0x59725f(0x233)+'t\x20tas'+a0_0x59725f(0x29e)+a0_0x59725f(0x1f6)+'.'}},'required':[a0_0x59725f(0x2d7)]}};export const updateListTool={'name':a0_0x59725f(0x23b)+'e_lis'+'t','description':a0_0x59725f(0x246)+a0_0x59725f(0x192)+a0_0x59725f(0x376)+a0_0x59725f(0x1b5)+'ist\x27s'+'\x20name'+',\x20con'+a0_0x59725f(0x25b)+a0_0x59725f(0x274)+'date,'+a0_0x59725f(0x16a)+a0_0x59725f(0x11b)+a0_0x59725f(0x19d)+a0_0x59725f(0x126)+a0_0x59725f(0x249)+'or\x20as'+'signe'+a0_0x59725f(0x247)+'quire'+a0_0x59725f(0x33b)+a0_0x59725f(0x17c)+a0_0x59725f(0x20a)+a0_0x59725f(0x1cf)+a0_0x59725f(0x13b),'annotations':{'title':a0_0x59725f(0x246)+a0_0x59725f(0x238)+'t','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'list_id':{'type':a0_0x59725f(0x2a9)+'g','description':'List\x20'+a0_0x59725f(0x2d0)+a0_0x59725f(0x2cb)+a0_0x59725f(0x1d8)},'list_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x344)+'(alte'+'rnati'+a0_0x59725f(0x141)},'name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x10e)+'ist\x20n'+'ame.'},'content':{'type':'strin'+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x16f)+a0_0x59725f(0x2f4)+'n\x20(pl'+'ain\x20t'+a0_0x59725f(0x2c4)},'markdown_content':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+'descr'+a0_0x59725f(0x2f4)+'n\x20in\x20'+a0_0x59725f(0x1a8)+a0_0x59725f(0x177)},'status':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x2c1)+'/stat'+a0_0x59725f(0x152)+a0_0x59725f(0x200)+a0_0x59725f(0x1d5)+a0_0x59725f(0x14b)+'ers\x20t'+'o\x20the'+a0_0x59725f(0x2a3)+a0_0x59725f(0x125)+a0_0x59725f(0x233)+a0_0x59725f(0x279)+a0_0x59725f(0x29e)+'tuses'+'.'},'unset_status':{'type':'boole'+'an','description':a0_0x59725f(0x36b)+a0_0x59725f(0x124)+a0_0x59725f(0x288)+a0_0x59725f(0x125)+'r/sta'+'tus.\x20'+a0_0x59725f(0x368)+a0_0x59725f(0x10a)+a0_0x59725f(0x2bc)+a0_0x59725f(0x21e)+'\x20the\x20'+'color'+'.\x20Can'+a0_0x59725f(0x148)+a0_0x59725f(0x2e5)+a0_0x59725f(0x2be)+a0_0x59725f(0x1b8)+'\x20\x27sta'+'tus\x27.'},'due_date':{'type':[a0_0x59725f(0x2a9)+'g',a0_0x59725f(0x21b)+'r'],'description':'Due\x20d'+a0_0x59725f(0x2fb)+'Unix\x20'+'times'+a0_0x59725f(0x21c)+a0_0x59725f(0x28a)+'\x20natu'+a0_0x59725f(0x2b2)+'angua'+a0_0x59725f(0x32f)},'due_date_time':{'type':a0_0x59725f(0x340)+'an','description':a0_0x59725f(0x214)+a0_0x59725f(0x25e)+a0_0x59725f(0x1ea)+'\x20date'+a0_0x59725f(0x178)+a0_0x59725f(0x2ea)+'a\x20tim'+a0_0x59725f(0x2e5)+a0_0x59725f(0x310)+'t.'},'priority':{'type':'numbe'+'r','description':a0_0x59725f(0x2c3)+a0_0x59725f(0x36f)+'\x20(urg'+'ent)\x20'+a0_0x59725f(0x360)+'low).'},'assignee':{'type':[a0_0x59725f(0x2a9)+'g',a0_0x59725f(0x21b)+'r'],'description':a0_0x59725f(0x24c)+'nee\x20u'+a0_0x59725f(0x309)+a0_0x59725f(0x228)+a0_0x59725f(0x1b6)+a0_0x59725f(0x22a)+a0_0x59725f(0x222)+'.'}}}};export const deleteListTool={'name':a0_0x59725f(0x187)+a0_0x59725f(0x168)+'t','description':'Perma'+a0_0x59725f(0x347)+a0_0x59725f(0x1a6)+a0_0x59725f(0x2f1)+a0_0x59725f(0x288)+'.','annotations':{'title':a0_0x59725f(0x19e)+a0_0x59725f(0x238)+'t','openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':a0_0x59725f(0x14d)+'t','properties':{'list_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x2d0)+'refer'+a0_0x59725f(0x1d8)},'list_name':{'type':'strin'+'g','description':'List\x20'+a0_0x59725f(0x344)+a0_0x59725f(0x290)+'rnati'+a0_0x59725f(0x141)}}}};export const moveListTool={'name':a0_0x59725f(0x109)+a0_0x59725f(0x357),'description':a0_0x59725f(0x17a)+a0_0x59725f(0x23c)+'t\x20to\x20'+a0_0x59725f(0x129)+a0_0x59725f(0x34d)+a0_0x59725f(0x1bb)+a0_0x59725f(0x13c)+a0_0x59725f(0x102)+'ce.\x20R'+a0_0x59725f(0x217)+a0_0x59725f(0x181)+'st_id'+a0_0x59725f(0x1db)+a0_0x59725f(0x2f7)+a0_0x59725f(0x33e)+a0_0x59725f(0x1c2)+a0_0x59725f(0x112)+'on.','annotations':{'title':a0_0x59725f(0x17a)+a0_0x59725f(0x1eb),'openWorldHint':!![]},'inputSchema':{'type':a0_0x59725f(0x14d)+'t','properties':{'list_id':{'type':'strin'+'g','description':a0_0x59725f(0x1e8)+'e\x20lis'+a0_0x59725f(0x26e)+a0_0x59725f(0x1b4)+a0_0x59725f(0x128)+').'},'list_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x1e8)+'e\x20lis'+a0_0x59725f(0x13d)+'e\x20(al'+a0_0x59725f(0x14a)+a0_0x59725f(0x2ff)+'.'},'folder_id':{'type':'strin'+'g','description':a0_0x59725f(0x137)+a0_0x59725f(0x2f2)+a0_0x59725f(0x285)+a0_0x59725f(0x2e8)+'D.'},'folder_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x137)+a0_0x59725f(0x2f2)+a0_0x59725f(0x285)+'der\x20n'+a0_0x59725f(0x163)},'space_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x137)+a0_0x59725f(0x2f2)+a0_0x59725f(0x26c)+'ce\x20ID'+a0_0x59725f(0x2ab)+'\x20fold'+a0_0x59725f(0x26f)+a0_0x59725f(0x23d)+a0_0x59725f(0x211)},'space_name':{'type':a0_0x59725f(0x2a9)+'g','description':'Desti'+a0_0x59725f(0x2f2)+'n\x20spa'+'ce\x20na'+a0_0x59725f(0x13b)},'allow_destructive_fallback':{'type':a0_0x59725f(0x340)+'an','description':a0_0x59725f(0x2ec)+'\x20move'+a0_0x59725f(0x2a4)+'\x20if\x20t'+a0_0x59725f(0x2ad)+a0_0x59725f(0x338)+a0_0x59725f(0x195)+'ails.'+a0_0x59725f(0x116)+a0_0x59725f(0x197)+'false'+'.'}}}};export const setListPermissionsTool={'name':a0_0x59725f(0x2f6)+a0_0x59725f(0x358)+a0_0x59725f(0x296)+a0_0x59725f(0x25d),'description':a0_0x59725f(0x2dc)+a0_0x59725f(0x1ed)+'y\x20and'+a0_0x59725f(0x24d)+a0_0x59725f(0x377)+a0_0x59725f(0x2aa)+a0_0x59725f(0x2e7)+a0_0x59725f(0x35d)+'equir'+a0_0x59725f(0x181)+a0_0x59725f(0x2f0)+a0_0x59725f(0x1db)+a0_0x59725f(0x2f7)+'ame,\x20'+'priva'+a0_0x59725f(0x1d9)+a0_0x59725f(0x15a)+a0_0x59725f(0x167)+a0_0x59725f(0x1a1)+a0_0x59725f(0x22f)+'y.','annotations':{'title':a0_0x59725f(0x248)+a0_0x59725f(0x180)+a0_0x59725f(0x296)+a0_0x59725f(0x25d),'openWorldHint':!![]},'inputSchema':{'type':a0_0x59725f(0x14d)+'t','properties':{'list_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x2d0)+a0_0x59725f(0x2cb)+a0_0x59725f(0x1d8)},'list_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x344)+a0_0x59725f(0x290)+'rnati'+a0_0x59725f(0x141)},'private':{'type':'boole'+'an','description':a0_0x59725f(0x368)+a0_0x59725f(0x27c)+a0_0x59725f(0x34a)+a0_0x59725f(0x18d)+a0_0x59725f(0x1d4)+a0_0x59725f(0x10b)+a0_0x59725f(0x2b1)+'lse).'+a0_0x59725f(0x105)+a0_0x59725f(0x1c7)},'entries':{'type':'array','description':a0_0x59725f(0x36d)+'\x20of\x20p'+a0_0x59725f(0x296)+a0_0x59725f(0x1c0)+a0_0x59725f(0x2fc)+a0_0x59725f(0x1cc)+'id,\x20t'+a0_0x59725f(0x130)+a0_0x59725f(0x135)+a0_0x59725f(0x1f7)+a0_0x59725f(0x179)+a0_0x59725f(0x1d1),'items':{'type':a0_0x59725f(0x14d)+'t','properties':{'id':{'type':'numbe'+'r'},'type':{'type':a0_0x59725f(0x2a9)+'g'},'permission_level':{'type':a0_0x59725f(0x2a9)+'g'}},'required':['id',a0_0x59725f(0x2bb)]}}},'required':[a0_0x59725f(0x2fc)+'es']}};export const createListFromTemplateTool={'name':a0_0x59725f(0x106)+a0_0x59725f(0x168)+a0_0x59725f(0x317)+a0_0x59725f(0x1cb)+a0_0x59725f(0x250),'description':'Creat'+a0_0x59725f(0x1a0)+'ist\x20f'+a0_0x59725f(0x2bf)+a0_0x59725f(0x154)+a0_0x59725f(0x23e)+'\x20Requ'+a0_0x59725f(0x31d)+a0_0x59725f(0x2cd)+a0_0x59725f(0x1fa)+a0_0x59725f(0x325)+a0_0x59725f(0x201)+a0_0x59725f(0x150)+'empla'+'te_na'+a0_0x59725f(0x28c)+a0_0x59725f(0x229)+a0_0x59725f(0x2ef)+'/spac'+a0_0x59725f(0x251)+a0_0x59725f(0x280)+'folde'+a0_0x59725f(0x30a)+a0_0x59725f(0x1c1)+a0_0x59725f(0x2db)+'e).','annotations':{'title':a0_0x59725f(0x11d)+'e\x20Lis'+'t\x20fro'+a0_0x59725f(0x1e5)+a0_0x59725f(0x250),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x1fe)+a0_0x59725f(0x1aa)+a0_0x59725f(0x307)+a0_0x59725f(0x1e9)+a0_0x59725f(0x1ab)+a0_0x59725f(0x359)+'d.'},'template_id':{'type':a0_0x59725f(0x2a9)+'g','description':'List\x20'+a0_0x59725f(0x286)+a0_0x59725f(0x15e)+'D\x20(pr'+'eferr'+a0_0x59725f(0x138)},'template_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x324)+a0_0x59725f(0x286)+a0_0x59725f(0x35f)+a0_0x59725f(0x202)+a0_0x59725f(0x2c0)+'nativ'+a0_0x59725f(0x2bc)+a0_0x59725f(0x286)+a0_0x59725f(0x15b)+a0_0x59725f(0x1a5)},'space_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x268)+a0_0x59725f(0x21a)+a0_0x59725f(0x327)+'older'+a0_0x59725f(0x158)+a0_0x59725f(0x299)+').'},'space_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x268)+a0_0x59725f(0x2cd)+a0_0x59725f(0x36a)+a0_0x59725f(0x18c)+'ive\x20t'+a0_0x59725f(0x1f0)+a0_0x59725f(0x2ef)+').'},'folder_id':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x207)+a0_0x59725f(0x1ce)+a0_0x59725f(0x13a)+a0_0x59725f(0x299)+'\x20insi'+a0_0x59725f(0x31a)+'folde'+a0_0x59725f(0x30e)},'folder_name':{'type':a0_0x59725f(0x2a9)+'g','description':a0_0x59725f(0x207)+a0_0x59725f(0x293)+a0_0x59725f(0x345)+'terna'+a0_0x59725f(0x114)+a0_0x59725f(0x227)+a0_0x59725f(0x30f)+a0_0x59725f(0x196)},'options':{'type':a0_0x59725f(0x14d)+'t','description':'Templ'+'ate\x20i'+'mport'+'\x20opti'+a0_0x59725f(0x2b9)+a0_0x59725f(0x160)+a0_0x59725f(0x35a)+a0_0x59725f(0x375)+a0_0x59725f(0x27f)+a0_0x59725f(0x1a9)+a0_0x59725f(0x1f4)+a0_0x59725f(0x33a)+a0_0x59725f(0x209)+'_fiel'+a0_0x59725f(0x212)+a0_0x59725f(0x221)+'ty,\x20a'+'utoma'+'tion,'+a0_0x59725f(0x178)+a0_0x59725f(0x120)+'iews,'+'\x20old_'+a0_0x59725f(0x320)+a0_0x59725f(0x1f5)+a0_0x59725f(0x173)+'due_d'+a0_0x59725f(0x1c9)+a0_0x59725f(0x143)+'tart_'+'date,'+a0_0x59725f(0x173)+a0_0x59725f(0x24f)+a0_0x59725f(0x173)+a0_0x59725f(0x319)+a0_0x59725f(0x378)+a0_0x59725f(0x2fe)+a0_0x59725f(0x2da)+'ers,\x20'+a0_0x59725f(0x140)+a0_0x59725f(0x12b)+a0_0x59725f(0x169)+a0_0x59725f(0x315)+',\x20com'+a0_0x59725f(0x281)+'attac'+'hment'+a0_0x59725f(0x2df)+a0_0x59725f(0x18b)+a0_0x59725f(0x1c6)+a0_0x59725f(0x12a)+'ld_ch'+a0_0x59725f(0x127)+a0_0x59725f(0x1ec)+a0_0x59725f(0x172)+a0_0x59725f(0x2cf)+a0_0x59725f(0x292)+'exter'+'nal_d'+a0_0x59725f(0x380)+a0_0x59725f(0x231)+a0_0x59725f(0x289)+'terna'+a0_0x59725f(0x369)+a0_0x59725f(0x29a)+a0_0x59725f(0x326)+a0_0x59725f(0x2ac)+a0_0x59725f(0x254)+a0_0x59725f(0x28b)+a0_0x59725f(0x27a)+a0_0x59725f(0x19b)+a0_0x59725f(0x2f8)+a0_0x59725f(0x37c)+a0_0x59725f(0x375)+'n,\x20de'+'fault'+a0_0x59725f(0x20c)+a0_0x59725f(0x111)+'te\x20re'+'mappi'+a0_0x59725f(0x32a)+a0_0x59725f(0x232)+'date,'+a0_0x59725f(0x11f)+a0_0x59725f(0x330)+a0_0x59725f(0x1c8)+'8601\x20'+a0_0x59725f(0x2a9)+a0_0x59725f(0x2ce)+a0_0x59725f(0x117)+a0_0x59725f(0x2c9)+'t_dat'+a0_0x59725f(0x193)+'ip_we'+a0_0x59725f(0x2a1)+a0_0x59725f(0x1ca)+a0_0x59725f(0x170)+a0_0x59725f(0x20f)}},'required':['name']}};export async function handleManageLists(_0x407978,_0x4d44a0){const _0xb513d1=a0_0x59725f,_0x4dd100={'Wvpvt':_0xb513d1(0x265)+'priva'+_0xb513d1(0x270)+'oolea'+'n\x20par'+'amete'+_0xb513d1(0x2d4)+_0xb513d1(0x25f)+'red\x20f'+_0xb513d1(0x303)+'t_per'+_0xb513d1(0x308)+_0xb513d1(0x334),'KJFQS':_0xb513d1(0x357),'wcPqF':_0xb513d1(0x106)+'e','XTeZu':_0xb513d1(0x344)+_0xb513d1(0x355)+_0xb513d1(0x359)+_0xb513d1(0x186)+_0xb513d1(0x236)+_0xb513d1(0x29b),'jMEWI':function(_0x46b62e,_0x5326dc){return _0x46b62e!==_0x5326dc;},'cZgrl':function(_0x5efc06,_0xd5f677){return _0x5efc06||_0xd5f677;},'ImZdy':function(_0x4f6504,_0x5ed43a,_0x442bb8,_0x49a385,_0x5aa03c,_0x4df883){return _0x4f6504(_0x5ed43a,_0x442bb8,_0x49a385,_0x5aa03c,_0x4df883);},'bIYqk':function(_0x45f454,_0x167a74,_0x3288b6){return _0x45f454(_0x167a74,_0x3288b6);},'XIiJG':_0xb513d1(0x301),'zycwD':function(_0x4e8728,_0x2bf305,_0x4250b6,_0x1cc5bd){return _0x4e8728(_0x2bf305,_0x4250b6,_0x1cc5bd);},'jQjZZ':function(_0x4a98d0,_0x3b7681){return _0x4a98d0(_0x3b7681);},'ecGJh':_0xb513d1(0x33c),'IpNTY':'detai'+_0xb513d1(0x2dd),'zamkM':function(_0x49ba03,_0x20f86d){return _0x49ba03&&_0x20f86d;},'oifpz':_0xb513d1(0x1bf)+'lists'+'\x20requ'+_0xb513d1(0x31b)+'space'+_0xb513d1(0x215)+_0xb513d1(0x14e)+_0xb513d1(0x344)+_0xb513d1(0x13a)+_0xb513d1(0x1c1)+'rless'+_0xb513d1(0x288)+_0xb513d1(0x275)+_0xb513d1(0x242)+_0xb513d1(0x164)+_0xb513d1(0x300)+_0xb513d1(0x386)+_0xb513d1(0x11c)+_0xb513d1(0x20a)+_0xb513d1(0x332)+_0xb513d1(0x1ee)+_0xb513d1(0x18f)+').','rOoGZ':function(_0x373099,_0x3c7ced){return _0x373099===_0x3c7ced;},'MilTf':_0xb513d1(0x1f8),'AMGyw':_0xb513d1(0x23b)+'e','haTlw':_0xb513d1(0x183)+'t\x20use'+'\x20\x27sta'+_0xb513d1(0x2ed)+'and\x20\x27'+_0xb513d1(0x222)+_0xb513d1(0x2d1)+_0xb513d1(0x27e)+_0xb513d1(0x132)+_0xb513d1(0x302)+_0xb513d1(0x341)+_0xb513d1(0x385)+_0xb513d1(0x22a)+_0xb513d1(0x367)+_0xb513d1(0x125)+_0xb513d1(0x182)+_0xb513d1(0x2e1)+_0xb513d1(0x2d5)+_0xb513d1(0x1dd)+_0xb513d1(0x10f)+_0xb513d1(0x2c8)+_0xb513d1(0x35b)+'\x20the\x20'+_0xb513d1(0x382)+_0xb513d1(0x314)+_0xb513d1(0x321),'xPNEF':function(_0x459422,_0x564902){return _0x459422(_0x564902);},'bHWej':_0xb513d1(0x253),'kTsIY':'space','hnmkM':function(_0x1c68e4,_0x20fa8a,_0x2073b4){return _0x1c68e4(_0x20fa8a,_0x2073b4);},'DKSDM':function(_0x4afee5,_0x54daf1){return _0x4afee5===_0x54daf1;}},{action:_0x41513c,list_id:_0x5a9d19,list_name:_0x595e02,folder_id:_0x59dd2f,folder_name:_0x5e26d0,space_id:_0x263fef,space_name:_0x3a9913,name:_0xbd4c49,content:_0x1b2247,markdown_content:_0x491f9a,due_date:_0x267c9d,due_date_time:_0x360e50,priority:_0x47911a,assignee:_0x5a671f,status:_0x41d076,unset_status:_0x32c6bf,allow_destructive_fallback:_0x54c22d}=_0x407978,{list:_0x5de985}=_0x4d44a0;logger['info'](_0xb513d1(0x37e)+_0xb513d1(0x19f)+_0xb513d1(0x2f5)+'Manag'+_0xb513d1(0x271)+'s',{'action':_0x41513c});try{switch(_0x41513c){case'set_p'+_0xb513d1(0x296)+'sions':{const _0x23007b=await resolveListId(_0x5a9d19,_0x595e02,_0x4d44a0);if(_0x407978[_0xb513d1(0x2fa)+'te']===undefined)return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+'onse'](_0x4dd100[_0xb513d1(0x272)]);return await _0x5de985[_0xb513d1(0x1dc)+_0xb513d1(0x284)+'ions'](_0x4dd100[_0xb513d1(0x103)],_0x23007b,{'private':_0x407978[_0xb513d1(0x2fa)+'te'],'entries':_0x407978[_0xb513d1(0x2fc)+'es']||[]}),sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+_0xb513d1(0x257)]({'success':!![],'message':'Permi'+_0xb513d1(0x1f7)+'s\x20upd'+_0xb513d1(0x162)+'succe'+'ssful'+_0xb513d1(0x185)+_0xb513d1(0x352)+_0xb513d1(0x243)+(_0x595e02||_0x5a9d19)+'\x22'},!![]);}case _0x4dd100[_0xb513d1(0x213)]:{if(!_0xbd4c49)return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+_0xb513d1(0x257)](_0x4dd100['XTeZu']);const _0x4b2dcd={'name':_0xbd4c49};if(_0x1b2247)_0x4b2dcd[_0xb513d1(0x175)+'nt']=_0x1b2247;if(_0x491f9a)_0x4b2dcd['markd'+'own_c'+'onten'+'t']=_0x491f9a;if(_0x267c9d){const _0x1d7226=parseDueDate(String(_0x267c9d),undefined,_0x4d44a0['timez'+_0xb513d1(0x2d6)]);if(_0x1d7226)_0x4b2dcd[_0xb513d1(0x35e)+_0xb513d1(0x1d3)]=_0x1d7226;_0x4b2dcd['due_d'+_0xb513d1(0x252)+_0xb513d1(0x159)]=_0x4dd100[_0xb513d1(0x151)](_0x360e50,undefined)?_0x360e50:hasExplicitTime(String(_0x267c9d));}if(_0x47911a)_0x4b2dcd[_0xb513d1(0x276)+_0xb513d1(0x28f)]=_0x47911a;if(_0x5a671f)_0x4b2dcd[_0xb513d1(0x320)+_0xb513d1(0x353)]=_0x5a671f;if(_0x41d076)_0x4b2dcd['statu'+'s']=_0x41d076;if(_0x4dd100[_0xb513d1(0x266)](_0x59dd2f,_0x5e26d0)){const _0x696a62=await _0x4dd100[_0xb513d1(0x2b0)](resolveFolderId,_0x59dd2f,_0x5e26d0,_0x263fef,_0x3a9913,_0x4d44a0),_0x254b24=await _0x5de985['creat'+_0xb513d1(0x271)+'InFol'+_0xb513d1(0x1b7)](_0x696a62,_0x4b2dcd);return sponsorService['creat'+'eResp'+'onse']({'id':_0x254b24['id'],'name':_0x254b24['name'],'content':_0x254b24['conte'+'nt'],'folder':{'id':_0x254b24[_0xb513d1(0x1c1)+'r']['id'],'name':_0x254b24[_0xb513d1(0x1c1)+'r'][_0xb513d1(0x2d7)]},'space':{'id':_0x254b24[_0xb513d1(0x2c2)]['id'],'name':_0x254b24['space']['name']},'url':_0x4dd100[_0xb513d1(0x2ae)](buildListUrl,_0x254b24['id'],_0x4d44a0),'message':_0xb513d1(0x324)+'\x22'+_0xbd4c49+('\x22\x20cre'+_0xb513d1(0x162)+'succe'+_0xb513d1(0x2f9)+_0xb513d1(0x1a7)+_0xb513d1(0x242)+_0xb513d1(0x294))+_0x254b24['folde'+'r'][_0xb513d1(0x2d7)]+'\x22'},!![]);}else{const _0x5c15a5=await resolveSpaceId(_0x263fef,_0x3a9913,_0x4d44a0),_0x35a776=await _0x5de985['creat'+'eList'](_0x5c15a5,_0x4b2dcd);return sponsorService[_0xb513d1(0x106)+'eResp'+'onse']({'id':_0x35a776['id'],'name':_0x35a776[_0xb513d1(0x2d7)],'content':_0x35a776[_0xb513d1(0x175)+'nt'],'space':{'id':_0x35a776[_0xb513d1(0x2c2)]['id'],'name':_0x35a776[_0xb513d1(0x2c2)][_0xb513d1(0x2d7)]},'url':_0x4dd100[_0xb513d1(0x2ae)](buildListUrl,_0x35a776['id'],_0x4d44a0),'message':_0xb513d1(0x324)+'\x22'+_0xbd4c49+(_0xb513d1(0x361)+'ated\x20'+'succe'+'ssful'+'ly')},!![]);}}case _0x4dd100[_0xb513d1(0x19c)]:{const _0x117327=await _0x4dd100[_0xb513d1(0x121)](resolveListId,_0x5a9d19,_0x595e02,_0x4d44a0),_0x5e6d88=await _0x5de985[_0xb513d1(0x1b1)+'st'](_0x117327),_0xfc436f={'id':_0x5e6d88['id'],'name':_0x5e6d88[_0xb513d1(0x2d7)],'content':_0x5e6d88[_0xb513d1(0x175)+'nt'],'space':{'id':_0x5e6d88[_0xb513d1(0x2c2)]['id'],'name':_0x5e6d88['space']['name']},'statuses':_0x5e6d88[_0xb513d1(0x319)+_0xb513d1(0x14f)],'url':_0x4dd100[_0xb513d1(0x2ae)](buildListUrl,_0x5e6d88['id'],_0x4d44a0)};if(_0x407978['inclu'+_0xb513d1(0x2a0)+_0xb513d1(0x1f9)]){const _0xcd8dc6=await _0x4dd100[_0xb513d1(0x2bd)](getAndFormatMembers,()=>_0x5de985[_0xb513d1(0x1b1)+'stMem'+_0xb513d1(0x34f)](_0x117327));_0x4dd100['ecGJh']in _0xcd8dc6&&_0xcd8dc6[_0xb513d1(0x33c)]?_0xfc436f['membe'+'rs']={'error':_0xcd8dc6[_0xb513d1(0x33c)]}:_0xfc436f[_0xb513d1(0x383)+'rs']=_0xcd8dc6;}return sponsorService['creat'+_0xb513d1(0x22d)+_0xb513d1(0x257)](_0xfc436f,!![]);}case _0xb513d1(0x131)+_0xb513d1(0x1ad):{const {detail_level:detail_level=_0x4dd100[_0xb513d1(0x29f)],archived:_0x43e2bc}=_0x407978;if(_0x4dd100[_0xb513d1(0x1c5)](!_0x59dd2f,!_0x5e26d0)&&!_0x263fef&&!_0x3a9913)return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+_0xb513d1(0x257)](_0x4dd100[_0xb513d1(0x245)]);let _0x274111;if(_0x4dd100[_0xb513d1(0x266)](_0x59dd2f,_0x5e26d0)){const _0x5d9f2c=await resolveFolderId(_0x59dd2f,_0x5e26d0,_0x263fef,_0x3a9913,_0x4d44a0);_0x274111=await _0x5de985['getLi'+_0xb513d1(0x1d0)+_0xb513d1(0x207)+'r'](_0x5d9f2c,_0x43e2bc);}else{const _0x1ec072=await resolveSpaceId(_0x263fef,_0x3a9913,_0x4d44a0);_0x274111=await _0x5de985[_0xb513d1(0x1b1)+'stsIn'+_0xb513d1(0x268)](_0x1ec072,_0x43e2bc);}if(_0x4dd100[_0xb513d1(0x373)](detail_level,_0x4dd100['MilTf']))return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+_0xb513d1(0x257)]({'lists':_0x274111[_0xb513d1(0x165)](_0x46d629=>({'id':_0x46d629['id'],'name':_0x46d629[_0xb513d1(0x2d7)]})),'count':_0x274111[_0xb513d1(0x122)+'h']},!![]);return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+_0xb513d1(0x257)]({'lists':_0x274111[_0xb513d1(0x165)](_0x3aec60=>({'id':_0x3aec60['id'],'name':_0x3aec60[_0xb513d1(0x2d7)],'content':_0x3aec60['conte'+'nt'],'status':_0x3aec60[_0xb513d1(0x319)+'s'],'task_count':_0x3aec60[_0xb513d1(0x2e6)+'count'],'due_date':_0x3aec60[_0xb513d1(0x35e)+'ate'],'start_date':_0x3aec60['start'+'_date'],'archived':_0x3aec60[_0xb513d1(0x362)+_0xb513d1(0x2cc)]})),'count':_0x274111[_0xb513d1(0x122)+'h']},!![]);}case _0x4dd100['AMGyw']:{const _0x4aff8b=await _0x4dd100[_0xb513d1(0x121)](resolveListId,_0x5a9d19,_0x595e02,_0x4d44a0);if(!_0xbd4c49&&!_0x1b2247&&!_0x41d076&&!_0x32c6bf&&!_0x491f9a&&!_0x267c9d&&_0x47911a===undefined&&_0x5a671f===undefined)return sponsorService['creat'+'eErro'+_0xb513d1(0x24a)+_0xb513d1(0x257)](_0xb513d1(0x1f1)+_0xb513d1(0x1f2)+_0xb513d1(0x2e3)+'date\x20'+_0xb513d1(0x298)+'eter\x20'+_0xb513d1(0x1b0)+_0xb513d1(0x16e)+_0xb513d1(0x25b)+'\x20stat'+_0xb513d1(0x224)+'nset_'+_0xb513d1(0x319)+_0xb513d1(0x204)+'rkdow'+'n_con'+_0xb513d1(0x25b)+'\x20due_'+_0xb513d1(0x273)+'\x20prio'+_0xb513d1(0x11b)+_0xb513d1(0x22b)+_0xb513d1(0x1ff)+'ee)\x20m'+_0xb513d1(0x343)+_0xb513d1(0x18e)+_0xb513d1(0x32d)+'.');if(_0x41d076&&_0x32c6bf)return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+_0xb513d1(0x257)](_0x4dd100[_0xb513d1(0x348)]);const _0x3e69fa={};if(_0xbd4c49)_0x3e69fa['name']=_0xbd4c49;if(_0x1b2247)_0x3e69fa[_0xb513d1(0x175)+'nt']=_0x1b2247;if(_0x41d076)_0x3e69fa['statu'+'s']=_0x41d076;if(_0x32c6bf)_0x3e69fa[_0xb513d1(0x222)+_0xb513d1(0x2d1)+'us']=_0x32c6bf;if(_0x491f9a)_0x3e69fa[_0xb513d1(0x1a8)+_0xb513d1(0x142)+'onten'+'t']=_0x491f9a;if(_0x267c9d){const _0x2c522c=parseDueDate(String(_0x267c9d),undefined,_0x4d44a0[_0xb513d1(0x210)+_0xb513d1(0x2d6)]);if(_0x2c522c)_0x3e69fa['due_d'+'ate']=_0x2c522c;_0x3e69fa[_0xb513d1(0x35e)+_0xb513d1(0x252)+_0xb513d1(0x159)]=_0x4dd100[_0xb513d1(0x151)](_0x360e50,undefined)?_0x360e50:hasExplicitTime(_0x4dd100[_0xb513d1(0x108)](String,_0x267c9d));}if(_0x47911a!==undefined)_0x3e69fa[_0xb513d1(0x276)+_0xb513d1(0x28f)]=_0x47911a;if(_0x5a671f!==undefined)_0x3e69fa[_0xb513d1(0x320)+_0xb513d1(0x353)]=_0x5a671f;const _0x287d77=await _0x5de985['updat'+_0xb513d1(0x271)](_0x4aff8b,_0x3e69fa);return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+_0xb513d1(0x257)]({'id':_0x287d77['id'],'name':_0x287d77[_0xb513d1(0x2d7)],'content':_0x287d77[_0xb513d1(0x175)+'nt'],'space':{'id':_0x287d77[_0xb513d1(0x2c2)]['id'],'name':_0x287d77[_0xb513d1(0x2c2)][_0xb513d1(0x2d7)]},'url':_0x4dd100[_0xb513d1(0x2ae)](buildListUrl,_0x287d77['id'],_0x4d44a0),'message':'List\x20'+'\x22'+_0x287d77[_0xb513d1(0x2d7)]+(_0xb513d1(0x17e)+_0xb513d1(0x162)+'succe'+_0xb513d1(0x2f9)+'ly')},!![]);}case _0xb513d1(0x187)+'e':{const _0x14cb5c=await _0x4dd100[_0xb513d1(0x121)](resolveListId,_0x5a9d19,_0x595e02,_0x4d44a0),_0x3bb634=await _0x5de985['getLi'+'st'](_0x14cb5c),_0x420803=_0x3bb634[_0xb513d1(0x2d7)];return await _0x5de985['delet'+_0xb513d1(0x271)](_0x14cb5c),sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+_0xb513d1(0x257)]({'success':!![],'message':'List\x20'+'\x22'+_0x420803+('\x22\x20del'+_0xb513d1(0x28d)+_0xb513d1(0x139)+_0xb513d1(0x2f9)+'ly')},!![]);}case _0x4dd100['bHWej']:{const _0x16c3dc=await _0x4dd100[_0xb513d1(0x121)](resolveListId,_0x5a9d19,_0x595e02,_0x4d44a0);if(!_0x59dd2f&&!_0x5e26d0&&!_0x263fef&&!_0x3a9913)return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+_0xb513d1(0x257)]('A\x20des'+_0xb513d1(0x110)+_0xb513d1(0x195)+_0xb513d1(0x18f)+_0xb513d1(0x371)+_0xb513d1(0x18f)+_0xb513d1(0x198)+'\x20or\x20s'+'pace_'+_0xb513d1(0x145)+_0xb513d1(0x363)+_0xb513d1(0x24b)+'ust\x20b'+_0xb513d1(0x18e)+_0xb513d1(0x32d)+'\x20for\x20'+_0xb513d1(0x30c));let _0x5955ea,_0x14e5a6;_0x59dd2f||_0x5e26d0?(_0x5955ea=await _0x4dd100[_0xb513d1(0x2b0)](resolveFolderId,_0x59dd2f,_0x5e26d0,_0x263fef,_0x3a9913,_0x4d44a0),_0x14e5a6=_0xb513d1(0x1c1)+'r'):(_0x5955ea=await resolveSpaceId(_0x263fef,_0x3a9913,_0x4d44a0),_0x14e5a6=_0x4dd100[_0xb513d1(0x337)]);const _0x885d90=await _0x5de985['moveL'+_0xb513d1(0x2e0)](_0x16c3dc,_0x5955ea,_0x14e5a6,_0x54c22d);return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x22d)+'onse']({'id':_0x885d90['id'],'name':_0x885d90[_0xb513d1(0x2d7)],'content':_0x885d90[_0xb513d1(0x175)+'nt'],'space':{'id':_0x885d90[_0xb513d1(0x2c2)]['id'],'name':_0x885d90[_0xb513d1(0x2c2)]['name']},'folder':_0x885d90['folde'+'r']?{'id':_0x885d90[_0xb513d1(0x1c1)+'r']['id'],'name':_0x885d90[_0xb513d1(0x1c1)+'r'][_0xb513d1(0x2d7)]}:undefined,'url':_0x4dd100[_0xb513d1(0x297)](buildListUrl,_0x885d90['id'],_0x4d44a0),'message':_0xb513d1(0x324)+_0xb513d1(0x1d6)+'\x20succ'+_0xb513d1(0x1af)+'lly\x20t'+'o\x20'+_0x14e5a6+'\x20\x22'+(_0x4dd100[_0xb513d1(0x304)](_0x14e5a6,_0xb513d1(0x1c1)+'r')&&_0x885d90['folde'+'r']?_0x885d90[_0xb513d1(0x1c1)+'r'][_0xb513d1(0x2d7)]:_0x885d90[_0xb513d1(0x2c2)][_0xb513d1(0x2d7)])+(_0xb513d1(0x234)+'w\x20Lis'+_0xb513d1(0x19a)+'\x20')+_0x885d90['id']},!![]);}default:return sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+_0xb513d1(0x257)]('Unkno'+_0xb513d1(0x1e1)+_0xb513d1(0x305)+'\x20'+_0x41513c+(_0xb513d1(0x36e)+_0xb513d1(0x26b)+'tions'+_0xb513d1(0x311)+'ate,\x20'+_0xb513d1(0x323)+'get_l'+_0xb513d1(0x2d9)+_0xb513d1(0x1ba)+_0xb513d1(0x318)+_0xb513d1(0x291)+',\x20mov'+'e.'));}}catch(_0xf1c4){return logger[_0xb513d1(0x33c)](_0xb513d1(0x206)+_0xb513d1(0x188)+_0xb513d1(0x2f5)+'Manag'+_0xb513d1(0x271)+'s',_0xf1c4),sponsorService[_0xb513d1(0x106)+_0xb513d1(0x16b)+_0xb513d1(0x24a)+'onse'](_0xf1c4[_0xb513d1(0x259)+'ge']||'An\x20un'+'known'+_0xb513d1(0x176)+_0xb513d1(0x287)+_0xb513d1(0x1ef));}}export async function handleCreateListFromTemplate(_0x1e021c,_0x5e3e47){const _0x5916d5=a0_0x59725f,_0x3de6be={'LTgVb':function(_0x210faf,_0xbe83a6){return _0x210faf===_0xbe83a6;},'RudWL':_0x5916d5(0x14d)+'t','IAWpA':'start'+_0x5916d5(0x313),'mxyWx':'custo'+_0x5916d5(0x2c7)+'lds','pPDTl':_0x5916d5(0x276)+'ity','uuNjg':_0x5916d5(0x2b5)+_0x5916d5(0x1ff)+_0x5916d5(0x1ac),'FcUmH':_0x5916d5(0x171)+_0x5916d5(0x2b6)+'te','hUhrF':_0x5916d5(0x143)+_0x5916d5(0x232)+'date','wpCrP':_0x5916d5(0x143)+'tatus'+'es','PJJLY':_0x5916d5(0x2fe)+_0x5916d5(0x2da)+_0x5916d5(0x35c),'DDXzq':'comme'+_0x5916d5(0x356)+_0x5916d5(0x26a)+_0x5916d5(0x372),'WCjdX':_0x5916d5(0x27b)+_0x5916d5(0x241)+_0x5916d5(0x1ad),'IudVU':'exter'+'nal_d'+'epend'+'encie'+'s','BzNhx':function(_0x1f3387,_0x437059){return _0x1f3387!==_0x437059;},'ZvDhQ':function(_0x196e22,_0x28af90,_0x5256e4,_0x544a64,_0x4671c5,_0x1ee046){return _0x196e22(_0x28af90,_0x5256e4,_0x544a64,_0x4671c5,_0x1ee046);},'qLPTk':function(_0x5002e8,_0x242d64,_0x3dcbfc,_0xc7bb08){return _0x5002e8(_0x242d64,_0x3dcbfc,_0xc7bb08);}},{name:_0xa8d782,template_id:_0x16d362,template_name:_0x597280,space_id:_0x1ce28f,space_name:_0x542769,folder_id:_0x20d072,folder_name:_0x472eb6}=_0x1e021c,{list:_0x47741a}=_0x5e3e47;try{if(!_0xa8d782)return sponsorService[_0x5916d5(0x106)+_0x5916d5(0x16b)+_0x5916d5(0x24a)+'onse'](_0x5916d5(0x344)+_0x5916d5(0x355)+_0x5916d5(0x359)+'d.');const _0x4a3f6d=await resolveTemplateId(_0x16d362,_0x597280,_0x5e3e47);let _0x428320=_0x3de6be[_0x5916d5(0x2e2)](typeof _0x1e021c[_0x5916d5(0x37a)+'ns'],_0x3de6be[_0x5916d5(0x157)])&&_0x1e021c[_0x5916d5(0x37a)+'ns']!==null?{..._0x1e021c['optio'+'ns']}:{};if(Object[_0x5916d5(0x2e9)](_0x428320)['lengt'+'h']===0x0){const _0xba5cb3=[_0x5916d5(0x27d)+_0x5916d5(0x133)+'ediat'+_0x5916d5(0x216),_0x3de6be[_0x5916d5(0x13f)],_0x5916d5(0x35e)+_0x5916d5(0x1d3),_0x5916d5(0x117)+_0x5916d5(0x2c9)+_0x5916d5(0x26d)+'e',_0x5916d5(0x31e)+_0x5916d5(0x14c)+_0x5916d5(0x156),_0x5916d5(0x244)+'sks',_0x3de6be[_0x5916d5(0x1e2)],_0x3de6be[_0x5916d5(0x123)],_0x5916d5(0x230)+_0x5916d5(0x205),_0x5916d5(0x283)+_0x5916d5(0x10c)+_0x5916d5(0x295),_0x3de6be[_0x5916d5(0x2a5)],_0x3de6be[_0x5916d5(0x329)],_0x3de6be[_0x5916d5(0x147)],_0x5916d5(0x37b)+_0x5916d5(0x12c),_0x3de6be[_0x5916d5(0x203)],_0x3de6be['PJJLY'],'attac'+_0x5916d5(0x12b)+'s',_0x5916d5(0x104)+'nt',_0x3de6be['DDXzq'],_0x5916d5(0x258)+'_sett'+_0x5916d5(0x2b7),_0x3de6be[_0x5916d5(0x1a3)],_0x5916d5(0x172)+'ionsh'+_0x5916d5(0x381),_0x3de6be['IudVU'],_0x5916d5(0x1da)+_0x5916d5(0x149)+'epend'+'encie'+'s'];for(const _0x5d44ce of _0xba5cb3){if(_0x3de6be[_0x5916d5(0x384)](_0x1e021c[_0x5d44ce],undefined))_0x428320[_0x5d44ce]=_0x1e021c[_0x5d44ce];}}if(_0x20d072||_0x472eb6){const _0xd55302=await _0x3de6be[_0x5916d5(0x1bd)](resolveFolderId,_0x20d072,_0x472eb6,_0x1ce28f,_0x542769,_0x5e3e47),_0x54779b=await _0x47741a[_0x5916d5(0x106)+_0x5916d5(0x271)+_0x5916d5(0x226)+_0x5916d5(0x1b3)+_0x5916d5(0x328)+'plate'](_0xd55302,_0x4a3f6d,_0xa8d782,_0x428320);return sponsorService['creat'+_0x5916d5(0x22d)+_0x5916d5(0x257)]({'id':_0x54779b['id'],'name':_0x54779b[_0x5916d5(0x2d7)],'message':'List\x20'+'\x22'+_0xa8d782+(_0x5916d5(0x361)+_0x5916d5(0x162)+_0x5916d5(0x12d)+_0x5916d5(0x286)+_0x5916d5(0x22e)+_0x5916d5(0x285)+_0x5916d5(0x17f)+'ucces'+_0x5916d5(0x2af)+'y')},!![]);}else{const _0xd9bc09=await _0x3de6be[_0x5916d5(0x18a)](resolveSpaceId,_0x1ce28f,_0x542769,_0x5e3e47),_0x801864=await _0x47741a['creat'+'eList'+_0x5916d5(0x264)+_0x5916d5(0x325)+'te'](_0xd9bc09,_0x4a3f6d,_0xa8d782,_0x428320);return sponsorService['creat'+_0x5916d5(0x22d)+_0x5916d5(0x257)]({'id':_0x801864['id'],'name':_0x801864['name'],'message':_0x5916d5(0x324)+'\x22'+_0xa8d782+(_0x5916d5(0x361)+'ated\x20'+_0x5916d5(0x12d)+'templ'+_0x5916d5(0x2d3)+'ucces'+'sfull'+'y')},!![]);}}catch(_0x4b68dc){return logger[_0x5916d5(0x33c)](_0x5916d5(0x206)+_0x5916d5(0x188)+'andle'+_0x5916d5(0x11d)+'eList'+_0x5916d5(0x264)+_0x5916d5(0x325)+'te',_0x4b68dc),sponsorService[_0x5916d5(0x106)+_0x5916d5(0x16b)+_0x5916d5(0x24a)+_0x5916d5(0x257)](_0x4b68dc[_0x5916d5(0x259)+'ge']||'An\x20un'+_0x5916d5(0x174)+_0x5916d5(0x176)+_0x5916d5(0x287)+_0x5916d5(0x1ef));}}
|
|
1
|
+
function a0_0x4386(_0x4dc99c,_0x416013){_0x4dc99c=_0x4dc99c-0xec;const _0x4ecd10=a0_0x4ecd();let _0x438639=_0x4ecd10[_0x4dc99c];if(a0_0x4386['uBOEYs']===undefined){var _0x2adc20=function(_0x4314da){const _0x48d62a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x321be5='',_0x4087ac='';for(let _0x53a6d4=0x0,_0x326b87,_0x3fe78a,_0x45efb8=0x0;_0x3fe78a=_0x4314da['charAt'](_0x45efb8++);~_0x3fe78a&&(_0x326b87=_0x53a6d4%0x4?_0x326b87*0x40+_0x3fe78a:_0x3fe78a,_0x53a6d4++%0x4)?_0x321be5+=String['fromCharCode'](0xff&_0x326b87>>(-0x2*_0x53a6d4&0x6)):0x0){_0x3fe78a=_0x48d62a['indexOf'](_0x3fe78a);}for(let _0x320d8e=0x0,_0x47460c=_0x321be5['length'];_0x320d8e<_0x47460c;_0x320d8e++){_0x4087ac+='%'+('00'+_0x321be5['charCodeAt'](_0x320d8e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4087ac);};a0_0x4386['KTQjwG']=_0x2adc20,a0_0x4386['zikoyk']={},a0_0x4386['uBOEYs']=!![];}const _0x55bf5a=_0x4ecd10[0x0];a0_0x4386['XthTBe']!==_0x55bf5a&&(a0_0x4386['zikoyk']={},a0_0x4386['XthTBe']=_0x55bf5a);const _0x31d631=a0_0x4386['zikoyk'][_0x4dc99c];return _0x31d631===undefined?(_0x438639=a0_0x4386['KTQjwG'](_0x438639),a0_0x4386['zikoyk'][_0x4dc99c]=_0x438639):_0x438639=_0x31d631,_0x438639;}const a0_0x2ccfa7=a0_0x4386;(function(_0x15f46b,_0x1d8741){const _0x3d630f=a0_0x4386,_0x307321=_0x15f46b();while(!![]){try{const _0x4d6a15=parseInt(_0x3d630f(0x295))/0x1+-parseInt(_0x3d630f(0x29a))/0x2*(-parseInt(_0x3d630f(0x105))/0x3)+-parseInt(_0x3d630f(0x180))/0x4+parseInt(_0x3d630f(0x222))/0x5+-parseInt(_0x3d630f(0x23f))/0x6+parseInt(_0x3d630f(0x32a))/0x7*(-parseInt(_0x3d630f(0x261))/0x8)+parseInt(_0x3d630f(0x237))/0x9;if(_0x4d6a15===_0x1d8741)break;else _0x307321['push'](_0x307321['shift']());}catch(_0x2b6b98){_0x307321['push'](_0x307321['shift']());}}}(a0_0x4ecd,0x1c02d));import{getAndFormatMembers}from'../utils/member-utils.js';import{parseDueDate,hasExplicitTime}from'../utils/date-utils.js';import{Logger}from'../logger.js';import a0_0x350608 from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';function a0_0x4ecd(){const _0x5cc4bf=['yxrLieK','ig5HBwu','igvYCM8','mZaWmZKWyMTZBMD4','z3mSig8','ig9Szf8','zgvYBgu','zuvYCM8','zgvYig4','C2LNBMu','Axn0ig4','zgLHDgu','CIbZCge','vgvTCgW','DdOGzMe','D2vLA2u','AxjLCYa','BwLZC2K','C2z1BgW','BMrZ','rcbVCIa','C2uGDMu','q0vXzwO','igeGBgK','zxmGEYa','zgvYieK','igLUy2W','BIbMBge','y29SB3i','Dg8GzM8','y2HPDMu','CMv0Dxi','sgfUzgW','CYWGy28','CMvKjYK','BgLZDf8','AwrLzc4','ntqZmKjJqvPjzq','BhnLlG','ugvYBwK','icH1CMC','rhvLigq','yw1LicS','CIbMB2W','x2LKl2y','igrLC3q','AgLZihm','zMLUzey','Axn0x24','qMnHue0','ysbKAwy','zxjYB3i','yxjYyxK','BxbVCNq','jYb0BYa','zsWGC2S','EsbYzw0','DYbSAxm','z2v0','Bg93ks4','zxiGiG','igfYCMe','Axr5ide','C2TPCf8','C3rZsw4','C2vYieK','x2zPzwW','Aw9Uigy','A25VD24','y3vYCMu','BNmGzNu','zsKU','rw9iyu8','BwfW','DguGCMu','zwqGAw4','Df9ZDge','DgfTCca','iezVCIa','zsbHBIa','rM9Szgu','DwX0oIa','igzVBgq','yYbSAxm','q29UDhi','Bhruueu','zw50CW','BYb0CNu','zwuPig0','mtqWmJy4wxrJChvt','CgvzBLm','igr1zv8','lMCUicC','igLUihq','mJm2DuDfu1nz','zxjFAwq','yM9VBgu','y2uGsuq','Ag1LBNq','qxjYyxK','yw1jza','zgvYihm','C3vJy2u','kg5HBwu','y291BNq','zsaOywW','rgvZDgK','zxnWB24','CMTKB3C','y2uGBMe','ywjVDxq','y2XPy2S','B2XKx2e','DhLWzq','zv9Uyw0','AwqVC3a','rNjVBvq','CKnhvKi','BMuGDxa','yxrLzca','ig5HDhu','ieLeiokaLa','DgLVBNm','zxrHAwW','vw5PEca','CM1PC3m','ywnLx24','C1DNCuq','DcbMCM8','ihjLDhu','DhvZjYa','yw1LicG','zMf1Bhq','yw1Llca','yw1Lig0','zxH0zxi','zcb0zxG','ig92zxi','zcbVzIa','DxmGkgu','DxbKyxq','zxzLigW','CYWGBwe','CML2ywm','BgrLCL8','C3qGyMu','x2XLDMu','CLjLC3a','yw1Lihq','iIbUB3q','B3iGC2u','j25VBMu','C2uGj3m','Bsbuzw0','ywLUihq','y2XLyxi','CMvZig4','rwvoDum','Aw5MBW','BwfYA2q','lcbTB3y','v2HLDgG','BMfTzq','BMf0Aw8','BgrZ','AwqPlG','BgrLCIa','CL9Uyw0','C2LVBIa','x2LTBwu','tgLZDa','CMvKigy','BgLZDa','zxjZihq','zgvKlG','icSGkhq','x25HBwu','CMfSigW','CMvJDxi','B25ZlIa','BMqGzw4','C3bHy2u','rM9Yigm','zcbVCIa','ieXPC3q','CIbVy2m','tgLZDca','ihrVihi','CgfYyw0','BhKGzM8','Axn0ifa','zsbYzxe','CIbVCIa','ExbLlca','ChvIBgK','DguU','C3rHCNq','C2vZ','B24U','yxrL','C3rZigK','igrHDgu','zgf0zsa','rwL0Agu','CYKU','zhmSiha','qxqGBgu','vKfLsfK','DguGzMW','CMXLC3m','BxmGB3i','Dwj0yxm','ihDPDgG','BMfTzsa','uvnWv00','AYbZDge','ywnLx2K','Bw92zq','DgTRq2y','ifjLCxu','B2XZihi','C3vIDge','u2v0iha','B2XLyw4','zgf0zq','AxmGzM8','BgX5ihq','ysb0Aw0','z2v0vgu','DgvUDcW','B2W6ihi','BYbWCMK','C2v0ugu','icHMB3i','v0nSD2u','Dw5HBwi','q2fUBM8','y2LLCY4','mtK1m1vYCgnZrG','zM9Yihq','Dcb0yxm','CM9Tige','CM5Zigy','yxrLigK','BwuGBxu','zxiUifu','AwqSihq','DgfZA18','zv9Pzc8','DgfYDf8','CYbTB3y','Bv9MAwu','wLfKAu4','rw1SrKe','C3nMDwW','ihbYAw8','u291CMm','r2vxDM0','zguGyxi','CYbSAxm','zsbKDwu','BwuPicS','zxr0Aw4','Dw5Zzxq','yxrLx3q','DwrLCYa','DgvFAwq','yw1LlG','tNzmzK0','tgLZDfq','C2X5lG','z3mPlca','C3rnzw0','B29Szwe','vgHLicC','yxrLlca','uhjPB3i','zgvYx2K','BgvUz3q','zxnVBhy','BhKGAw4','Axb0Aw8','zsbSAxm','Axn0igy','yxnZAwC','DgLTzxm','Axn0CW','Bgf0zs4','B250zw4','zxrLCIa','zsbVCIa','zsbJB20','ignVBg8','BMvLCYW','ys4Grgu','zsbmAxm','CgXHDgu','ysbSAxm','BIaOCgW','zxjTAxm','zgvZigi','zxjYzwq','Aw5NCW','Aw5NigW','BhKGkgi','zw5JAwu','Aw5JBhu','BIbZCge','CYWGAw4','B2DLDgG','zvDHtNm','BwuGB24','AguGBMu','B3b0Aw8','icHHBhq','icHMB2W','B3iGBgK','yw5KBgu','Aw1L','AxmGCMu','C3rFAwq','yxnRig0','Bg9YlG','C3rFBMe','EvvMD2m','y29UDhi','BwjLCNm','x2rHDgu','BMfSx2q','zu9tuK0','Aw50zxi','zxHPC3q','x3n0yxi','BIbMB2W','yxrLx2K','BwvUDf8','B2XKzxi','DguNigi','DMf0zsa','ihrYDwu','DhjPzxm','Df9Kyxq','qsbKzxm','C2TZ','C3nPz24','BMfTzs4','zxmGBgK','CgfJzq','zw1VDMu','mJCXmNnQsNvoEa','zgvFDMK','BwvZC2e','Bf9Kzxa','ihrOzsa','DxmNihq','C2v0ige','Bg9Ylca','zwXLDgu','BMvLihu','DcbjrdO','zguGysa','CIaI','tM9HtLa','Awv3CYW','BMC6ihm','y29TBwu','Dwj6AKq','suqGkha','B25L','qujjtM0','B2XKx3q','igfJy2u','iIbJCMu','uMvTB3y','ysbMB2W','DgfJAg0','BL9JB24','CgvYBwK','l3yVBc8','B3iGC3a','svP6ANi','iePVyIa','B3DUlIa','yw5NDwe','zM9Yigy','zxjFBMe','yxrLig4','ig9Yige','BwfWCgK','yxrPB24','x3nLDhq','DgL2zsa','Dc4GuMu','4OcuihjLDa','ig1VDMu','DYbmAxm','zsbHigW','CxnLufG','C3rYAw4','zxH0ks4','uMvXDwK','DwvFzge','yxrLicG','DhvZzxm','zcbSAxm','BeHtAxi','rgvSzxq','khbYzwy','CgfJzv8','ihnWywm','CIKU','qNLoyw0','DgLUyxq','BwvTyMu','B2XKx2y','lcbJB24','BgvZCYa','B3iGyxm','ugvYBwe','ihn1y2m','zguGDgG','y29UDgu','igeGC3a','zwrPyxq','zwnPzMK','zv9Pzca','igLUC2K','qxnZAwC','AxbFD2u','BNn0zwe','y2uUifi','B3DUx2m','DeXyu2G','BwuGkgy','BYbZCge','iIbKzwW','BYbYzxm','DxmVy28','BgLZDhm','CIWGBM8','ierLzMe','zNjVBsa','DMLKzwq','CML0EsW','CMvKks4','BYb0Agu','y3jLyxq','z3m6ihm','zLbjAhe','iI4GtMu','zsb0Agu','lcbJB20','zhvLx2q','DgL2zsK','zuXPC3q','zw1WBge','CYWGCMu','C3mGDg8','DxjUCYa','BgLZDc4','BxvZDca','y3vZDg8','lIbwywW','zw50ksa','CIbPBIa','tMfTzsa','twfUywC','zw50CMK','B25Zzq','vxnLigK','zgvYrNi','iIb1Cgq','mJmYmZa0uwvdy2DR','yYaOzMe','BM90igi','Dcb1C2u','A2v5CW','CM5HDgK','B3zPzgu','zgvSzxq','zs4GuMu','Axn0','CIbMB3i','DgvTCgW','B24UicC','C3rHDhu','zgvY','CYaOyM8','kgzVCIa','CYKGB3i','z2v0tgK','C3mPig8','CMvMzxi','zgf0zsW','DxbbCha','uerIvg8','yxn0ig8','CI9ZDge','sw5JBhu','BMCGysa','zxjZlca','zguGBwu','Df9Wzxi','EsbHBMq','yw1LDgu','Aw5HDgK','zxjUyxq','Bv90zw0','odyWmsa','BNrFyxq','kgfSDgu','qw4GDw4','DgLVBJO','qMnQD1K','BwuU','BMvL','u2v0ihq','DhmUieq','ChjPB3i','AxbZlca','B2XKx2m','B2XKx3m','D29YA3m','igzVCIa','BMfTzxm','CxvPCMu','DcaI','CMvXDwK','ugzqvue','uIbMB2W','u2v0ieW','DhKUicC','ig9Yihm','CMLVCMK','CMvSyxq','Aw9UCW','zxCGBgK','B2jQzwm','BgvK','CIbLzMy','zgvFBwu','CIbSAxm','zMvYzw4','DgLTzxO','C2LVBNm','BMvUDgW','zxbLBMq','Dcbjrca','DMvK','zwrHrvu','z2v0x2W','zvjLC3a','zgvYig8','zv9SAxm','y2vFAwq','BIbPBIa','zwTLBMq','BNnLDf8','ihn0yxq','Cg9Uzw4','DMuPlG','ywLSzwq','r2v0igq','C2v0x2W','DguSigq','DgvYBMe','CMjVC2K','B21uzw0','Axn0x3a','rxjYB3i','zw5Kzw4','igv2zw4','DxjYzwq','vKT2qvG','BNqGzM8','u0HtCwy','Dcb0BYa','zwzLCNi','zcbMB3i','u3bHy2u','sw5gB2W','C3qUifi','Dgf0Dxm','AfziyKq','BgvKjYa','Aw4Gysa','tgLZDhm','ig9Miha','BL9PBw0','zxf1Axi','BgrFy2G','AxjLzc4','ihvWzge','AxzLihq','B2X2zsa','Axr5','Bw92zuW','x2LKl3m','q3jLyxq','BNmGB24','yw5KicC','lIbdyw4','yw1Lie8','zxiGDgG','ChjVDMK','Axn0CYW','D24Gywm','B2XSB3C','Aw9UC2G','zxnZzNu','Dwzergu','z2uPlG','zcbPBIa','ChjPDMe','AwqVBMe','zgvZy3i','CIbjrca','igzVDw4','wMnVzuO','zgvYlIa','4OctidqGka','BMf0Axy','y3vYx3m','vxjS','zgv0ywK','x3n0yxq','zsbTDxm','igLUigG','yMvYCW','tuvTrxm','DcbMB2W','BNvTyMu','j3vUC2u','zwzHDwW','nZC1mZK1AhroBKvi','yxr0ywm','CIbUyw0','Bw92zs4','igXPC3q','y0Huzha','r2v0ieW','ihrLBxa','CMvZihm','ig9YigW','Dxn0B20','l3n0yxq','Df9Pzca','C3rZlca','icHZCge','zxDZ','Bw92zv8','ywnLig8','zM9Szgu','DgvFBMe','BgKV','oti2nJrbu3zQwvq','tw92zsa','ig9Yigy','zsb0BYa','zwqPlG'];a0_0x4ecd=function(){return _0x5cc4bf;};return a0_0x4ecd();}import{findListIDByName,resolveLocation,resolveTemplateId}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x2ccfa7(0x349)+'ools');function buildListUrl(_0x1ea97f,_0x20e3e0){const _0x525950=a0_0x2ccfa7;return a0_0x350608[_0x525950(0x2ab)+_0x525950(0x196)+_0x525950(0x217)]+'/'+_0x20e3e0[_0x525950(0x1b2)+_0x525950(0x103)][_0x525950(0x320)+_0x525950(0x2a0)]()+(_0x525950(0x122)+_0x525950(0x236))+_0x1ea97f;}async function resolveListId(_0x222157,_0x4ab8b8,_0x4f4b94){const _0x21f7ab=a0_0x2ccfa7,_0x5ecc95={'hVHbD':'Eithe'+_0x21f7ab(0x1c5)+_0x21f7ab(0x22e)+_0x21f7ab(0x378)+'st_na'+_0x21f7ab(0x330)+_0x21f7ab(0x2cd)+'\x20prov'+_0x21f7ab(0x260)};if(_0x222157)return _0x222157;if(!_0x4ab8b8)throw new Error(_0x5ecc95[_0x21f7ab(0x1ef)]);const _0x394cf4=await findListIDByName(_0x4f4b94['works'+_0x21f7ab(0x103)],_0x4ab8b8);if(!_0x394cf4)throw new Error(_0x21f7ab(0x2f6)+'\x22'+_0x4ab8b8+(_0x21f7ab(0x2d1)+_0x21f7ab(0x211)+'d.'));return _0x394cf4['id'];}async function resolveSpaceId(_0x19301b,_0x1be3cb,_0x59d614){const _0xf9f980=a0_0x2ccfa7,_0x523b2b={'VAeHY':'space'};if(_0x19301b)return _0x19301b;if(!_0x1be3cb)throw new Error(_0xf9f980(0x307)+'r\x20spa'+_0xf9f980(0x1d2)+_0xf9f980(0x1bc)+'pace_'+_0xf9f980(0x311)+_0xf9f980(0x174)+'be\x20pr'+_0xf9f980(0x186)+'d.');const _0x33e2db=await resolveLocation(_0x523b2b[_0xf9f980(0x30b)],undefined,_0x1be3cb,_0x59d614[_0xf9f980(0x1b2)+'pace']);return _0x33e2db['id'];}async function resolveFolderId(_0x5952de,_0x8769fa,_0x4c14a9,_0x8d517,_0x291655){const _0x3264bb=a0_0x2ccfa7,_0x3b432c={'WClwe':_0x3264bb(0x234)+'r_nam'+_0x3264bb(0x2fb)+'uires'+_0x3264bb(0x141)+_0x3264bb(0x151)+_0x3264bb(0x123)+_0x3264bb(0x2ba)+_0x3264bb(0x2d0)+_0x3264bb(0x15c)+_0x3264bb(0x1fa)+_0x3264bb(0x327)+'iguou'+_0x3264bb(0x34a)};if(_0x5952de)return _0x5952de;if(!_0x8769fa)throw new Error(_0x3264bb(0x307)+_0x3264bb(0x267)+'der_i'+_0x3264bb(0x2f3)+'folde'+_0x3264bb(0x2e3)+_0x3264bb(0x21a)+'t\x20be\x20'+_0x3264bb(0x204)+_0x3264bb(0x2ea));if(!_0x4c14a9&&!_0x8d517)throw new Error(_0x3b432c[_0x3264bb(0x326)]);const _0x583404=await resolveSpaceId(_0x4c14a9,_0x8d517,_0x291655),_0x294d78=await _0x291655[_0x3264bb(0x234)+'r'][_0x3264bb(0x26b)+_0x3264bb(0xf8)+_0x3264bb(0x143)+'e'](_0x583404,_0x8769fa);if(!_0x294d78)throw new Error(_0x3264bb(0x28c)+_0x3264bb(0x111)+_0x8769fa+(_0x3264bb(0x2d1)+_0x3264bb(0x211)+_0x3264bb(0x20c)+_0x3264bb(0x2f1)+'.'));return _0x294d78['id'];}export const listListsTool={'name':a0_0x2ccfa7(0x25f)+a0_0x2ccfa7(0x15e),'description':'Retri'+a0_0x2ccfa7(0x2c9)+'ists\x20'+a0_0x2ccfa7(0x1f1)+'space'+a0_0x2ccfa7(0x377)+a0_0x2ccfa7(0x242)+a0_0x2ccfa7(0x193)+a0_0x2ccfa7(0x178)+a0_0x2ccfa7(0x11e)+a0_0x2ccfa7(0x213)+a0_0x2ccfa7(0x138)+a0_0x2ccfa7(0x22a)+a0_0x2ccfa7(0x140)+a0_0x2ccfa7(0x2af)+a0_0x2ccfa7(0x2ba)+a0_0x2ccfa7(0x202)+a0_0x2ccfa7(0x1b9)+a0_0x2ccfa7(0x351)+'d/fol'+'der_n'+'ame.','annotations':{'title':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x1f2),'readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'space_id':{'type':a0_0x2ccfa7(0x136)+'g','description':'Space'+a0_0x2ccfa7(0x2b5)+a0_0x2ccfa7(0x2bd)+a0_0x2ccfa7(0x32e)+a0_0x2ccfa7(0xf8)+a0_0x2ccfa7(0x148)+a0_0x2ccfa7(0x15e)+a0_0x2ccfa7(0x299)+a0_0x2ccfa7(0x26a)+'pace.'},'space_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x1eb)+'\x20name'+'\x20(alt'+a0_0x2ccfa7(0x1a2)+a0_0x2ccfa7(0x1f9)+a0_0x2ccfa7(0x15a)+'ce_id'+').'},'folder_id':{'type':a0_0x2ccfa7(0x136)+'g','description':'Folde'+'r\x20ID\x20'+a0_0x2ccfa7(0x131)+a0_0x2ccfa7(0x172)+a0_0x2ccfa7(0x15e)+a0_0x2ccfa7(0x152)+a0_0x2ccfa7(0x14c)+a0_0x2ccfa7(0x31d)+a0_0x2ccfa7(0x2e2)+a0_0x2ccfa7(0x13f)+a0_0x2ccfa7(0x369)+a0_0x2ccfa7(0x2c5)+'\x20fold'+a0_0x2ccfa7(0x129)+'me).'},'folder_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x28c)+a0_0x2ccfa7(0x224)+'e\x20(al'+'terna'+'tive\x20'+a0_0x2ccfa7(0x259)+'lder_'+'id;\x20r'+a0_0x2ccfa7(0x1f5)+'es\x20sp'+a0_0x2ccfa7(0x314)+a0_0x2ccfa7(0x2f3)+a0_0x2ccfa7(0x2f1)+a0_0x2ccfa7(0x2ec)+'\x20to\x20r'+a0_0x2ccfa7(0x353)+a0_0x2ccfa7(0x283)},'archived':{'type':'boole'+'an','description':a0_0x2ccfa7(0x19a)+a0_0x2ccfa7(0x33e)+a0_0x2ccfa7(0x25a)+a0_0x2ccfa7(0x13c)+a0_0x2ccfa7(0x1ad)+a0_0x2ccfa7(0x221)+a0_0x2ccfa7(0x24a)+a0_0x2ccfa7(0x262)},'detail_level':{'type':'strin'+'g','enum':['names',a0_0x2ccfa7(0x218)+'led'],'description':a0_0x2ccfa7(0x290)+a0_0x2ccfa7(0x318)+a0_0x2ccfa7(0x2a7)+a0_0x2ccfa7(0x251)+a0_0x2ccfa7(0x1de)+a0_0x2ccfa7(0x1bb)+a0_0x2ccfa7(0x1b4)+'\x27\x20ret'+a0_0x2ccfa7(0x172)+a0_0x2ccfa7(0x20e)+a0_0x2ccfa7(0x373)+a0_0x2ccfa7(0x2f9)+a0_0x2ccfa7(0x1c3)+'icien'+'t\x20nav'+'igati'+a0_0x2ccfa7(0x18c)+a0_0x2ccfa7(0x218)+a0_0x2ccfa7(0x1f0)+a0_0x2ccfa7(0x25b)+a0_0x2ccfa7(0x282)+'ll\x20me'+'tadat'+a0_0x2ccfa7(0x362)+a0_0x2ccfa7(0x2c0)+':\x20det'+a0_0x2ccfa7(0x1d9)+'.'}}}};export const getListTool={'name':a0_0x2ccfa7(0x1ce)+'ist','description':a0_0x2ccfa7(0x1da)+a0_0x2ccfa7(0x2b7)+a0_0x2ccfa7(0x287)+'forma'+'tion\x20'+a0_0x2ccfa7(0x2aa)+'\x20a\x20sp'+a0_0x2ccfa7(0x150)+a0_0x2ccfa7(0x28f)+a0_0x2ccfa7(0x130)+'quire'+a0_0x2ccfa7(0x33f)+'t_id\x20'+a0_0x2ccfa7(0x378)+a0_0x2ccfa7(0x37f)+a0_0x2ccfa7(0x1aa),'annotations':{'title':a0_0x2ccfa7(0x228)+a0_0x2ccfa7(0x189),'readOnlyHint':!![]},'inputSchema':{'type':a0_0x2ccfa7(0x1c1)+'t','properties':{'list_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x117)+a0_0x2ccfa7(0x194)+a0_0x2ccfa7(0x164)},'list_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x311)+a0_0x2ccfa7(0x1a6)+a0_0x2ccfa7(0x185)+'ve).'},'include_members':{'type':a0_0x2ccfa7(0x29c)+'an','description':a0_0x2ccfa7(0x19a)+a0_0x2ccfa7(0x19d)+a0_0x2ccfa7(0xee)+'\x20with'+a0_0x2ccfa7(0x11b)+a0_0x2ccfa7(0x171)+a0_0x2ccfa7(0x109)+a0_0x2ccfa7(0x173)}}}};export const createListTool={'name':a0_0x2ccfa7(0x166)+a0_0x2ccfa7(0x1d1)+'t','description':'Creat'+'e\x20a\x20n'+a0_0x2ccfa7(0x1c0)+'st\x20in'+a0_0x2ccfa7(0x14e)+a0_0x2ccfa7(0x233)+'r\x20fol'+a0_0x2ccfa7(0x213)+'Requi'+a0_0x2ccfa7(0x2d8)+a0_0x2ccfa7(0x266)+'\x20spac'+a0_0x2ccfa7(0x334)+a0_0x2ccfa7(0x2f1)+'_name'+a0_0x2ccfa7(0x239)+a0_0x2ccfa7(0xf8)+a0_0x2ccfa7(0x268)+a0_0x2ccfa7(0xf8)+a0_0x2ccfa7(0x2ec)+'.','annotations':{'title':a0_0x2ccfa7(0x1fe)+a0_0x2ccfa7(0x363)+'t','openWorldHint':!![]},'inputSchema':{'type':a0_0x2ccfa7(0x1c1)+'t','properties':{'name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x101)+'\x20Requ'+a0_0x2ccfa7(0x1f7)},'space_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x1eb)+'\x20ID.\x20'+a0_0x2ccfa7(0x2f2)+'reati'+a0_0x2ccfa7(0x19b)+a0_0x2ccfa7(0x234)+a0_0x2ccfa7(0x30d)+'\x20list'+'.'},'space_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x1eb)+'\x20name'+a0_0x2ccfa7(0x376)+a0_0x2ccfa7(0x1a2)+a0_0x2ccfa7(0x1f9)+a0_0x2ccfa7(0x15a)+a0_0x2ccfa7(0x1d2)+').'},'folder_id':{'type':a0_0x2ccfa7(0x136)+'g','description':'Folde'+'r\x20ID.'+a0_0x2ccfa7(0x28a)+'creat'+'ing\x20a'+a0_0x2ccfa7(0x226)+a0_0x2ccfa7(0x152)+a0_0x2ccfa7(0x110)+a0_0x2ccfa7(0x234)+'r.'},'folder_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x28c)+'r\x20nam'+a0_0x2ccfa7(0x2a5)+'terna'+a0_0x2ccfa7(0x12f)+a0_0x2ccfa7(0x259)+'lder_'+a0_0x2ccfa7(0x2e1)},'content':{'type':'strin'+'g','description':'List\x20'+a0_0x2ccfa7(0x20f)+a0_0x2ccfa7(0x355)+a0_0x2ccfa7(0x366)+a0_0x2ccfa7(0x2d6)+a0_0x2ccfa7(0x137)},'markdown_content':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x20f)+a0_0x2ccfa7(0x355)+'n\x20in\x20'+a0_0x2ccfa7(0x2db)+a0_0x2ccfa7(0x126)+a0_0x2ccfa7(0x17d)+a0_0x2ccfa7(0x155)+a0_0x2ccfa7(0x2c6)+a0_0x2ccfa7(0x14d)+a0_0x2ccfa7(0x1e6)+a0_0x2ccfa7(0x18a)+'matte'+a0_0x2ccfa7(0x2c4)+'t.'},'due_date':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x265)+'ate\x20('+a0_0x2ccfa7(0x2b8)+a0_0x2ccfa7(0x359)+a0_0x2ccfa7(0x289)+'ms\x20or'+a0_0x2ccfa7(0x2b4)+a0_0x2ccfa7(0x2ed)+a0_0x2ccfa7(0x127)+a0_0x2ccfa7(0x20b)},'due_date_time':{'type':a0_0x2ccfa7(0x29c)+'an','description':a0_0x2ccfa7(0x2dd)+a0_0x2ccfa7(0x203)+'e\x20due'+a0_0x2ccfa7(0x305)+a0_0x2ccfa7(0x256)+a0_0x2ccfa7(0x345)+'a\x20tim'+'e\x20com'+a0_0x2ccfa7(0x1d7)+'t.'},'priority':{'type':'numbe'+'r','description':'Prior'+a0_0x2ccfa7(0x27a)+a0_0x2ccfa7(0x264)+a0_0x2ccfa7(0x177)+a0_0x2ccfa7(0x214)+a0_0x2ccfa7(0x277)},'assignee':{'type':a0_0x2ccfa7(0x21f)+'r','description':a0_0x2ccfa7(0x153)+a0_0x2ccfa7(0x10e)+a0_0x2ccfa7(0x27d)+'D.'},'status':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x258)+'/stat'+a0_0x2ccfa7(0x2c7)+'.g.\x20\x27'+a0_0x2ccfa7(0x25e)+'.\x20Ref'+a0_0x2ccfa7(0x2e9)+a0_0x2ccfa7(0x165)+a0_0x2ccfa7(0x2f4)+'\x20colo'+a0_0x2ccfa7(0x15f)+'t\x20tas'+a0_0x2ccfa7(0x313)+a0_0x2ccfa7(0x13b)+'.'}},'required':[a0_0x2ccfa7(0x2de)]}};export const updateListTool={'name':a0_0x2ccfa7(0x2c8)+a0_0x2ccfa7(0x1d1)+'t','description':'Updat'+a0_0x2ccfa7(0x28b)+a0_0x2ccfa7(0xf3)+a0_0x2ccfa7(0x36b)+'ist\x27s'+'\x20name'+a0_0x2ccfa7(0x147)+a0_0x2ccfa7(0x321)+'\x20due\x20'+a0_0x2ccfa7(0x195)+a0_0x2ccfa7(0x33b)+a0_0x2ccfa7(0x163)+a0_0x2ccfa7(0x1d6)+a0_0x2ccfa7(0x15d)+a0_0x2ccfa7(0x10c)+a0_0x2ccfa7(0x149)+a0_0x2ccfa7(0x245)+a0_0x2ccfa7(0x188)+'quire'+a0_0x2ccfa7(0x33f)+a0_0x2ccfa7(0x22e)+a0_0x2ccfa7(0x378)+'st_na'+a0_0x2ccfa7(0x1aa),'annotations':{'title':'Updat'+a0_0x2ccfa7(0x363)+'t','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'list_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+'ID\x20(p'+a0_0x2ccfa7(0x194)+a0_0x2ccfa7(0x164)},'list_name':{'type':a0_0x2ccfa7(0x136)+'g','description':'List\x20'+a0_0x2ccfa7(0x311)+'(alte'+a0_0x2ccfa7(0x185)+a0_0x2ccfa7(0x1d8)},'name':{'type':a0_0x2ccfa7(0x136)+'g','description':'New\x20l'+a0_0x2ccfa7(0x246)+a0_0x2ccfa7(0x347)},'content':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x20f)+a0_0x2ccfa7(0x355)+a0_0x2ccfa7(0x366)+a0_0x2ccfa7(0x2d6)+a0_0x2ccfa7(0x137)},'markdown_content':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+'descr'+a0_0x2ccfa7(0x355)+a0_0x2ccfa7(0x1d3)+a0_0x2ccfa7(0x2db)+'own.'},'status':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x258)+a0_0x2ccfa7(0x22d)+'us\x20(e'+a0_0x2ccfa7(0x298)+a0_0x2ccfa7(0x25e)+'.\x20Ref'+a0_0x2ccfa7(0x2e9)+a0_0x2ccfa7(0x165)+'\x20List'+a0_0x2ccfa7(0x360)+a0_0x2ccfa7(0x15f)+a0_0x2ccfa7(0x32c)+a0_0x2ccfa7(0x313)+'tuses'+'.'},'unset_status':{'type':'boole'+'an','description':a0_0x2ccfa7(0x11d)+a0_0x2ccfa7(0x16a)+a0_0x2ccfa7(0x226)+a0_0x2ccfa7(0x360)+a0_0x2ccfa7(0x199)+'tus.\x20'+'Set\x20t'+a0_0x2ccfa7(0x293)+a0_0x2ccfa7(0x23a)+a0_0x2ccfa7(0x2d7)+a0_0x2ccfa7(0x109)+'color'+a0_0x2ccfa7(0x201)+a0_0x2ccfa7(0x182)+a0_0x2ccfa7(0x35f)+'bined'+a0_0x2ccfa7(0x310)+'\x20\x27sta'+'tus\x27.'},'due_date':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x265)+a0_0x2ccfa7(0x13a)+a0_0x2ccfa7(0x2b8)+a0_0x2ccfa7(0x359)+a0_0x2ccfa7(0x289)+a0_0x2ccfa7(0x30e)+'\x20natu'+a0_0x2ccfa7(0x2ed)+a0_0x2ccfa7(0x127)+'ge).'},'due_date_time':{'type':a0_0x2ccfa7(0x29c)+'an','description':a0_0x2ccfa7(0x2dd)+a0_0x2ccfa7(0x203)+a0_0x2ccfa7(0x340)+'\x20date'+a0_0x2ccfa7(0x256)+a0_0x2ccfa7(0x345)+a0_0x2ccfa7(0x31f)+a0_0x2ccfa7(0x35f)+a0_0x2ccfa7(0x1d7)+'t.'},'priority':{'type':a0_0x2ccfa7(0x21f)+'r','description':a0_0x2ccfa7(0x350)+a0_0x2ccfa7(0x27a)+a0_0x2ccfa7(0x264)+a0_0x2ccfa7(0x177)+a0_0x2ccfa7(0x214)+a0_0x2ccfa7(0x277)},'assignee':{'type':a0_0x2ccfa7(0x136)+'g','description':'Assig'+a0_0x2ccfa7(0x10e)+'ser\x20I'+a0_0x2ccfa7(0x250)+a0_0x2ccfa7(0x2d3)+a0_0x2ccfa7(0x272)+a0_0x2ccfa7(0x343)+'.'}}}};export const deleteListTool={'name':a0_0x2ccfa7(0x187)+a0_0x2ccfa7(0x1d1)+'t','description':a0_0x2ccfa7(0x14a)+a0_0x2ccfa7(0x1c9)+a0_0x2ccfa7(0x274)+'ove\x20a'+'\x20list'+'.','annotations':{'title':a0_0x2ccfa7(0x13e)+a0_0x2ccfa7(0x363)+'t','openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'list_id':{'type':'strin'+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x117)+a0_0x2ccfa7(0x194)+a0_0x2ccfa7(0x164)},'list_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x311)+'(alte'+a0_0x2ccfa7(0x185)+a0_0x2ccfa7(0x1d8)}}}};export const moveListTool={'name':a0_0x2ccfa7(0x232)+a0_0x2ccfa7(0x2e8),'description':a0_0x2ccfa7(0x238)+a0_0x2ccfa7(0x365)+a0_0x2ccfa7(0x1e8)+a0_0x2ccfa7(0x26e)+a0_0x2ccfa7(0x1c6)+a0_0x2ccfa7(0x21e)+a0_0x2ccfa7(0x1d0)+a0_0x2ccfa7(0x248)+a0_0x2ccfa7(0x156)+a0_0x2ccfa7(0x1f5)+a0_0x2ccfa7(0x102)+'st_id'+a0_0x2ccfa7(0x22b)+'ist_n'+a0_0x2ccfa7(0x266)+a0_0x2ccfa7(0x269)+a0_0x2ccfa7(0x1a1)+a0_0x2ccfa7(0x302),'annotations':{'title':a0_0x2ccfa7(0x238)+a0_0x2ccfa7(0x2e6),'openWorldHint':!![]},'inputSchema':{'type':a0_0x2ccfa7(0x1c1)+'t','properties':{'list_id':{'type':'strin'+'g','description':a0_0x2ccfa7(0x33c)+a0_0x2ccfa7(0x356)+a0_0x2ccfa7(0x1cb)+a0_0x2ccfa7(0x13f)+a0_0x2ccfa7(0x369)+').'},'list_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x33c)+a0_0x2ccfa7(0x356)+'t\x20nam'+'e\x20(al'+a0_0x2ccfa7(0x1dd)+a0_0x2ccfa7(0x16d)+'.'},'folder_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2a6)+'natio'+a0_0x2ccfa7(0xf5)+a0_0x2ccfa7(0x255)+'D.'},'folder_name':{'type':a0_0x2ccfa7(0x136)+'g','description':'Desti'+a0_0x2ccfa7(0x2df)+a0_0x2ccfa7(0xf5)+a0_0x2ccfa7(0x244)+a0_0x2ccfa7(0x347)},'space_id':{'type':'strin'+'g','description':a0_0x2ccfa7(0x2a6)+a0_0x2ccfa7(0x2df)+'n\x20spa'+a0_0x2ccfa7(0x29d)+a0_0x2ccfa7(0x325)+a0_0x2ccfa7(0x28e)+'erles'+a0_0x2ccfa7(0x336)+a0_0x2ccfa7(0x283)},'space_name':{'type':'strin'+'g','description':a0_0x2ccfa7(0x2a6)+a0_0x2ccfa7(0x2df)+a0_0x2ccfa7(0x36f)+a0_0x2ccfa7(0x2a9)+a0_0x2ccfa7(0x1aa)},'allow_destructive_fallback':{'type':a0_0x2ccfa7(0x29c)+'an','description':'Allow'+a0_0x2ccfa7(0x132)+a0_0x2ccfa7(0x1e3)+'\x20if\x20t'+a0_0x2ccfa7(0x37d)+'igrat'+a0_0x2ccfa7(0x27f)+'ails.'+a0_0x2ccfa7(0x160)+a0_0x2ccfa7(0x28d)+'false'+'.'}}}};export const setListPermissionsTool={'name':a0_0x2ccfa7(0x1db)+a0_0x2ccfa7(0x1e0)+a0_0x2ccfa7(0x367)+a0_0x2ccfa7(0x1c8),'description':a0_0x2ccfa7(0x31a)+a0_0x2ccfa7(0x2cb)+a0_0x2ccfa7(0x19f)+'\x20perm'+'issio'+a0_0x2ccfa7(0x1ff)+a0_0x2ccfa7(0x253)+a0_0x2ccfa7(0x1ed)+a0_0x2ccfa7(0x1f5)+a0_0x2ccfa7(0x102)+a0_0x2ccfa7(0x37c)+a0_0x2ccfa7(0x22b)+a0_0x2ccfa7(0x26c)+a0_0x2ccfa7(0x2c1)+'priva'+a0_0x2ccfa7(0x30c)+'ag,\x20a'+a0_0x2ccfa7(0x2f0)+a0_0x2ccfa7(0xfc)+a0_0x2ccfa7(0x279)+'y.','annotations':{'title':a0_0x2ccfa7(0x1ba)+a0_0x2ccfa7(0x2fa)+'ermis'+a0_0x2ccfa7(0x1c8),'openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'list_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+'ID\x20(p'+a0_0x2ccfa7(0x194)+a0_0x2ccfa7(0x164)},'list_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x311)+a0_0x2ccfa7(0x1a6)+a0_0x2ccfa7(0x185)+'ve).'},'private':{'type':a0_0x2ccfa7(0x29c)+'an','description':a0_0x2ccfa7(0x1ac)+a0_0x2ccfa7(0x323)+a0_0x2ccfa7(0xfa)+'(true'+')\x20or\x20'+a0_0x2ccfa7(0x2fe)+a0_0x2ccfa7(0x181)+'lse).'+a0_0x2ccfa7(0x317)+a0_0x2ccfa7(0x1f7)},'entries':{'type':a0_0x2ccfa7(0x270),'description':a0_0x2ccfa7(0x29f)+a0_0x2ccfa7(0x1f3)+'ermis'+a0_0x2ccfa7(0x2e4)+'entri'+a0_0x2ccfa7(0x254)+a0_0x2ccfa7(0x332)+a0_0x2ccfa7(0x2fd)+a0_0x2ccfa7(0x121)+'ssion'+a0_0x2ccfa7(0x2ce)+'l\x20}.','items':{'type':a0_0x2ccfa7(0x1c1)+'t','properties':{'id':{'type':a0_0x2ccfa7(0x21f)+'r'},'type':{'type':a0_0x2ccfa7(0x136)+'g'},'permission_level':{'type':a0_0x2ccfa7(0x136)+'g'}},'required':['id',a0_0x2ccfa7(0x2ad)]}}},'required':[a0_0x2ccfa7(0x17b)+'es']}};export const createListFromTemplateTool={'name':a0_0x2ccfa7(0x166)+a0_0x2ccfa7(0x1d1)+'t_fro'+a0_0x2ccfa7(0x1a3)+a0_0x2ccfa7(0x364),'description':'Creat'+a0_0x2ccfa7(0x134)+a0_0x2ccfa7(0x357)+a0_0x2ccfa7(0x32d)+a0_0x2ccfa7(0x229)+a0_0x2ccfa7(0x35b)+'\x20Requ'+'ires:'+a0_0x2ccfa7(0x23d)+a0_0x2ccfa7(0x2eb)+a0_0x2ccfa7(0x16f)+a0_0x2ccfa7(0x346)+'\x20or\x20t'+a0_0x2ccfa7(0x16f)+a0_0x2ccfa7(0x235)+a0_0x2ccfa7(0x341)+a0_0x2ccfa7(0x230)+a0_0x2ccfa7(0x1d2)+'/spac'+a0_0x2ccfa7(0x2ae)+a0_0x2ccfa7(0x35e)+a0_0x2ccfa7(0x234)+'r_id/'+a0_0x2ccfa7(0x234)+a0_0x2ccfa7(0x2e3)+a0_0x2ccfa7(0x283),'annotations':{'title':a0_0x2ccfa7(0x1fe)+'e\x20Lis'+a0_0x2ccfa7(0x2bc)+a0_0x2ccfa7(0x2d5)+'plate','openWorldHint':!![]},'inputSchema':{'type':a0_0x2ccfa7(0x1c1)+'t','properties':{'name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x179)+a0_0x2ccfa7(0x32b)+a0_0x2ccfa7(0x374)+a0_0x2ccfa7(0x275)+a0_0x2ccfa7(0x130)+a0_0x2ccfa7(0x1b5)+'d.'},'template_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x18b)+a0_0x2ccfa7(0x23c)+'D\x20(pr'+a0_0x2ccfa7(0x1e9)+a0_0x2ccfa7(0x23b)},'template_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x2f6)+a0_0x2ccfa7(0x18b)+a0_0x2ccfa7(0x12a)+a0_0x2ccfa7(0x2bf)+'alter'+a0_0x2ccfa7(0x215)+a0_0x2ccfa7(0x23a)+a0_0x2ccfa7(0x18b)+a0_0x2ccfa7(0xf6)+'d).'},'space_id':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x1eb)+'\x20ID\x20('+a0_0x2ccfa7(0x128)+a0_0x2ccfa7(0xf8)+a0_0x2ccfa7(0x148)+'lists'+').'},'space_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x1eb)+a0_0x2ccfa7(0x23d)+a0_0x2ccfa7(0x376)+a0_0x2ccfa7(0x1a2)+a0_0x2ccfa7(0x1f9)+a0_0x2ccfa7(0x15a)+a0_0x2ccfa7(0x1d2)+').'},'folder_id':{'type':'strin'+'g','description':a0_0x2ccfa7(0x28c)+a0_0x2ccfa7(0x210)+'(for\x20'+a0_0x2ccfa7(0x15e)+a0_0x2ccfa7(0x152)+a0_0x2ccfa7(0x110)+a0_0x2ccfa7(0x234)+a0_0x2ccfa7(0x142)},'folder_name':{'type':a0_0x2ccfa7(0x136)+'g','description':a0_0x2ccfa7(0x28c)+a0_0x2ccfa7(0x224)+a0_0x2ccfa7(0x2a5)+a0_0x2ccfa7(0x1dd)+'tive\x20'+a0_0x2ccfa7(0x259)+a0_0x2ccfa7(0x2cc)+a0_0x2ccfa7(0x2e1)},'options':{'type':'objec'+'t','properties':{},'description':a0_0x2ccfa7(0x249)+'ate\x20i'+a0_0x2ccfa7(0x271)+'\x20opti'+a0_0x2ccfa7(0x2ef)+a0_0x2ccfa7(0x19a)+a0_0x2ccfa7(0x368)+a0_0x2ccfa7(0x34d)+a0_0x2ccfa7(0x257)+a0_0x2ccfa7(0x167)+a0_0x2ccfa7(0x30f)+'ks,\x20c'+a0_0x2ccfa7(0x22c)+a0_0x2ccfa7(0x27e)+a0_0x2ccfa7(0x309)+a0_0x2ccfa7(0x1bd)+'ty,\x20a'+'utoma'+'tion,'+a0_0x2ccfa7(0x256)+'ude_v'+a0_0x2ccfa7(0x113)+'\x20old_'+a0_0x2ccfa7(0x358)+a0_0x2ccfa7(0x361)+'\x20old_'+a0_0x2ccfa7(0x16c)+a0_0x2ccfa7(0x34f)+a0_0x2ccfa7(0x1b1)+'tart_'+a0_0x2ccfa7(0x195)+a0_0x2ccfa7(0x241)+'tags,'+a0_0x2ccfa7(0x241)+a0_0x2ccfa7(0x18d)+'ses,\x20'+a0_0x2ccfa7(0x146)+'ollow'+a0_0x2ccfa7(0x19c)+a0_0x2ccfa7(0x223)+a0_0x2ccfa7(0x29e)+a0_0x2ccfa7(0x25d)+'mment'+a0_0x2ccfa7(0x16b)+a0_0x2ccfa7(0xf7)+a0_0x2ccfa7(0x223)+a0_0x2ccfa7(0x29e)+a0_0x2ccfa7(0x170)+a0_0x2ccfa7(0x216)+a0_0x2ccfa7(0x342)+a0_0x2ccfa7(0x240)+a0_0x2ccfa7(0x1f6)+'eckli'+a0_0x2ccfa7(0x22f)+a0_0x2ccfa7(0x1be)+a0_0x2ccfa7(0x208)+a0_0x2ccfa7(0x1af)+a0_0x2ccfa7(0x2c3)+a0_0x2ccfa7(0xf0)+a0_0x2ccfa7(0x1ca)+a0_0x2ccfa7(0x36d)+a0_0x2ccfa7(0x370)+a0_0x2ccfa7(0x1dd)+a0_0x2ccfa7(0x108)+a0_0x2ccfa7(0x1e2)+a0_0x2ccfa7(0x329)+a0_0x2ccfa7(0x125)+a0_0x2ccfa7(0xed)+a0_0x2ccfa7(0x322)+'eturn'+a0_0x2ccfa7(0x2e5)+a0_0x2ccfa7(0x247)+a0_0x2ccfa7(0x36c)+'oolea'+'n,\x20de'+'fault'+a0_0x2ccfa7(0xfb)+').\x20Da'+a0_0x2ccfa7(0x286)+a0_0x2ccfa7(0x12c)+a0_0x2ccfa7(0x114)+a0_0x2ccfa7(0x335)+a0_0x2ccfa7(0x195)+a0_0x2ccfa7(0x297)+a0_0x2ccfa7(0x306)+'(ISO\x20'+a0_0x2ccfa7(0x1a4)+a0_0x2ccfa7(0x136)+a0_0x2ccfa7(0x34b)+'remap'+'_star'+a0_0x2ccfa7(0xfd)+a0_0x2ccfa7(0x273)+a0_0x2ccfa7(0x154)+a0_0x2ccfa7(0x1d4)+a0_0x2ccfa7(0x18f)+a0_0x2ccfa7(0x31b)+a0_0x2ccfa7(0x308)}},'required':[a0_0x2ccfa7(0x2de)]}};export async function handleManageLists(_0xe08ff8,_0x5e95b9){const _0xeb2d47=a0_0x2ccfa7,_0x39876a={'MPrYw':_0xeb2d47(0x25c)+'ing\x20h'+'andle'+'Manag'+'eList'+'s','ZmSxD':'set_p'+_0xeb2d47(0x367)+_0xeb2d47(0x1c8),'NvLfM':function(_0x5061e5,_0xb09e53){return _0x5061e5===_0xb09e53;},'IZzjr':'name\x20'+_0xeb2d47(0x37b)+_0xeb2d47(0x1b5)+_0xeb2d47(0x1ea)+'\x20crea'+_0xeb2d47(0x2ff),'SHSqf':function(_0x322609,_0x383368,_0x1e4160,_0x3ed255){return _0x322609(_0x383368,_0x1e4160,_0x3ed255);},'VKvAX':function(_0x68505e,_0x1930e8){return _0x68505e!==_0x1930e8;},'oOrfO':function(_0x526780,_0x5436af){return _0x526780(_0x5436af);},'kzsxR':function(_0x3bc026,_0xb6f6bf){return _0x3bc026(_0xb6f6bf);},'tkkCf':function(_0x4cafee,_0x3eb021,_0x4b1962,_0x4f9e27,_0x198e25,_0x397d4a){return _0x4cafee(_0x3eb021,_0x4b1962,_0x4f9e27,_0x198e25,_0x397d4a);},'WbiqA':function(_0x3e3a54,_0x448c61,_0x20ca2d){return _0x3e3a54(_0x448c61,_0x20ca2d);},'BcaPM':function(_0x639e65,_0x563ccb,_0x23ca0f,_0x315fb0){return _0x639e65(_0x563ccb,_0x23ca0f,_0x315fb0);},'EmlFA':function(_0x4276fa,_0x1b66ca,_0x410163){return _0x4276fa(_0x1b66ca,_0x410163);},'ltTPE':function(_0x9d7b36,_0x1ee145){return _0x9d7b36(_0x1ee145);},'invjS':_0xeb2d47(0x26f),'peYnS':_0xeb2d47(0x218)+_0xeb2d47(0x1c2),'NoaNP':'list_'+_0xeb2d47(0x15e)+'\x20requ'+_0xeb2d47(0x24c)+_0xeb2d47(0x2f1)+_0xeb2d47(0x1fd)+_0xeb2d47(0x140)+_0xeb2d47(0x311)+_0xeb2d47(0x190)+_0xeb2d47(0x234)+_0xeb2d47(0x30d)+_0xeb2d47(0x226)+_0xeb2d47(0x191)+'\x20fold'+_0xeb2d47(0x29b)+'/fold'+_0xeb2d47(0x129)+_0xeb2d47(0x159)+_0xeb2d47(0x378)+_0xeb2d47(0x304)+'n\x20a\x20f'+'older'+').','LLbeS':function(_0x564c37,_0x2ef679,_0x687204,_0x148d28){return _0x564c37(_0x2ef679,_0x687204,_0x148d28);},'ZQdiN':_0xeb2d47(0x2c8)+'e','edaEU':_0xeb2d47(0x30a)+_0xeb2d47(0x198)+_0xeb2d47(0x2b2)+_0xeb2d47(0x306)+_0xeb2d47(0x2f8)+_0xeb2d47(0x35d)+_0xeb2d47(0x2a3)+_0xeb2d47(0x147)+'tent,'+_0xeb2d47(0x1d6)+'us,\x20u'+_0xeb2d47(0x1d5)+'statu'+_0xeb2d47(0x2ca)+_0xeb2d47(0x2a8)+_0xeb2d47(0x120)+_0xeb2d47(0x321)+_0xeb2d47(0x297)+_0xeb2d47(0x195)+_0xeb2d47(0x33b)+_0xeb2d47(0x163)+_0xeb2d47(0x12b)+_0xeb2d47(0x100)+_0xeb2d47(0x294)+'ust\x20b'+'e\x20pro'+_0xeb2d47(0x162)+'.','fPIhq':function(_0x5603c3,_0x5c0c19){return _0x5603c3!==_0x5c0c19;},'lHSir':function(_0xe4f0b,_0x67bb8){return _0xe4f0b!==_0x67bb8;},'tLXSh':function(_0x599738,_0x575e67,_0x5a38ce){return _0x599738(_0x575e67,_0x5a38ce);},'EoHaO':_0xeb2d47(0xfe)+_0xeb2d47(0x144)+_0xeb2d47(0x27f)+_0xeb2d47(0xf8)+_0xeb2d47(0x268)+_0xeb2d47(0xf8)+_0xeb2d47(0x2ec)+_0xeb2d47(0x1bc)+_0xeb2d47(0x140)+_0xeb2d47(0x2af)+_0xeb2d47(0x2ba)+_0xeb2d47(0x2c2)+'ust\x20b'+'e\x20pro'+_0xeb2d47(0x162)+_0xeb2d47(0x1b3)+_0xeb2d47(0x225),'nuPRu':function(_0x390a77,_0x590fa0,_0x2ab5b9,_0x683083){return _0x390a77(_0x590fa0,_0x2ab5b9,_0x683083);},'LjDyI':_0xeb2d47(0x2f1),'ufDDe':function(_0x59161e,_0x4ec0b2){return _0x59161e===_0x4ec0b2;},'eWaNs':_0xeb2d47(0x1e1)+_0xeb2d47(0x21b)+'andle'+_0xeb2d47(0x17a)+_0xeb2d47(0x16e)+'s','sWgqD':_0xeb2d47(0x1a7)+_0xeb2d47(0x280)+_0xeb2d47(0x23e)+_0xeb2d47(0x2f5)+_0xeb2d47(0x1e4)},{action:_0x5c27cb,list_id:_0x1403cc,list_name:_0x5cde18,folder_id:_0x101df9,folder_name:_0x479d8e,space_id:_0x26dffd,space_name:_0x471e23,name:_0x5a7f6d,content:_0x2f7a05,markdown_content:_0x1428e0,due_date:_0x42cb91,due_date_time:_0x36adf0,priority:_0x4d8e37,assignee:_0x4fd6ce,status:_0x4e4796,unset_status:_0x28535a,allow_destructive_fallback:_0x4fe70c}=_0xe08ff8,{list:_0x845eb}=_0x5e95b9;logger[_0xeb2d47(0x2da)](_0x39876a['MPrYw'],{'action':_0x5c27cb});try{switch(_0x5c27cb){case _0x39876a['ZmSxD']:{const _0x8202c5=await resolveListId(_0x1403cc,_0x5cde18,_0x5e95b9);if(_0x39876a[_0xeb2d47(0x348)](_0xe08ff8['priva'+'te'],undefined))return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x243)+_0xeb2d47(0x2cf)+_0xeb2d47(0x17c)](_0xeb2d47(0x34e)+_0xeb2d47(0x20d)+_0xeb2d47(0xf9)+'oolea'+'n\x20par'+_0xeb2d47(0x1a0)+'r\x20is\x20'+_0xeb2d47(0x1b7)+_0xeb2d47(0x2e7)+_0xeb2d47(0x2d2)+_0xeb2d47(0x19e)+_0xeb2d47(0x24d)+'ons.');return await _0x845eb[_0xeb2d47(0x324)+_0xeb2d47(0x2b9)+_0xeb2d47(0x1bf)]('list',_0x8202c5,{'private':_0xe08ff8[_0xeb2d47(0x20d)+'te'],'entries':_0xe08ff8[_0xeb2d47(0x17b)+'es']||[]}),sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'success':!![],'message':_0xeb2d47(0x263)+'ssion'+'s\x20upd'+_0xeb2d47(0x2b3)+_0xeb2d47(0x2a2)+'ssful'+_0xeb2d47(0x2f9)+'r\x20lis'+_0xeb2d47(0x1b6)+(_0x5cde18||_0x1403cc)+'\x22'},!![]);}case _0xeb2d47(0x166)+'e':{if(!_0x5a7f6d)return sponsorService['creat'+'eErro'+_0xeb2d47(0x2cf)+_0xeb2d47(0x17c)](_0x39876a[_0xeb2d47(0x124)]);const _0x1c6729={'name':_0x5a7f6d};if(_0x2f7a05)_0x1c6729['conte'+'nt']=_0x2f7a05;if(_0x1428e0)_0x1c6729[_0xeb2d47(0x2db)+_0xeb2d47(0x157)+_0xeb2d47(0x35c)+'t']=_0x1428e0;if(_0x42cb91){const _0x3f42c2=_0x39876a[_0xeb2d47(0x1e7)](parseDueDate,String(_0x42cb91),undefined,_0x5e95b9[_0xeb2d47(0x1c7)+_0xeb2d47(0x118)]);if(_0x3f42c2)_0x1c6729[_0xeb2d47(0x16c)+_0xeb2d47(0x303)]=_0x3f42c2;_0x1c6729[_0xeb2d47(0x16c)+_0xeb2d47(0x344)+_0xeb2d47(0x37a)]=_0x39876a[_0xeb2d47(0x1e5)](_0x36adf0,undefined)?_0x36adf0:_0x39876a['oOrfO'](hasExplicitTime,_0x39876a['kzsxR'](String,_0x42cb91));}if(_0x4d8e37)_0x1c6729['prior'+_0xeb2d47(0x1fb)]=_0x4d8e37;if(_0x4fd6ce)_0x1c6729[_0xeb2d47(0x358)+_0xeb2d47(0x1ab)]=_0x4fd6ce;if(_0x4e4796)_0x1c6729['statu'+'s']=_0x4e4796;if(_0x101df9||_0x479d8e){const _0x1cc649=await _0x39876a[_0xeb2d47(0x316)](resolveFolderId,_0x101df9,_0x479d8e,_0x26dffd,_0x471e23,_0x5e95b9),_0x11f4f4=await _0x845eb[_0xeb2d47(0x166)+'eList'+_0xeb2d47(0x1ec)+_0xeb2d47(0x18e)](_0x1cc649,_0x1c6729);return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'id':_0x11f4f4['id'],'name':_0x11f4f4[_0xeb2d47(0x2de)],'content':_0x11f4f4[_0xeb2d47(0x14d)+'nt'],'folder':{'id':_0x11f4f4[_0xeb2d47(0x234)+'r']['id'],'name':_0x11f4f4[_0xeb2d47(0x234)+'r'][_0xeb2d47(0x2de)]},'space':{'id':_0x11f4f4['space']['id'],'name':_0x11f4f4[_0xeb2d47(0x2f1)][_0xeb2d47(0x2de)]},'url':_0x39876a['WbiqA'](buildListUrl,_0x11f4f4['id'],_0x5e95b9),'message':'List\x20'+'\x22'+_0x5a7f6d+('\x22\x20cre'+_0xeb2d47(0x2b3)+_0xeb2d47(0x2a2)+_0xeb2d47(0x33a)+_0xeb2d47(0x354)+_0xeb2d47(0x28e)+_0xeb2d47(0x278))+_0x11f4f4['folde'+'r'][_0xeb2d47(0x2de)]+'\x22'},!![]);}else{const _0xf2125=await resolveSpaceId(_0x26dffd,_0x471e23,_0x5e95b9),_0x1c7764=await _0x845eb[_0xeb2d47(0x166)+_0xeb2d47(0x16e)](_0xf2125,_0x1c6729);return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+'onse']({'id':_0x1c7764['id'],'name':_0x1c7764[_0xeb2d47(0x2de)],'content':_0x1c7764['conte'+'nt'],'space':{'id':_0x1c7764['space']['id'],'name':_0x1c7764[_0xeb2d47(0x2f1)][_0xeb2d47(0x2de)]},'url':buildListUrl(_0x1c7764['id'],_0x5e95b9),'message':_0xeb2d47(0x2f6)+'\x22'+_0x5a7f6d+('\x22\x20cre'+_0xeb2d47(0x2b3)+_0xeb2d47(0x2a2)+_0xeb2d47(0x33a)+'ly')},!![]);}}case _0xeb2d47(0x276):{const _0x21f016=await _0x39876a[_0xeb2d47(0x26d)](resolveListId,_0x1403cc,_0x5cde18,_0x5e95b9),_0x33a2a0=await _0x845eb[_0xeb2d47(0x192)+'st'](_0x21f016),_0xf5a9={'id':_0x33a2a0['id'],'name':_0x33a2a0[_0xeb2d47(0x2de)],'content':_0x33a2a0[_0xeb2d47(0x14d)+'nt'],'space':{'id':_0x33a2a0[_0xeb2d47(0x2f1)]['id'],'name':_0x33a2a0[_0xeb2d47(0x2f1)][_0xeb2d47(0x2de)]},'statuses':_0x33a2a0[_0xeb2d47(0x18d)+_0xeb2d47(0x301)],'url':_0x39876a[_0xeb2d47(0x339)](buildListUrl,_0x33a2a0['id'],_0x5e95b9)};if(_0xe08ff8[_0xeb2d47(0x36e)+_0xeb2d47(0x1c4)+_0xeb2d47(0xee)]){const _0x37d190=await _0x39876a[_0xeb2d47(0x291)](getAndFormatMembers,()=>_0x845eb[_0xeb2d47(0x192)+_0xeb2d47(0x34c)+_0xeb2d47(0x21c)](_0x21f016));_0x39876a['invjS']in _0x37d190&&_0x37d190[_0xeb2d47(0x26f)]?_0xf5a9[_0xeb2d47(0x145)+'rs']={'error':_0x37d190[_0xeb2d47(0x26f)]}:_0xf5a9[_0xeb2d47(0x145)+'rs']=_0x37d190;}return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+'onse'](_0xf5a9,!![]);}case'get_l'+_0xeb2d47(0x35a):{const {detail_level:detail_level=_0x39876a[_0xeb2d47(0x296)],archived:_0x91ecb0}=_0xe08ff8;if(!_0x101df9&&!_0x479d8e&&!_0x26dffd&&!_0x471e23)return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x243)+'rResp'+_0xeb2d47(0x17c)](_0x39876a[_0xeb2d47(0x112)]);let _0x592e9a;if(_0x101df9||_0x479d8e){const _0x278c88=await resolveFolderId(_0x101df9,_0x479d8e,_0x26dffd,_0x471e23,_0x5e95b9);_0x592e9a=await _0x845eb[_0xeb2d47(0x192)+_0xeb2d47(0x27c)+'Folde'+'r'](_0x278c88,_0x91ecb0);}else{const _0x2d0b6a=await _0x39876a['LLbeS'](resolveSpaceId,_0x26dffd,_0x471e23,_0x5e95b9);_0x592e9a=await _0x845eb['getLi'+_0xeb2d47(0x27c)+_0xeb2d47(0x1eb)](_0x2d0b6a,_0x91ecb0);}if(detail_level===_0xeb2d47(0x1b4))return sponsorService['creat'+'eResp'+_0xeb2d47(0x17c)]({'lists':_0x592e9a[_0xeb2d47(0x285)](_0x57827a=>({'id':_0x57827a['id'],'name':_0x57827a[_0xeb2d47(0x2de)]})),'count':_0x592e9a[_0xeb2d47(0x352)+'h']},!![]);return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'lists':_0x592e9a['map'](_0x1739bb=>({'id':_0x1739bb['id'],'name':_0x1739bb[_0xeb2d47(0x2de)],'content':_0x1739bb['conte'+'nt'],'status':_0x1739bb[_0xeb2d47(0x18d)+'s'],'task_count':_0x1739bb[_0xeb2d47(0x333)+_0xeb2d47(0x2a4)],'due_date':_0x1739bb['due_d'+_0xeb2d47(0x303)],'start_date':_0x1739bb[_0xeb2d47(0x300)+_0xeb2d47(0xef)],'archived':_0x1739bb['archi'+_0xeb2d47(0x1cc)]})),'count':_0x592e9a[_0xeb2d47(0x352)+'h']},!![]);}case _0x39876a[_0xeb2d47(0x338)]:{const _0x14487e=await _0x39876a[_0xeb2d47(0x26d)](resolveListId,_0x1403cc,_0x5cde18,_0x5e95b9);if(!_0x5a7f6d&&!_0x2f7a05&&!_0x4e4796&&!_0x28535a&&!_0x1428e0&&!_0x42cb91&&_0x39876a[_0xeb2d47(0x348)](_0x4d8e37,undefined)&&_0x4fd6ce===undefined)return sponsorService['creat'+'eErro'+_0xeb2d47(0x2cf)+'onse'](_0x39876a[_0xeb2d47(0x1cd)]);if(_0x4e4796&&_0x28535a)return sponsorService[_0xeb2d47(0x166)+'eErro'+'rResp'+_0xeb2d47(0x17c)](_0xeb2d47(0x328)+_0xeb2d47(0x183)+'\x20\x27sta'+_0xeb2d47(0x2be)+_0xeb2d47(0x200)+'unset'+_0xeb2d47(0x219)+_0xeb2d47(0x10a)+_0xeb2d47(0x371)+_0xeb2d47(0x331)+_0xeb2d47(0x2d4)+'tatus'+_0xeb2d47(0x272)+_0xeb2d47(0x10b)+_0xeb2d47(0x360)+_0xeb2d47(0x2fc)+_0xeb2d47(0x220)+_0xeb2d47(0x288)+'tus:\x20'+'true\x27'+_0xeb2d47(0x2f7)+_0xeb2d47(0x104)+_0xeb2d47(0x109)+_0xeb2d47(0x281)+'nt\x20co'+_0xeb2d47(0x37e));const _0xff3834={};if(_0x5a7f6d)_0xff3834[_0xeb2d47(0x2de)]=_0x5a7f6d;if(_0x2f7a05)_0xff3834[_0xeb2d47(0x14d)+'nt']=_0x2f7a05;if(_0x4e4796)_0xff3834['statu'+'s']=_0x4e4796;if(_0x28535a)_0xff3834[_0xeb2d47(0x343)+_0xeb2d47(0x219)+'us']=_0x28535a;if(_0x1428e0)_0xff3834['markd'+_0xeb2d47(0x157)+_0xeb2d47(0x35c)+'t']=_0x1428e0;if(_0x42cb91){const _0x5b53f2=parseDueDate(_0x39876a[_0xeb2d47(0x291)](String,_0x42cb91),undefined,_0x5e95b9[_0xeb2d47(0x1c7)+_0xeb2d47(0x118)]);if(_0x5b53f2)_0xff3834[_0xeb2d47(0x16c)+_0xeb2d47(0x303)]=_0x5b53f2;_0xff3834[_0xeb2d47(0x16c)+_0xeb2d47(0x344)+_0xeb2d47(0x37a)]=_0x39876a[_0xeb2d47(0x168)](_0x36adf0,undefined)?_0x36adf0:_0x39876a[_0xeb2d47(0x291)](hasExplicitTime,String(_0x42cb91));}if(_0x39876a[_0xeb2d47(0x13d)](_0x4d8e37,undefined))_0xff3834[_0xeb2d47(0x1ae)+_0xeb2d47(0x1fb)]=_0x4d8e37;if(_0x4fd6ce!==undefined)_0xff3834[_0xeb2d47(0x358)+_0xeb2d47(0x1ab)]=_0x4fd6ce;const _0x1c3082=await _0x845eb[_0xeb2d47(0x2c8)+_0xeb2d47(0x16e)](_0x14487e,_0xff3834);return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'id':_0x1c3082['id'],'name':_0x1c3082[_0xeb2d47(0x2de)],'content':_0x1c3082[_0xeb2d47(0x14d)+'nt'],'space':{'id':_0x1c3082['space']['id'],'name':_0x1c3082[_0xeb2d47(0x2f1)]['name']},'url':_0x39876a[_0xeb2d47(0x158)](buildListUrl,_0x1c3082['id'],_0x5e95b9),'message':_0xeb2d47(0x2f6)+'\x22'+_0x1c3082[_0xeb2d47(0x2de)]+(_0xeb2d47(0x17f)+_0xeb2d47(0x2b3)+_0xeb2d47(0x2a2)+'ssful'+'ly')},!![]);}case _0xeb2d47(0x187)+'e':{const _0x3567b0=await resolveListId(_0x1403cc,_0x5cde18,_0x5e95b9),_0x5f1e19=await _0x845eb[_0xeb2d47(0x192)+'st'](_0x3567b0),_0x170bcd=_0x5f1e19[_0xeb2d47(0x2de)];return await _0x845eb[_0xeb2d47(0x187)+_0xeb2d47(0x16e)](_0x3567b0),sponsorService['creat'+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'success':!![],'message':_0xeb2d47(0x2f6)+'\x22'+_0x170bcd+(_0xeb2d47(0x15b)+'eted\x20'+'succe'+_0xeb2d47(0x33a)+'ly')},!![]);}case _0xeb2d47(0x315):{const _0x245150=await resolveListId(_0x1403cc,_0x5cde18,_0x5e95b9);if(!_0x101df9&&!_0x479d8e&&!_0x26dffd&&!_0x471e23)return sponsorService['creat'+'eErro'+_0xeb2d47(0x2cf)+_0xeb2d47(0x17c)](_0x39876a[_0xeb2d47(0x284)]);let _0x2f84ce,_0x12a9cd;_0x101df9||_0x479d8e?(_0x2f84ce=await _0x39876a[_0xeb2d47(0x316)](resolveFolderId,_0x101df9,_0x479d8e,_0x26dffd,_0x471e23,_0x5e95b9),_0x12a9cd=_0xeb2d47(0x234)+'r'):(_0x2f84ce=await _0x39876a['nuPRu'](resolveSpaceId,_0x26dffd,_0x471e23,_0x5e95b9),_0x12a9cd=_0x39876a['LjDyI']);const _0x3253ff=await _0x845eb[_0xeb2d47(0x1fc)+_0xeb2d47(0x189)](_0x245150,_0x2f84ce,_0x12a9cd,_0x4fe70c);return sponsorService[_0xeb2d47(0x166)+_0xeb2d47(0x1cf)+_0xeb2d47(0x17c)]({'id':_0x3253ff['id'],'name':_0x3253ff[_0xeb2d47(0x2de)],'content':_0x3253ff[_0xeb2d47(0x14d)+'nt'],'space':{'id':_0x3253ff[_0xeb2d47(0x2f1)]['id'],'name':_0x3253ff[_0xeb2d47(0x2f1)][_0xeb2d47(0x2de)]},'folder':_0x3253ff['folde'+'r']?{'id':_0x3253ff[_0xeb2d47(0x234)+'r']['id'],'name':_0x3253ff[_0xeb2d47(0x234)+'r'][_0xeb2d47(0x2de)]}:undefined,'url':buildListUrl(_0x3253ff['id'],_0x5e95b9),'message':_0xeb2d47(0x2f6)+'moved'+_0xeb2d47(0x14b)+_0xeb2d47(0x209)+_0xeb2d47(0x31e)+'o\x20'+_0x12a9cd+'\x20\x22'+(_0x39876a[_0xeb2d47(0x20a)](_0x12a9cd,_0xeb2d47(0x234)+'r')&&_0x3253ff[_0xeb2d47(0x234)+'r']?_0x3253ff[_0xeb2d47(0x234)+'r'][_0xeb2d47(0x2de)]:_0x3253ff['space'][_0xeb2d47(0x2de)])+(_0xeb2d47(0x169)+_0xeb2d47(0x133)+_0xeb2d47(0x10f)+'\x20')+_0x3253ff['id']},!![]);}default:return sponsorService[_0xeb2d47(0x166)+'eErro'+_0xeb2d47(0x2cf)+_0xeb2d47(0x17c)]('Unkno'+_0xeb2d47(0x206)+_0xeb2d47(0x1a8)+'\x20'+_0x5c27cb+(_0xeb2d47(0x176)+'id\x20ac'+_0xeb2d47(0x2b6)+':\x20cre'+_0xeb2d47(0x34f)+'get,\x20'+_0xeb2d47(0x1ce)+_0xeb2d47(0x205)+_0xeb2d47(0x1f8)+_0xeb2d47(0x1dc)+_0xeb2d47(0x10d)+_0xeb2d47(0x2dc)+'e.'));}}catch(_0x1fe016){return logger['error'](_0x39876a[_0xeb2d47(0x372)],_0x1fe016),sponsorService[_0xeb2d47(0x166)+'eErro'+_0xeb2d47(0x2cf)+'onse'](_0x1fe016['messa'+'ge']||_0x39876a[_0xeb2d47(0x2bb)]);}}export async function handleCreateListFromTemplate(_0x3eb65c,_0x4c77d6){const _0x35d96f=a0_0x2ccfa7,_0x35fcc8={'eOSRM':function(_0x3c7304,_0x3ad5ee,_0x227e9a,_0x25fdd0){return _0x3c7304(_0x3ad5ee,_0x227e9a,_0x25fdd0);},'rCGVB':function(_0x1ce916,_0x1b1b59){return _0x1ce916===_0x1b1b59;},'PfPUA':_0x35d96f(0x1c1)+'t','qsePX':function(_0x4ed30f,_0x176d5f){return _0x4ed30f!==_0x176d5f;},'EeNuC':'retur'+_0x35d96f(0x1f4)+_0x35d96f(0x14f)+'ely','IyfDt':_0x35d96f(0x300)+_0x35d96f(0xef),'ubzjD':_0x35d96f(0x319)+_0x35d96f(0xff),'ABINm':'prior'+_0x35d96f(0x1fb),'AdLSx':'autom'+_0x35d96f(0x12d),'ZcoeJ':'old_d'+_0x35d96f(0x139)+'te','cHTdp':_0x35d96f(0x1b1)+_0x35d96f(0x335)+_0x35d96f(0x31c),'QSpWM':_0x35d96f(0x11a)+'ags','CEqej':_0x35d96f(0x1b1)+_0x35d96f(0x1ee)+'es','yUfwc':_0x35d96f(0x146)+_0x35d96f(0x207)+'ers','BcjwY':_0x35d96f(0x115)+_0x35d96f(0x1a5)+_0x35d96f(0x11f)+_0x35d96f(0x292),'GeWvm':_0x35d96f(0x2ee)+_0x35d96f(0x12e)+_0x35d96f(0x36a),'MEmEs':_0x35d96f(0x1b0)+'heckl'+_0x35d96f(0x35a),'PDbTo':_0x35d96f(0x1be)+_0x35d96f(0x208)+'ips','qIzVB':_0x35d96f(0xf2)+_0x35d96f(0xf0)+_0x35d96f(0x1ca)+_0x35d96f(0x36d)+'s','jtbHv':function(_0x9ddb9,_0x535281,_0x254b01,_0x32d134,_0x596078,_0xb3ec6a){return _0x9ddb9(_0x535281,_0x254b01,_0x32d134,_0x596078,_0xb3ec6a);}},{name:_0x28a949,template_id:_0x8f0854,template_name:_0x1a9dbc,space_id:_0x27533e,space_name:_0x12c480,folder_id:_0x240b2a,folder_name:_0x2b0b40}=_0x3eb65c,{list:_0x225ba4}=_0x4c77d6;try{if(!_0x28a949)return sponsorService[_0x35d96f(0x166)+_0x35d96f(0x243)+_0x35d96f(0x2cf)+_0x35d96f(0x17c)](_0x35d96f(0x311)+'is\x20re'+_0x35d96f(0x1b5)+'d.');const _0x75ea58=await _0x35fcc8[_0x35d96f(0xf1)](resolveTemplateId,_0x8f0854,_0x1a9dbc,_0x4c77d6);let _0x4a966b=_0x35fcc8[_0x35d96f(0x2b1)](typeof _0x3eb65c[_0x35d96f(0x375)+'ns'],_0x35fcc8[_0x35d96f(0x1b8)])&&_0x35fcc8[_0x35d96f(0x135)](_0x3eb65c[_0x35d96f(0x375)+'ns'],null)?{..._0x3eb65c[_0x35d96f(0x375)+'ns']}:{};if(Object[_0x35d96f(0x184)](_0x4a966b)[_0x35d96f(0x352)+'h']===0x0){const _0x10d49a=[_0x35fcc8[_0x35d96f(0x2d9)],_0x35fcc8['IyfDt'],'due_d'+_0x35d96f(0x303),'remap'+_0x35d96f(0xf4)+_0x35d96f(0xfd)+'e',_0x35d96f(0x27b)+_0x35d96f(0x24b)+_0x35d96f(0x24f),_0x35fcc8[_0x35d96f(0x116)],_0x35d96f(0x175)+_0x35d96f(0x337)+_0x35d96f(0x2e0),_0x35fcc8[_0x35d96f(0x119)],_0x35fcc8['AdLSx'],'inclu'+_0x35d96f(0x106)+_0x35d96f(0x231),_0x35d96f(0x2ac)+_0x35d96f(0x100)+'ees',_0x35fcc8[_0x35d96f(0x212)],_0x35fcc8[_0x35d96f(0x227)],_0x35fcc8[_0x35d96f(0x312)],_0x35fcc8[_0x35d96f(0x252)],_0x35fcc8[_0x35d96f(0xec)],_0x35d96f(0x223)+'hment'+'s','comme'+'nt',_0x35fcc8[_0x35d96f(0x1a9)],_0x35fcc8[_0x35d96f(0x33d)],_0x35fcc8[_0x35d96f(0x21d)],_0x35fcc8[_0x35d96f(0x197)],_0x35d96f(0x2c3)+_0x35d96f(0xf0)+_0x35d96f(0x1ca)+_0x35d96f(0x36d)+'s',_0x35fcc8['qIzVB']];for(const _0x10409c of _0x10d49a){if(_0x3eb65c[_0x10409c]!==undefined)_0x4a966b[_0x10409c]=_0x3eb65c[_0x10409c];}}if(_0x240b2a||_0x2b0b40){const _0x45928b=await _0x35fcc8['jtbHv'](resolveFolderId,_0x240b2a,_0x2b0b40,_0x27533e,_0x12c480,_0x4c77d6),_0x4e763b=await _0x225ba4[_0x35d96f(0x166)+_0x35d96f(0x16e)+_0x35d96f(0x1ec)+_0x35d96f(0x17e)+_0x35d96f(0x1df)+_0x35d96f(0x364)](_0x45928b,_0x75ea58,_0x28a949,_0x4a966b);return sponsorService[_0x35d96f(0x166)+_0x35d96f(0x1cf)+_0x35d96f(0x17c)]({'id':_0x4e763b['id'],'name':_0x4e763b[_0x35d96f(0x2de)],'message':'List\x20'+'\x22'+_0x28a949+(_0x35d96f(0x11c)+_0x35d96f(0x2b3)+_0x35d96f(0x161)+_0x35d96f(0x18b)+_0x35d96f(0x32f)+'n\x20fol'+_0x35d96f(0x2a1)+'ucces'+_0x35d96f(0x24e)+'y')},!![]);}else{const _0x545a9c=await resolveSpaceId(_0x27533e,_0x12c480,_0x4c77d6),_0x2fbb8a=await _0x225ba4[_0x35d96f(0x166)+_0x35d96f(0x16e)+_0x35d96f(0x2b0)+'empla'+'te'](_0x545a9c,_0x75ea58,_0x28a949,_0x4a966b);return sponsorService[_0x35d96f(0x166)+_0x35d96f(0x1cf)+_0x35d96f(0x17c)]({'id':_0x2fbb8a['id'],'name':_0x2fbb8a['name'],'message':_0x35d96f(0x2f6)+'\x22'+_0x28a949+(_0x35d96f(0x11c)+_0x35d96f(0x2b3)+'from\x20'+_0x35d96f(0x18b)+'ate\x20s'+'ucces'+_0x35d96f(0x24e)+'y')},!![]);}}catch(_0x4a471d){return logger[_0x35d96f(0x26f)](_0x35d96f(0x1e1)+_0x35d96f(0x21b)+_0x35d96f(0x379)+_0x35d96f(0x1fe)+_0x35d96f(0x16e)+_0x35d96f(0x2b0)+_0x35d96f(0x16f)+'te',_0x4a471d),sponsorService[_0x35d96f(0x166)+_0x35d96f(0x243)+_0x35d96f(0x2cf)+_0x35d96f(0x17c)](_0x4a471d[_0x35d96f(0x107)+'ge']||_0x35d96f(0x1a7)+_0x35d96f(0x280)+_0x35d96f(0x23e)+'r\x20occ'+'urred');}}
|
package/build/tools/registry.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x32ff46=a0_0x4819;(function(_0x5c3dc9,_0x258b7a){const _0x424d33=a0_0x4819,_0x5808e8=_0x5c3dc9();while(!![]){try{const _0x28e89a=parseInt(_0x424d33(0xd4))/0x1*(parseInt(_0x424d33(0xbc))/0x2)+-parseInt(_0x424d33(0xbf))/0x3+-parseInt(_0x424d33(0xca))/0x4+-parseInt(_0x424d33(0xc1))/0x5+-parseInt(_0x424d33(0xcc))/0x6+-parseInt(_0x424d33(0xc9))/0x7+-parseInt(_0x424d33(0xb7))/0x8*(-parseInt(_0x424d33(0xc6))/0x9);if(_0x28e89a===_0x258b7a)break;else _0x5808e8['push'](_0x5808e8['shift']());}catch(_0x1421ff){_0x5808e8['push'](_0x5808e8['shift']());}}}(a0_0x5bac,0x817aa));import{Logger}from'../logger.js';function a0_0x4819(_0x6bbaa5,_0x109c45){_0x6bbaa5=_0x6bbaa5-0xa6;const _0x5bac76=a0_0x5bac();let _0x4819f9=_0x5bac76[_0x6bbaa5];if(a0_0x4819['aBtHqx']===undefined){var _0x5777bf=function(_0x2be31f){const _0x32fb4f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x10575d='',_0x39feee='';for(let _0x5b4631=0x0,_0x23a71e,_0x55d1c5,_0x443e85=0x0;_0x55d1c5=_0x2be31f['charAt'](_0x443e85++);~_0x55d1c5&&(_0x23a71e=_0x5b4631%0x4?_0x23a71e*0x40+_0x55d1c5:_0x55d1c5,_0x5b4631++%0x4)?_0x10575d+=String['fromCharCode'](0xff&_0x23a71e>>(-0x2*_0x5b4631&0x6)):0x0){_0x55d1c5=_0x32fb4f['indexOf'](_0x55d1c5);}for(let _0x55dcb9=0x0,_0x340daf=_0x10575d['length'];_0x55dcb9<_0x340daf;_0x55dcb9++){_0x39feee+='%'+('00'+_0x10575d['charCodeAt'](_0x55dcb9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x39feee);};a0_0x4819['FbbcfH']=_0x5777bf,a0_0x4819['ietDXW']={},a0_0x4819['aBtHqx']=!![];}const _0x38db90=_0x5bac76[0x0];a0_0x4819['XDHQzv']!==_0x38db90&&(a0_0x4819['ietDXW']={},a0_0x4819['XDHQzv']=_0x38db90);const _0x5201f9=a0_0x4819['ietDXW'][_0x6bbaa5];return _0x5201f9===undefined?(_0x4819f9=a0_0x4819['FbbcfH'](_0x4819f9),a0_0x4819['ietDXW'][_0x6bbaa5]=_0x4819f9):_0x4819f9=_0x5201f9,_0x4819f9;}function a0_0x5bac(){const _0x17e7a9=['DgvY','vg9VBfi','uMvNAxm','Dg9VBhm','ndy0A05TBvzw','DgvYzwq','uvrpz1a','twv0Ag8','zwDPC3q','mJi5nZu0EKzQBNLI','CMvNAxm','Aw9Uigy','odm4nZKXy0Hbuenl','zcbUB3q','mtu5mteYnuH5qKDXBq','AgfZ','zxjYB3i','DxrPBMC','A2v5CW','mJy4nJqXu0Xiwwfb','u21MrxO','DgvuB28','nJmWmtKZmLLSqvbuzG','mta0otyWohjereLlCW','rxjYB3i','mtq2nZiXmgr0DM94za','AgfUzgW','zgvIDwC','z1zZu1O','C2v0','zNjVBq','zxHLy3u','Bg9Nz2u','n1vUtwTgsW','y29Kzq','ihjLz2K','y05jAey','BMrSzxi','zdOG','ihrVB2W','BNvTyMu','C3rYyxq','tMvlBMG','CML0Aw4','igv4zwm','z2v0vg8','C3rPBMC','BwvZC2e'];a0_0x5bac=function(){return _0x17e7a9;};return a0_0x5bac();}export class ToolRegistry{constructor(){const _0x417c47=a0_0x4819;this[_0x417c47(0xb6)]=new Map(),this[_0x417c47(0xd3)+'r']=new Logger(_0x417c47(0xb4)+_0x417c47(0xbb)+'ry');}[a0_0x32ff46(0xbd)+a0_0x32ff46(0xb3)](_0x12995e,_0x1a5640){const _0x5a52da=a0_0x32ff46;this[_0x5a52da(0xb6)][_0x5a52da(0xc2)](_0x12995e)&&this['logge'+'r']['warn']('Overw'+_0x5a52da(0xae)+'g\x20exi'+_0x5a52da(0xb1)+_0x5a52da(0xaa)+_0x5a52da(0xa6)+_0x5a52da(0xac)+_0x5a52da(0xbe)+'or:\x20'+_0x12995e),this[_0x5a52da(0xb6)][_0x5a52da(0xd0)](_0x12995e,{'name':_0x12995e,'handler':_0x1a5640}),this[_0x5a52da(0xd3)+'r'][_0x5a52da(0xce)](_0x5a52da(0xb5)+_0x5a52da(0xb8)+'\x20tool'+':\x20'+_0x12995e);}['getHa'+a0_0x32ff46(0xa8)](_0x4bb7b4){const _0xdf933f=a0_0x32ff46;return this['tools']['get'](_0x4bb7b4)?.[_0xdf933f(0xcd)+'er'];}async[a0_0x32ff46(0xd2)+a0_0x32ff46(0xc8)+'l'](_0x15f0c7,_0x36ace7,_0x4a3416){const _0x132dc9=a0_0x32ff46,_0x4bb579={'NeKnh':function(_0x330cba,_0x3a3866){return _0x330cba instanceof _0x3a3866;},'cNIhF':function(_0x3e3d9b,_0x541be2){return _0x3e3d9b(_0x541be2);},'SmfEz':function(_0x13b592,_0x3c4604){return _0x13b592 instanceof _0x3c4604;},'QTOgP':function(_0x20eb72,_0x55bdb7){return _0x20eb72===_0x55bdb7;},'gVsSZ':_0x132dc9(0xab)+'r'},_0x4ffa79=this[_0x132dc9(0xb6)]['get'](_0x15f0c7);if(!_0x4ffa79)throw{'code':-0x7f59,'message':_0x132dc9(0xba)+_0x132dc9(0xc0)+'\x20foun'+_0x132dc9(0xa9)+_0x15f0c7};try{return await _0x4ffa79[_0x132dc9(0xcd)+'er'](_0x36ace7,_0x4a3416);}catch(_0x2ffb2d){this[_0x132dc9(0xd3)+'r'][_0x132dc9(0xc3)](_0x132dc9(0xcb)+_0x132dc9(0xaf)+_0x132dc9(0xc4)+_0x132dc9(0xaa)+':\x20'+_0x15f0c7,{'error':_0x4bb579[_0x132dc9(0xad)](_0x2ffb2d,Error)?_0x2ffb2d[_0x132dc9(0xb2)+'ge']:_0x4bb579[_0x132dc9(0xa7)](String,_0x2ffb2d),'stack':_0x4bb579[_0x132dc9(0xc7)](_0x2ffb2d,Error)?_0x2ffb2d['stack']:undefined});if(_0x2ffb2d[_0x132dc9(0xd5)]&&_0x4bb579[_0x132dc9(0xb9)](typeof _0x2ffb2d['code'],_0x4bb579[_0x132dc9(0xcf)]))throw _0x2ffb2d;throw{'code':-0x7d00,'message':'Error'+_0x132dc9(0xaf)+_0x132dc9(0xc4)+_0x132dc9(0xaa)+'\x20'+_0x15f0c7+':\x20'+(_0x2ffb2d['messa'+'ge']||String(_0x2ffb2d))};}}['hasTo'+'ol'](_0x3a4a6a){const _0xc296de=a0_0x32ff46;return this[_0xc296de(0xb6)][_0xc296de(0xc2)](_0x3a4a6a);}[a0_0x32ff46(0xb0)+'olNam'+'es'](){const _0x1113eb=a0_0x32ff46;return Array[_0x1113eb(0xd1)](this[_0x1113eb(0xb6)][_0x1113eb(0xc5)]());}}
|
package/build/tools/space.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x4b00cd=a0_0x19bc;(function(_0x4dcab0,_0x47c524){const _0x52608e=a0_0x19bc,_0x14189e=_0x4dcab0();while(!![]){try{const _0x3534be=-parseInt(_0x52608e(0x196))/0x1*(parseInt(_0x52608e(0x146))/0x2)+parseInt(_0x52608e(0x186))/0x3+-parseInt(_0x52608e(0x153))/0x4+parseInt(_0x52608e(0x19a))/0x5+parseInt(_0x52608e(0x243))/0x6*(parseInt(_0x52608e(0x15e))/0x7)+parseInt(_0x52608e(0x175))/0x8*(parseInt(_0x52608e(0x14f))/0x9)+parseInt(_0x52608e(0x1f4))/0xa*(-parseInt(_0x52608e(0x1de))/0xb);if(_0x3534be===_0x47c524)break;else _0x14189e['push'](_0x14189e['shift']());}catch(_0x3e7cc5){_0x14189e['push'](_0x14189e['shift']());}}}(a0_0x4c25,0x1b9d4));import{Logger}from'../logger.js';import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x11d));function a0_0x19bc(_0x52a115,_0xfb5e7a){_0x52a115=_0x52a115-0x102;const _0x4c25d7=a0_0x4c25();let _0x19bce8=_0x4c25d7[_0x52a115];if(a0_0x19bc['HyDLjY']===undefined){var _0x1ade38=function(_0x970189){const _0x154842='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x581f59='',_0x4bac3f='';for(let _0x5450db=0x0,_0x556302,_0x5cc5c2,_0x427994=0x0;_0x5cc5c2=_0x970189['charAt'](_0x427994++);~_0x5cc5c2&&(_0x556302=_0x5450db%0x4?_0x556302*0x40+_0x5cc5c2:_0x5cc5c2,_0x5450db++%0x4)?_0x581f59+=String['fromCharCode'](0xff&_0x556302>>(-0x2*_0x5450db&0x6)):0x0){_0x5cc5c2=_0x154842['indexOf'](_0x5cc5c2);}for(let _0x237beb=0x0,_0x36b490=_0x581f59['length'];_0x237beb<_0x36b490;_0x237beb++){_0x4bac3f+='%'+('00'+_0x581f59['charCodeAt'](_0x237beb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4bac3f);};a0_0x19bc['KLKwUd']=_0x1ade38,a0_0x19bc['qsZyxJ']={},a0_0x19bc['HyDLjY']=!![];}const _0x50122c=_0x4c25d7[0x0],_0x3ec557=_0x52a115+_0x50122c,_0x578a24=a0_0x19bc['qsZyxJ'][_0x3ec557];return!_0x578a24?(_0x19bce8=a0_0x19bc['KLKwUd'](_0x19bce8),a0_0x19bc['qsZyxJ'][_0x3ec557]=_0x19bce8):_0x19bce8=_0x578a24,_0x19bce8;}export const listSpacesTool={'name':a0_0x4b00cd(0x177)+a0_0x4b00cd(0x112)+'s','description':a0_0x4b00cd(0x1cb)+'all\x20s'+a0_0x4b00cd(0x123)+a0_0x4b00cd(0x107)+a0_0x4b00cd(0x1b0)+'rkspa'+a0_0x4b00cd(0x17b)+a0_0x4b00cd(0x15d)+a0_0x4b00cd(0x1dd)+a0_0x4b00cd(0x208)+'e\x20to\x20'+a0_0x4b00cd(0x231)+a0_0x4b00cd(0x1df)+a0_0x4b00cd(0x1dd)+a0_0x4b00cd(0x1be)+a0_0x4b00cd(0x1b1),'annotations':{'title':a0_0x4b00cd(0x1cb)+a0_0x4b00cd(0x1fd)+'s','readOnlyHint':!![]},'inputSchema':{'type':a0_0x4b00cd(0x16a)+'t','properties':{'archived':{'type':'boole'+'an','description':a0_0x4b00cd(0x173)+a0_0x4b00cd(0x223)+'e\x20to\x20'+a0_0x4b00cd(0x18b)+'archi'+a0_0x4b00cd(0x130)+a0_0x4b00cd(0x123)+a0_0x4b00cd(0x1bc)+a0_0x4b00cd(0x1a4)+'aults'+a0_0x4b00cd(0x195)+a0_0x4b00cd(0x18a)}}}};export const getSpaceTool={'name':'get_s'+'pace','description':a0_0x4b00cd(0x207)+'etail'+a0_0x4b00cd(0x1ff)+a0_0x4b00cd(0x219)+'tion\x20'+a0_0x4b00cd(0x16f)+a0_0x4b00cd(0x1f2)+a0_0x4b00cd(0x192)+a0_0x4b00cd(0x22a)+a0_0x4b00cd(0x136)+a0_0x4b00cd(0x1e8)+a0_0x4b00cd(0x14a)+a0_0x4b00cd(0x147)+'\x20or\x20s'+a0_0x4b00cd(0x1f0)+a0_0x4b00cd(0x19e),'annotations':{'title':a0_0x4b00cd(0x20c)+a0_0x4b00cd(0x157),'readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x4b00cd(0x1b5)+'g','description':'Space'+'\x20ID\x20('+'prefe'+a0_0x4b00cd(0x1b9)+'.'},'spaceName':{'type':'strin'+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x22d)+a0_0x4b00cd(0x1d4)+a0_0x4b00cd(0x1e9)+a0_0x4b00cd(0x201)}}}};export const createSpaceTool={'name':'creat'+a0_0x4b00cd(0x1b3)+'ce','description':a0_0x4b00cd(0x1f1)+a0_0x4b00cd(0x180)+'ew\x20sp'+a0_0x4b00cd(0x1c5)+a0_0x4b00cd(0x124)+a0_0x4b00cd(0x230)+'space'+a0_0x4b00cd(0x20e)+a0_0x4b00cd(0x17e)+a0_0x4b00cd(0x22d)+'.','annotations':{'title':'Creat'+'e\x20Spa'+'ce','openWorldHint':!![]},'inputSchema':{'type':a0_0x4b00cd(0x16a)+'t','properties':{'name':{'type':'strin'+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x22d)+'.\x20Req'+a0_0x4b00cd(0x117)+'.'},'color':{'type':a0_0x4b00cd(0x1b5)+'g','description':'Color'+'\x20hex\x20'+a0_0x4b00cd(0x114)+a0_0x4b00cd(0x16e)+a0_0x4b00cd(0x215)+a0_0x4b00cd(0x165)+').'},'private':{'type':a0_0x4b00cd(0x16d)+'an','description':a0_0x4b00cd(0x226)+a0_0x4b00cd(0x125)+a0_0x4b00cd(0x10c)+a0_0x4b00cd(0x1e5)+a0_0x4b00cd(0x121)+a0_0x4b00cd(0x20a)},'admin_can_manage':{'type':a0_0x4b00cd(0x16d)+'an','description':a0_0x4b00cd(0x226)+a0_0x4b00cd(0x23f)+'mins\x20'+a0_0x4b00cd(0x183)+a0_0x4b00cd(0x1e4)+a0_0x4b00cd(0x189)+'out\x20b'+a0_0x4b00cd(0x152)+a0_0x4b00cd(0x1b8)+a0_0x4b00cd(0x228)+a0_0x4b00cd(0x1b7)+a0_0x4b00cd(0x188)+'\x20Plan'+a0_0x4b00cd(0x1bc)+').'},'multiple_assignees':{'type':'boole'+'an','description':a0_0x4b00cd(0x23c)+a0_0x4b00cd(0x128)+a0_0x4b00cd(0x1bf)+'\x20assi'+a0_0x4b00cd(0x23a)+'\x20on\x20t'+'asks.'},'features':{'type':a0_0x4b00cd(0x16a)+'t','properties':{},'description':'Featu'+a0_0x4b00cd(0x11e)+'ggles'+'.\x20Key'+a0_0x4b00cd(0x21c)+a0_0x4b00cd(0x1af)+a0_0x4b00cd(0x23e)+a0_0x4b00cd(0x11b)+'ed,\x20s'+a0_0x4b00cd(0x184)+a0_0x4b00cd(0x1b2)+a0_0x4b00cd(0x1d0)+a0_0x4b00cd(0x19f)+a0_0x4b00cd(0x162)+'s,\x20re'+'map_c'+'losed'+a0_0x4b00cd(0x145)+'date}'+a0_0x4b00cd(0x1d2)+a0_0x4b00cd(0x19d)+a0_0x4b00cd(0x151)+a0_0x4b00cd(0x14b)+a0_0x4b00cd(0x1ae)+a0_0x4b00cd(0x1c3)+a0_0x4b00cd(0x1aa)+a0_0x4b00cd(0x1ce)+a0_0x4b00cd(0x149)+a0_0x4b00cd(0x1eb)+a0_0x4b00cd(0x233)+'tom_f'+a0_0x4b00cd(0x18c)+a0_0x4b00cd(0x13d)+a0_0x4b00cd(0x126)+a0_0x4b00cd(0x1fb)+'ncies'+a0_0x4b00cd(0x1fe)+'enden'+a0_0x4b00cd(0x131)+a0_0x4b00cd(0x205)+a0_0x4b00cd(0x17f)+'tfoli'+a0_0x4b00cd(0x22b)+a0_0x4b00cd(0x1a9)+a0_0x4b00cd(0x179)+'ints,'+'\x20mile'+a0_0x4b00cd(0x172)+a0_0x4b00cd(0x133)+'ails,'+a0_0x4b00cd(0x21d)+a0_0x4b00cd(0x227)+a0_0x4b00cd(0x170)+a0_0x4b00cd(0x234)+'nable'+'d:\x20bo'+a0_0x4b00cd(0x1e6)+'}.'}},'required':[a0_0x4b00cd(0x118)]}};export const updateSpaceTool={'name':a0_0x4b00cd(0x200)+'e_spa'+'ce','description':a0_0x4b00cd(0x18f)+a0_0x4b00cd(0x113)+a0_0x4b00cd(0x1c6)+a0_0x4b00cd(0x1ad)+a0_0x4b00cd(0x182)+a0_0x4b00cd(0x18e)+a0_0x4b00cd(0x167)+a0_0x4b00cd(0x178)+a0_0x4b00cd(0x1d3)+a0_0x4b00cd(0x210)+a0_0x4b00cd(0x111)+a0_0x4b00cd(0x1f6)+a0_0x4b00cd(0x104)+a0_0x4b00cd(0x112)+a0_0x4b00cd(0x11c)+a0_0x4b00cd(0x13c)+a0_0x4b00cd(0x1ee)+'.','annotations':{'title':'Updat'+a0_0x4b00cd(0x1cd)+'ce','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x1ba)+a0_0x4b00cd(0x164)+a0_0x4b00cd(0x1b9)+'.'},'spaceName':{'type':'strin'+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x22d)+'\x20(alt'+a0_0x4b00cd(0x1e9)+a0_0x4b00cd(0x201)},'name':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x1d9)+a0_0x4b00cd(0x1d7)+'name.'},'color':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x120)+a0_0x4b00cd(0x103)+a0_0x4b00cd(0x193)},'private':{'type':a0_0x4b00cd(0x16d)+'an','description':'Wheth'+a0_0x4b00cd(0x125)+a0_0x4b00cd(0x10c)+a0_0x4b00cd(0x1e5)+a0_0x4b00cd(0x121)+a0_0x4b00cd(0x20a)},'admin_can_manage':{'type':'boole'+'an','description':a0_0x4b00cd(0x226)+a0_0x4b00cd(0x23f)+a0_0x4b00cd(0x1c4)+'can\x20m'+a0_0x4b00cd(0x1e4)+a0_0x4b00cd(0x198)+a0_0x4b00cd(0x1e2)+a0_0x4b00cd(0x181)+a0_0x4b00cd(0x12c)+a0_0x4b00cd(0x191)},'multiple_assignees':{'type':a0_0x4b00cd(0x16d)+'an','description':a0_0x4b00cd(0x23c)+a0_0x4b00cd(0x128)+a0_0x4b00cd(0x1bf)+a0_0x4b00cd(0x1b4)+'gnees'+'.'},'features':{'type':a0_0x4b00cd(0x16a)+'t','properties':{},'description':a0_0x4b00cd(0x21f)+a0_0x4b00cd(0x11e)+a0_0x4b00cd(0x1a2)+a0_0x4b00cd(0x1bb)+a0_0x4b00cd(0x21c)+'e_dat'+'es\x20({'+a0_0x4b00cd(0x11b)+'ed,\x20s'+'tart_'+a0_0x4b00cd(0x1b2)+'\x20rema'+a0_0x4b00cd(0x19f)+a0_0x4b00cd(0x162)+'s,\x20re'+'map_c'+'losed'+a0_0x4b00cd(0x145)+'date}'+'),\x20ti'+a0_0x4b00cd(0x19d)+a0_0x4b00cd(0x151)+'g,\x20ta'+a0_0x4b00cd(0x1ae)+a0_0x4b00cd(0x1c3)+a0_0x4b00cd(0x1aa)+a0_0x4b00cd(0x1ce)+a0_0x4b00cd(0x149)+'lists'+a0_0x4b00cd(0x233)+a0_0x4b00cd(0x20d)+a0_0x4b00cd(0x18c)+',\x20rem'+'ap_de'+'pende'+'ncies'+a0_0x4b00cd(0x1fe)+'enden'+a0_0x4b00cd(0x131)+a0_0x4b00cd(0x205)+a0_0x4b00cd(0x17f)+'tfoli'+a0_0x4b00cd(0x22b)+a0_0x4b00cd(0x1a9)+a0_0x4b00cd(0x179)+a0_0x4b00cd(0x221)+'\x20mile'+'stone'+a0_0x4b00cd(0x133)+a0_0x4b00cd(0x22e)+a0_0x4b00cd(0x21d)+a0_0x4b00cd(0x227)+a0_0x4b00cd(0x170)+a0_0x4b00cd(0x234)+a0_0x4b00cd(0x143)+a0_0x4b00cd(0x1db)+'olean'+'}.'}}}};export const deleteSpaceTool={'name':a0_0x4b00cd(0x14d)+a0_0x4b00cd(0x1b3)+'ce','description':a0_0x4b00cd(0x119)+a0_0x4b00cd(0x22f)+'y\x20rem'+a0_0x4b00cd(0x197)+a0_0x4b00cd(0x13c)+'e.','annotations':{'title':a0_0x4b00cd(0x1d8)+a0_0x4b00cd(0x1cd)+'ce','openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x1fd)+'\x20ID\x20('+a0_0x4b00cd(0x164)+'rred)'+'.'},'spaceName':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x22d)+a0_0x4b00cd(0x1d4)+'ernat'+a0_0x4b00cd(0x201)}}}};export const setSpacePermissionsTool={'name':'set_s'+'pace_'+'permi'+a0_0x4b00cd(0x1c2)+'s','description':a0_0x4b00cd(0x1c0)+'rivac'+'y\x20and'+a0_0x4b00cd(0x1c9)+a0_0x4b00cd(0x199)+'ns\x20on'+a0_0x4b00cd(0x1f2)+a0_0x4b00cd(0x1c7)+'Requi'+a0_0x4b00cd(0x212)+a0_0x4b00cd(0x1dc)+'d\x20or\x20'+a0_0x4b00cd(0x112)+'Name,'+'\x20priv'+'ate\x20f'+'lag,\x20'+'and\x20e'+'ntrie'+'s\x20arr'+'ay.','annotations':{'title':'Set\x20S'+'pace\x20'+a0_0x4b00cd(0x1fc)+a0_0x4b00cd(0x1c2)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x4b00cd(0x16a)+'t','properties':{'spaceId':{'type':a0_0x4b00cd(0x1b5)+'g','description':'Space'+a0_0x4b00cd(0x1ba)+a0_0x4b00cd(0x164)+'rred)'+'.'},'spaceName':{'type':a0_0x4b00cd(0x1b5)+'g','description':a0_0x4b00cd(0x1fd)+a0_0x4b00cd(0x22d)+a0_0x4b00cd(0x1d4)+a0_0x4b00cd(0x1e9)+a0_0x4b00cd(0x201)},'private':{'type':a0_0x4b00cd(0x16d)+'an','description':'Set\x20t'+'o\x20pri'+'vate\x20'+'(true'+a0_0x4b00cd(0x240)+a0_0x4b00cd(0x13a)+a0_0x4b00cd(0x10a)+a0_0x4b00cd(0x14c)+'\x20Requ'+'ired.'},'entries':{'type':'array','description':a0_0x4b00cd(0x23d)+a0_0x4b00cd(0x19c)+a0_0x4b00cd(0x155)+a0_0x4b00cd(0x12e)+a0_0x4b00cd(0x239)+a0_0x4b00cd(0x1a0)+a0_0x4b00cd(0x1d5)+a0_0x4b00cd(0x1e1)+a0_0x4b00cd(0x176)+a0_0x4b00cd(0x1c2)+a0_0x4b00cd(0x1ec)+'l\x20}.','items':{'type':a0_0x4b00cd(0x16a)+'t','properties':{'id':{'type':a0_0x4b00cd(0x10b)+'r'},'type':{'type':'strin'+'g'},'permission_level':{'type':a0_0x4b00cd(0x1b5)+'g'}},'required':['id',a0_0x4b00cd(0x13f)]}}},'required':[a0_0x4b00cd(0x239)+'es']}};export async function handleManageSpaces(_0x138721,_0x1e09e0){const _0x583d0f=a0_0x4b00cd,_0xbdb9e3={'jSqnE':_0x583d0f(0x14d)+'e','xzMwW':_0x583d0f(0x14d)+_0x583d0f(0x1b3)+'ce','sGxSs':function(_0x300c95,_0x37add7){return _0x300c95===_0x37add7;},'lqDRN':'space','TvkGb':_0x583d0f(0x1ca),'oCycz':function(_0x3bcaa2,_0x5d3fcb){return _0x3bcaa2(_0x5d3fcb);},'PVwDN':_0x583d0f(0x13b)+'e','XqEtU':function(_0x210c44,_0x54d983,_0x4106c1,_0x356aeb){return _0x210c44(_0x54d983,_0x4106c1,_0x356aeb);},'VqWCL':function(_0x2407a0,_0xbf953d){return _0x2407a0(_0xbf953d);}},{workspace:_0x3b1fdf}=_0x1e09e0,{action:_0x199fe0,spaceId:_0x93c834,spaceName:_0x511649,name:_0x3bbf3e,color:_0x22ce61,private:_0x32c660,admin_can_manage:_0x46e248,multiple_assignees:_0x355cee,features:_0x2cfa59,entries:_0x516ea9,archived:_0x1149d2}=_0x138721;try{const _0x58415a=_0x1e09e0['toolF'+_0x583d0f(0x20b)]?.['disab'+_0x583d0f(0x15b)]||[];if(_0x199fe0===_0xbdb9e3[_0x583d0f(0x163)]&&_0x58415a[_0x583d0f(0x231)+_0x583d0f(0x160)](_0xbdb9e3[_0x583d0f(0x23b)]))return sponsorService['creat'+_0x583d0f(0x194)+_0x583d0f(0x190)+_0x583d0f(0x1f9)](_0x583d0f(0x148)+_0x583d0f(0x1f3)+_0x583d0f(0x141)+_0x583d0f(0x1bd)+_0x583d0f(0x108)+_0x583d0f(0x202)+_0x583d0f(0x224)+'(\x27'+_0x199fe0+(_0x583d0f(0x222)+_0x583d0f(0x21b)+_0x583d0f(0x1a3)+'\x20for\x20'+_0x583d0f(0x242)+'curre'+'nt\x20pe'+'rsona'+'\x20or\x20A'+_0x583d0f(0x106)+_0x583d0f(0x135)+_0x583d0f(0x169)+'n.'));switch(_0x199fe0){case _0x583d0f(0x211)+_0x583d0f(0x155)+_0x583d0f(0x11a):{const _0x4528fa=await resolveSpaceId(_0x93c834,_0x511649,_0x3b1fdf);if(_0xbdb9e3[_0x583d0f(0x214)](_0x32c660,undefined))return sponsorService['creat'+_0x583d0f(0x194)+_0x583d0f(0x190)+_0x583d0f(0x1f9)](_0x583d0f(0x166)+'priva'+'te\x27\x20b'+_0x583d0f(0x110)+_0x583d0f(0x1a5)+'amete'+'r\x20is\x20'+_0x583d0f(0x203)+_0x583d0f(0x1ef)+_0x583d0f(0x138)+_0x583d0f(0x16b)+'missi'+'ons.');return await _0x3b1fdf[_0x583d0f(0x168)+'rmiss'+_0x583d0f(0x1cc)](_0xbdb9e3[_0x583d0f(0x187)],_0x4528fa,{'private':_0x32c660,'entries':_0x516ea9||[]}),sponsorService['creat'+_0x583d0f(0x216)+_0x583d0f(0x1f9)]({'success':!![],'message':_0x583d0f(0x1fc)+_0x583d0f(0x1c2)+'s\x20upd'+'ated\x20'+'succe'+_0x583d0f(0x137)+_0x583d0f(0x20f)+'r\x20spa'+_0x583d0f(0x102)+(_0x511649||_0x4528fa)+'\x22.'},!![]);}case _0x583d0f(0x1e7):{const _0xa1d9e4=await _0x3b1fdf[_0x583d0f(0x225)+_0x583d0f(0x159)](_0x1149d2),_0x4fdcf5=_0xa1d9e4[_0x583d0f(0x10f)](_0x80cb2b=>({'id':_0x80cb2b['id'],'name':_0x80cb2b['name'],'private':_0x80cb2b[_0x583d0f(0x220)+'te'],'archived':_0x80cb2b['archi'+_0x583d0f(0x1ea)],'statuses':_0x80cb2b['statu'+_0x583d0f(0x213)]?.[_0x583d0f(0x10f)](_0x231aa5=>_0x231aa5['statu'+'s'])||[]}));return sponsorService[_0x583d0f(0x13b)+'eResp'+_0x583d0f(0x1f9)]({'spaces':_0x4fdcf5,'count':_0x4fdcf5[_0x583d0f(0x1da)+'h']},!![]);}case _0xbdb9e3['TvkGb']:{const _0x47b93b=await resolveSpaceId(_0x93c834,_0x511649,_0x3b1fdf),_0x18451d=await _0x3b1fdf[_0x583d0f(0x225)+_0x583d0f(0x105)](_0x47b93b);return sponsorService['creat'+_0x583d0f(0x216)+'onse'](_0xbdb9e3['oCycz'](formatSpaceDetail,_0x18451d),!![]);}case _0xbdb9e3[_0x583d0f(0x134)]:{if(!_0x3bbf3e)return sponsorService[_0x583d0f(0x13b)+_0x583d0f(0x194)+'rResp'+_0x583d0f(0x1f9)](_0x583d0f(0x1c8)+_0x583d0f(0x1e3)+_0x583d0f(0x203)+_0x583d0f(0x12f)+_0x583d0f(0x142)+'ate\x20a'+_0x583d0f(0x13c)+'e.');const _0x13f258=buildUpdateFields({'color':_0x22ce61,'private':_0x32c660,'admin_can_manage':_0x46e248,'multiple_assignees':_0x355cee,'features':_0x2cfa59}),_0xb18b40=await _0x3b1fdf['creat'+_0x583d0f(0x206)+'e'](_0x3bbf3e,_0x13f258);return sponsorService[_0x583d0f(0x13b)+_0x583d0f(0x216)+_0x583d0f(0x1f9)]({..._0xbdb9e3[_0x583d0f(0x1b6)](formatSpaceDetail,_0xb18b40),'message':_0x583d0f(0x1fd)+'\x20\x22'+_0x3bbf3e+('\x22\x20cre'+_0x583d0f(0x21a)+'succe'+_0x583d0f(0x137)+_0x583d0f(0x1ed))},!![]);}case'updat'+'e':{const _0x483752=await resolveSpaceId(_0x93c834,_0x511649,_0x3b1fdf),_0x1011c5=_0xbdb9e3[_0x583d0f(0x1b6)](buildUpdateFields,{'name':_0x3bbf3e,'color':_0x22ce61,'private':_0x32c660,'admin_can_manage':_0x46e248,'multiple_assignees':_0x355cee,'features':_0x2cfa59});if(Object[_0x583d0f(0x12a)](_0x1011c5)[_0x583d0f(0x1da)+'h']===0x0)return sponsorService[_0x583d0f(0x13b)+_0x583d0f(0x194)+_0x583d0f(0x190)+_0x583d0f(0x1f9)](_0x583d0f(0x12d)+_0x583d0f(0x229)+_0x583d0f(0x109)+'ded\x20t'+_0x583d0f(0x15c)+_0x583d0f(0x17d)+_0x583d0f(0x174)+_0x583d0f(0x1a6)+'\x20leas'+_0x583d0f(0x10e)+'\x20of:\x20'+_0x583d0f(0x116)+'\x20colo'+'r,\x20pr'+'ivate'+_0x583d0f(0x1fa)+_0x583d0f(0x161)+_0x583d0f(0x1a7)+_0x583d0f(0x14e)+_0x583d0f(0x238)+'ple_a'+_0x583d0f(0x1c1)+_0x583d0f(0x1a1)+_0x583d0f(0x1f7)+_0x583d0f(0x1e0));const _0x6d6e81=await _0x3b1fdf[_0x583d0f(0x200)+_0x583d0f(0x206)+'e'](_0x483752,_0x1011c5);return sponsorService['creat'+_0x583d0f(0x216)+_0x583d0f(0x1f9)]({...formatSpaceDetail(_0x6d6e81),'message':_0x583d0f(0x1fd)+'\x20\x22'+_0x6d6e81[_0x583d0f(0x118)]+('\x22\x20upd'+_0x583d0f(0x21a)+'succe'+'ssful'+'ly.')},!![]);}case'delet'+'e':{const _0x396eda=await _0xbdb9e3[_0x583d0f(0x17c)](resolveSpaceId,_0x93c834,_0x511649,_0x3b1fdf);return await _0x3b1fdf[_0x583d0f(0x14d)+_0x583d0f(0x206)+'e'](_0x396eda),sponsorService['creat'+_0x583d0f(0x216)+_0x583d0f(0x1f9)]({'message':_0x583d0f(0x1fd)+'\x20\x22'+_0x396eda+(_0x583d0f(0x11f)+'eted\x20'+'succe'+_0x583d0f(0x137)+'ly.')},!![]);}default:return sponsorService['creat'+'eErro'+'rResp'+_0x583d0f(0x1f9)]('Unkno'+_0x583d0f(0x140)+'tion\x20'+'\x22'+_0x199fe0+(_0x583d0f(0x241)+_0x583d0f(0x144)+_0x583d0f(0x1f5)+_0x583d0f(0x185)+_0x583d0f(0x17a)+_0x583d0f(0x236)+_0x583d0f(0x129)+_0x583d0f(0x1d1)+_0x583d0f(0x132)));}}catch(_0x265cfc){return logger[_0x583d0f(0x12b)](_0x583d0f(0x171)+'\x20in\x20h'+_0x583d0f(0x1ab)+'Manag'+_0x583d0f(0x206)+_0x583d0f(0x127)+_0x583d0f(0x115)+':\x20'+_0x199fe0+')',_0x265cfc),sponsorService[_0x583d0f(0x13b)+'eErro'+_0x583d0f(0x190)+'onse'](_0x265cfc[_0x583d0f(0x19b)+'ge']||_0xbdb9e3[_0x583d0f(0x1a8)](String,_0x265cfc));}}async function resolveSpaceId(_0x2d97aa,_0x1cf13f,_0x37d64d){const _0x3319cb=a0_0x4b00cd,_0x598fcb={'SiksT':_0x3319cb(0x156)+_0x3319cb(0x1f8)+_0x3319cb(0x147)+':\x20mus'+_0x3319cb(0x10d)+_0x3319cb(0x235)+_0x3319cb(0x122)+'ID.','TCIHd':function(_0x1a7573,_0xf4ca6e,_0x37600b,_0x322559,_0x1111df){return _0x1a7573(_0xf4ca6e,_0x37600b,_0x322559,_0x1111df);},'djgiN':_0x3319cb(0x16c)+_0x3319cb(0x237)+_0x3319cb(0x158)+_0x3319cb(0x217)+_0x3319cb(0x218)+_0x3319cb(0x15a)+_0x3319cb(0x209)+_0x3319cb(0x15f)};if(_0x2d97aa){if(!/^\d+$/['test'](_0x2d97aa))throw new Error(_0x598fcb[_0x3319cb(0x1d6)]);return _0x2d97aa;}if(_0x1cf13f&&_0x37d64d){const _0x436d6a=await _0x598fcb[_0x3319cb(0x232)](resolveLocation,'space',undefined,_0x1cf13f,_0x37d64d);return _0x436d6a['id'];}throw new Error(_0x598fcb[_0x3319cb(0x13e)]);}function a0_0x4c25(){const _0x12f2e4=['zcbZCge','DgLWBgu','u2v0iha','C3nPz24','C3nPB24','Aw1Lx2u','BwLUCYa','ywnLigK','zxHPC3q','ywnLlIa','j25HBwu','ihbLCM0','z2v0','tgLZDca','Aw9UCW','zsbtCge','DgvZlca','CgXLx2e','ihjLBwe','B3iGzgu','ksWGDgK','zsWGB3i','icHHBhq','AwqSihq','u2LRC1q','CgfJzsa','rgvSzxq','tMv3ihm','BgvUz3q','zdOGyM8','CgfJzuK','y2HPDMu','oteZv3HyzNDp','zguGyxi','CMvZlG','ExbLlca','zxjWCMK','jYbPCYa','yw5Hz2u','y2uGAxm','B2XLyw4','BgLZDa','zxf1Axi','zxjUyxq','DMvK','BgLZDhm','x2XLDMu','BhKU','zu5HBwu','CMvKigy','CgfJzu4','q3jLyxq','igeGC3a','CYbezw4','mZK1mJblC09SDwK','C3qSigC','ifjLCxu','zMvHDhu','AwqGC3a','B25Zzq','lcbHzg0','CgvUzgu','ugvYBwK','u3bHy2u','lcbKzxa','zwqGAw4','DxbKyxq','AxzLks4','zsbHy3q','CMvXDwK','ywrTAw4','CM5PBMC','zvnWywm','r2v0igq','zd10CNu','ihjLCxu','yxrLlG','AwX0zxi','r2v0ifm','Dg9Tx2y','lIbszxe','BhKGzM8','igzLyxq','C2v0x3a','CMvZihm','C2vZ','C0D4u3m','icCJn0i','zvjLC3a','B3iGC3a','ywnLtMe','zM9YBwe','yxrLzca','zsbKAxm','CZOGzhu','ihPVB20','CMvZ','rMvHDhu','ChjPDMe','Aw50CYW','jYKGyxi','BYb0CNu','Aw9UCYa','z2v0u3a','v2HLDgG','lIbfywm','yMvYicG','zwXKCYa','yYbZCge','B3mSihm','C3rHDhu','ig5HBwu','ywLSCYW','BMvUDgW','ihDVCMS','Aw5JBhu','venjsgq','lcbJDxm','zxmGE2u','ysbUDw0','lcb1Cgq','CIbZCge','BxvSDgK','zw50CMK','z25Lzxm','EhPnD1C','rw5HyMW','qxjYyxK','zxmGkhS','zxiGywq','ksbVCIa','iI4Gvxm','Ew91CIa','mtm4mZu0A0XyvMTV','y2uGiG','igHLEca','AxjLCYa','ywnL','ueKGy28','igLUihq','Dwn0Axy','ChjVDMK','yYaOzMe','BNvTyMu','zsbZCge','DcbIzsa','DcbVBMu','BwfW','B29Szwe','DxjLCY4','C3bHy2u','zsbHBIa','y29Kzsa','y3rPB24','BMfTzsW','DwLYzwq','BMfTzq','ugvYBwe','C2LVBNm','zw5HyMW','swqGB3i','vg9VBa','CMuGDg8','iIbKzwW','q29SB3i','ihbYAxy','zxjPyYa','CgfJzxm','BIb0Agu','zxiGDgG','yxbFzgu','zxmGkge','zsbTDwW','yxrLlca','A2v5CW','zxjYB3i','yw4GB24','tM8GzMK','C2LVBIa','CMvKihq','DMvKihm','y3LFD2e','Bgv0zs4','CYWGzw0','ufz3re4','BMzPz3u','y2uUifi','C3nMDwW','B3iGC2u','BwfUywC','ChvIBgK','y3jLyxq','ihnWywm','lcbYzw0','zgPNAu4','DhLWzq','D24Gywm','AwvKoIa','BYbJCMu','BMfIBgu','ztOGBgK','x2r1zv8','mZa1mJjuwwjYEu0','ywnLswq','qwnJzxm','y2HLy2S','zxmGC3a','zYWGDge','BhnLks4','zgvSzxq','ywDLlca','ndq0nZHIsgX2weO','y29SB3i','ywnRAw4','zwLUzYa','mJm3nZy0r0XvzeDz','q3LvvLG','zxjTAxm','sw52ywW','CgfJzq','y2vjzca','ywnLCW','BwuGAxm','BgvK','BYb1Cgq','C2uGyxi','n2TKwwLuBa','AxjLzc4','zgvZ','Aw5Fy2e','x2rHDgu','ALnXBKu','ChjLzMu','nJHfrsC','vgHLicC','DgLUz3m','C2v0ugu','CMf0Aw8','B2jQzwm','Df9Wzxi','rwL0Agu','yM9VBgu','kguUzY4','ywjVDxq','Acb0ywS','rxjYB3i','C3rVBMu','u2v0ihq','uhjVDMK','mtuYvLPHA1j4','CgvYBwK','BgLZDf8','lcbUyw0','CYWGCg8','CMvHDgu','y2uUifu','whffDfu','yxrLlIa','DwLYzxm','lcbWB3i','zsbHig4','C2uGugW','CgfJzsC','y2fUig0','DgfYDf8','zxqSigm','nti3ndmZv2vXtuDe','BhfeuK4','ChjPC2u','ihDPDgG','ywXZzs4','BgLZDca','AwvSzhm','zwvZ','CYbZzxq','vxbKyxq','CLjLC3a','BhKPlG','zwnPzMK','y29Kzs4','zuvYCM8','ihrVigy','munfqwP4rG','B3zLige','icHfBNq','AxnZAw8','mteXnti5mgn1tg1zBW','BwvZC2e','ig9Miha','BwvFDhi','yw1LlG','Cf9KDwu','zxmGEYa','zwvZlca','z2DSzxm','ywjSzwq','lIbezwy','BIbWyxi','zguGyxq','BL9Tyw4','vNfxq0W','ChjPBNq','C3rPBwe','yw5KBgu','x2nHBL8','Aw5Nihm','z3mSihq','zv9Kyxq','AguGD28','y2vZlG','zgf0zsW','zv9ZCge','igfZC2K','C3rYAw4','B0n5y3O','rw50zxi','ysbTzw0','CNjLzcK','ieLeicG','lIblzxK','ig9UBhK','rgvZDhi'];a0_0x4c25=function(){return _0x12f2e4;};return a0_0x4c25();}function buildUpdateFields(_0x575ced){const _0x59488a=a0_0x4b00cd,_0x308b8f={'CyUVX':function(_0x3c962b,_0x34b9be){return _0x3c962b!==_0x34b9be;},'AEmuw':function(_0x2bedf5,_0x5286ed){return _0x2bedf5!==_0x5286ed;},'QXFZr':function(_0x2dbebe,_0x5ad455){return _0x2dbebe!==_0x5ad455;}},_0x502b54={};if(_0x308b8f[_0x59488a(0x154)](_0x575ced[_0x59488a(0x118)],undefined))_0x502b54[_0x59488a(0x118)]=_0x575ced[_0x59488a(0x118)];if(_0x575ced['color']!==undefined)_0x502b54[_0x59488a(0x150)]=_0x575ced[_0x59488a(0x150)];if(_0x308b8f['AEmuw'](_0x575ced[_0x59488a(0x220)+'te'],undefined))_0x502b54[_0x59488a(0x220)+'te']=_0x575ced['priva'+'te'];if(_0x575ced['admin'+_0x59488a(0x1ac)+_0x59488a(0x139)+'e']!==undefined)_0x502b54[_0x59488a(0x204)+_0x59488a(0x1ac)+_0x59488a(0x139)+'e']=_0x575ced[_0x59488a(0x204)+'_can_'+_0x59488a(0x139)+'e'];if(_0x308b8f['QXFZr'](_0x575ced[_0x59488a(0x238)+_0x59488a(0x1cf)+'ssign'+_0x59488a(0x18d)],undefined))_0x502b54[_0x59488a(0x238)+_0x59488a(0x1cf)+_0x59488a(0x1c1)+_0x59488a(0x18d)]=_0x575ced[_0x59488a(0x238)+_0x59488a(0x1cf)+_0x59488a(0x1c1)+'ees'];if(_0x575ced['featu'+_0x59488a(0x21e)]!==undefined)_0x502b54[_0x59488a(0x1f7)+'res']=_0x575ced['featu'+'res'];return _0x502b54;}function formatSpaceDetail(_0x46368b){const _0x5a89f9=a0_0x4b00cd;return{'id':_0x46368b['id'],'name':_0x46368b[_0x5a89f9(0x118)],'private':_0x46368b[_0x5a89f9(0x220)+'te'],'archived':_0x46368b['archi'+_0x5a89f9(0x1ea)],'color':_0x46368b[_0x5a89f9(0x150)],'statuses':_0x46368b[_0x5a89f9(0x22c)+_0x5a89f9(0x213)]?.[_0x5a89f9(0x10f)](_0xb5c060=>({'status':_0xb5c060[_0x5a89f9(0x22c)+'s'],'type':_0xb5c060[_0x5a89f9(0x13f)],'color':_0xb5c060[_0x5a89f9(0x150)]}))||[],'multiple_assignees':_0x46368b[_0x5a89f9(0x238)+_0x5a89f9(0x1cf)+_0x5a89f9(0x1c1)+_0x5a89f9(0x18d)],'features':_0x46368b[_0x5a89f9(0x1f7)+'res']};}
|
|
1
|
+
const a0_0x3f8d4e=a0_0x58fb;(function(_0x51fb7e,_0x4557a8){const _0xaf783e=a0_0x58fb,_0x385940=_0x51fb7e();while(!![]){try{const _0x2abf0d=-parseInt(_0xaf783e(0x293))/0x1*(-parseInt(_0xaf783e(0x259))/0x2)+parseInt(_0xaf783e(0x179))/0x3*(-parseInt(_0xaf783e(0x196))/0x4)+parseInt(_0xaf783e(0x16e))/0x5*(parseInt(_0xaf783e(0x249))/0x6)+-parseInt(_0xaf783e(0x28a))/0x7+parseInt(_0xaf783e(0x15d))/0x8+-parseInt(_0xaf783e(0x1f9))/0x9+-parseInt(_0xaf783e(0x16b))/0xa*(-parseInt(_0xaf783e(0x1a1))/0xb);if(_0x2abf0d===_0x4557a8)break;else _0x385940['push'](_0x385940['shift']());}catch(_0x3defde){_0x385940['push'](_0x385940['shift']());}}}(a0_0x2fa3,0x72603));import{Logger}from'../logger.js';import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation}from'../utils/resolver-utils.js';const logger=new Logger('Space'+a0_0x3f8d4e(0x1db));export const listSpacesTool={'name':a0_0x3f8d4e(0x151)+'space'+'s','description':a0_0x3f8d4e(0x1ce)+a0_0x3f8d4e(0x19e)+a0_0x3f8d4e(0x228)+a0_0x3f8d4e(0x261)+'he\x20wo'+a0_0x3f8d4e(0x263)+a0_0x3f8d4e(0x256)+a0_0x3f8d4e(0x26c)+a0_0x3f8d4e(0x23d)+a0_0x3f8d4e(0x16f)+'e\x20to\x20'+a0_0x3f8d4e(0x182)+a0_0x3f8d4e(0x244)+a0_0x3f8d4e(0x23d)+'d\x20spa'+a0_0x3f8d4e(0x1ed),'annotations':{'title':'List\x20'+a0_0x3f8d4e(0x1a4)+'s','readOnlyHint':!![]},'inputSchema':{'type':a0_0x3f8d4e(0x27d)+'t','properties':{'archived':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x28e)+'o\x20tru'+a0_0x3f8d4e(0x23b)+'list\x20'+a0_0x3f8d4e(0x186)+'ved\x20s'+'paces'+a0_0x3f8d4e(0x1b9)+a0_0x3f8d4e(0x251)+a0_0x3f8d4e(0x199)+a0_0x3f8d4e(0x18d)+a0_0x3f8d4e(0x276)}}}};export const getSpaceTool={'name':a0_0x3f8d4e(0x1a8)+a0_0x3f8d4e(0x1d9),'description':'Get\x20d'+a0_0x3f8d4e(0x1cb)+a0_0x3f8d4e(0x1b8)+a0_0x3f8d4e(0x187)+a0_0x3f8d4e(0x23e)+a0_0x3f8d4e(0x217)+'\x20a\x20sp'+a0_0x3f8d4e(0x160)+a0_0x3f8d4e(0x27a)+'ce.\x20R'+a0_0x3f8d4e(0x19a)+a0_0x3f8d4e(0x21e)+a0_0x3f8d4e(0x1b6)+a0_0x3f8d4e(0x1d2)+a0_0x3f8d4e(0x1e6)+a0_0x3f8d4e(0x278),'annotations':{'title':a0_0x3f8d4e(0x17f)+'pace','readOnlyHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+'\x20ID\x20('+a0_0x3f8d4e(0x248)+a0_0x3f8d4e(0x224)+'.'},'spaceName':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+a0_0x3f8d4e(0x169)+a0_0x3f8d4e(0x22a)+'ernat'+a0_0x3f8d4e(0x1e2)}}}};export const createSpaceTool={'name':a0_0x3f8d4e(0x166)+a0_0x3f8d4e(0x255)+'ce','description':a0_0x3f8d4e(0x18e)+a0_0x3f8d4e(0x1cc)+'ew\x20sp'+'ace\x20i'+'n\x20the'+a0_0x3f8d4e(0x197)+a0_0x3f8d4e(0x279)+a0_0x3f8d4e(0x1a0)+a0_0x3f8d4e(0x218)+a0_0x3f8d4e(0x169)+'.','annotations':{'title':a0_0x3f8d4e(0x18e)+a0_0x3f8d4e(0x20c)+'ce','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'name':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+a0_0x3f8d4e(0x169)+a0_0x3f8d4e(0x1a0)+a0_0x3f8d4e(0x178)+'.'},'color':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x291)+a0_0x3f8d4e(0x153)+'code\x20'+a0_0x3f8d4e(0x1dc)+a0_0x3f8d4e(0x170)+'68EE\x27'+').'},'private':{'type':'boole'+'an','description':a0_0x3f8d4e(0x17e)+a0_0x3f8d4e(0x1f7)+'e\x20spa'+'ce\x20is'+a0_0x3f8d4e(0x274)+a0_0x3f8d4e(0x1ee)},'admin_can_manage':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x17e)+'er\x20ad'+a0_0x3f8d4e(0x191)+a0_0x3f8d4e(0x1ba)+'anage'+a0_0x3f8d4e(0x1c3)+'out\x20b'+a0_0x3f8d4e(0x246)+a0_0x3f8d4e(0x1d4)+a0_0x3f8d4e(0x1f3)+'Enter'+a0_0x3f8d4e(0x27b)+a0_0x3f8d4e(0x294)+a0_0x3f8d4e(0x1b9)+').'},'multiple_assignees':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x205)+'e\x20mul'+a0_0x3f8d4e(0x15b)+a0_0x3f8d4e(0x188)+a0_0x3f8d4e(0x1c1)+'\x20on\x20t'+a0_0x3f8d4e(0x1eb)},'features':{'type':a0_0x3f8d4e(0x27d)+'t','properties':{},'description':'Featu'+a0_0x3f8d4e(0x168)+a0_0x3f8d4e(0x288)+a0_0x3f8d4e(0x220)+a0_0x3f8d4e(0x154)+a0_0x3f8d4e(0x24e)+a0_0x3f8d4e(0x243)+'enabl'+a0_0x3f8d4e(0x219)+a0_0x3f8d4e(0x1da)+a0_0x3f8d4e(0x21b)+a0_0x3f8d4e(0x289)+a0_0x3f8d4e(0x15c)+a0_0x3f8d4e(0x195)+a0_0x3f8d4e(0x1ae)+a0_0x3f8d4e(0x185)+'losed'+a0_0x3f8d4e(0x1e4)+a0_0x3f8d4e(0x190)+a0_0x3f8d4e(0x1a7)+a0_0x3f8d4e(0x1ff)+a0_0x3f8d4e(0x24f)+a0_0x3f8d4e(0x1fd)+a0_0x3f8d4e(0x299)+'ime_e'+'stima'+a0_0x3f8d4e(0x157)+a0_0x3f8d4e(0x1fc)+'lists'+a0_0x3f8d4e(0x237)+a0_0x3f8d4e(0x2a0)+a0_0x3f8d4e(0x24d)+a0_0x3f8d4e(0x1fe)+a0_0x3f8d4e(0x172)+a0_0x3f8d4e(0x297)+a0_0x3f8d4e(0x150)+a0_0x3f8d4e(0x208)+'enden'+a0_0x3f8d4e(0x272)+'rning'+a0_0x3f8d4e(0x23a)+a0_0x3f8d4e(0x1e8)+'os,\x20s'+a0_0x3f8d4e(0x29a)+a0_0x3f8d4e(0x192)+a0_0x3f8d4e(0x1bc)+a0_0x3f8d4e(0x22f)+'stone'+'s,\x20em'+a0_0x3f8d4e(0x1e7)+a0_0x3f8d4e(0x233)+'.\x20Eac'+'h\x20tak'+a0_0x3f8d4e(0x1a5)+a0_0x3f8d4e(0x27f)+a0_0x3f8d4e(0x174)+'olean'+'}.'}},'required':[a0_0x3f8d4e(0x24c)]}};export const updateSpaceTool={'name':a0_0x3f8d4e(0x1df)+a0_0x3f8d4e(0x255)+'ce','description':a0_0x3f8d4e(0x19d)+a0_0x3f8d4e(0x1c7)+'exist'+a0_0x3f8d4e(0x27e)+a0_0x3f8d4e(0x236)+a0_0x3f8d4e(0x24b)+a0_0x3f8d4e(0x29e)+a0_0x3f8d4e(0x1c6)+'e,\x20or'+a0_0x3f8d4e(0x26f)+a0_0x3f8d4e(0x189)+'\x20Requ'+a0_0x3f8d4e(0x1c5)+a0_0x3f8d4e(0x279)+a0_0x3f8d4e(0x229)+a0_0x3f8d4e(0x1bb)+'eName'+'.','annotations':{'title':a0_0x3f8d4e(0x19d)+'e\x20Spa'+'ce','openWorldHint':!![]},'inputSchema':{'type':a0_0x3f8d4e(0x27d)+'t','properties':{'spaceId':{'type':a0_0x3f8d4e(0x29f)+'g','description':'Space'+a0_0x3f8d4e(0x1b2)+'prefe'+a0_0x3f8d4e(0x224)+'.'},'spaceName':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+a0_0x3f8d4e(0x169)+'\x20(alt'+a0_0x3f8d4e(0x1ca)+a0_0x3f8d4e(0x1e2)},'name':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x268)+a0_0x3f8d4e(0x213)+a0_0x3f8d4e(0x271)},'color':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x291)+a0_0x3f8d4e(0x153)+a0_0x3f8d4e(0x227)},'private':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x17e)+a0_0x3f8d4e(0x1f7)+a0_0x3f8d4e(0x239)+a0_0x3f8d4e(0x247)+a0_0x3f8d4e(0x274)+'ate.'},'admin_can_manage':{'type':'boole'+'an','description':'Wheth'+a0_0x3f8d4e(0x25e)+'mins\x20'+a0_0x3f8d4e(0x1ba)+a0_0x3f8d4e(0x287)+a0_0x3f8d4e(0x175)+'erpri'+a0_0x3f8d4e(0x193)+a0_0x3f8d4e(0x241)+a0_0x3f8d4e(0x284)},'multiple_assignees':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x205)+a0_0x3f8d4e(0x171)+a0_0x3f8d4e(0x15b)+a0_0x3f8d4e(0x188)+a0_0x3f8d4e(0x1c1)+'.'},'features':{'type':'objec'+'t','properties':{},'description':a0_0x3f8d4e(0x250)+'re\x20to'+a0_0x3f8d4e(0x288)+a0_0x3f8d4e(0x220)+'s:\x20du'+a0_0x3f8d4e(0x24e)+a0_0x3f8d4e(0x243)+'enabl'+a0_0x3f8d4e(0x219)+'tart_'+'date,'+a0_0x3f8d4e(0x289)+a0_0x3f8d4e(0x15c)+a0_0x3f8d4e(0x195)+a0_0x3f8d4e(0x1ae)+a0_0x3f8d4e(0x185)+'losed'+a0_0x3f8d4e(0x1e4)+a0_0x3f8d4e(0x190)+a0_0x3f8d4e(0x1a7)+'me_tr'+a0_0x3f8d4e(0x24f)+a0_0x3f8d4e(0x1fd)+a0_0x3f8d4e(0x299)+a0_0x3f8d4e(0x1b0)+a0_0x3f8d4e(0x25b)+a0_0x3f8d4e(0x157)+a0_0x3f8d4e(0x1fc)+a0_0x3f8d4e(0x20e)+a0_0x3f8d4e(0x237)+a0_0x3f8d4e(0x2a0)+a0_0x3f8d4e(0x24d)+a0_0x3f8d4e(0x1fe)+a0_0x3f8d4e(0x172)+a0_0x3f8d4e(0x297)+a0_0x3f8d4e(0x150)+a0_0x3f8d4e(0x208)+a0_0x3f8d4e(0x29d)+a0_0x3f8d4e(0x272)+'rning'+a0_0x3f8d4e(0x23a)+a0_0x3f8d4e(0x1e8)+a0_0x3f8d4e(0x18c)+a0_0x3f8d4e(0x29a)+'s,\x20po'+a0_0x3f8d4e(0x1bc)+a0_0x3f8d4e(0x22f)+a0_0x3f8d4e(0x254)+a0_0x3f8d4e(0x1f6)+a0_0x3f8d4e(0x1e7)+a0_0x3f8d4e(0x233)+a0_0x3f8d4e(0x280)+'h\x20tak'+'es\x20{e'+a0_0x3f8d4e(0x27f)+'d:\x20bo'+a0_0x3f8d4e(0x1a2)+'}.'}}}};export const deleteSpaceTool={'name':'delet'+a0_0x3f8d4e(0x255)+'ce','description':'Perma'+a0_0x3f8d4e(0x209)+a0_0x3f8d4e(0x163)+a0_0x3f8d4e(0x1d3)+a0_0x3f8d4e(0x1bb)+'e.','annotations':{'title':a0_0x3f8d4e(0x275)+'e\x20Spa'+'ce','openWorldHint':!![],'destructiveHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+a0_0x3f8d4e(0x1b2)+a0_0x3f8d4e(0x248)+a0_0x3f8d4e(0x224)+'.'},'spaceName':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+'\x20name'+'\x20(alt'+a0_0x3f8d4e(0x1ca)+'ive).'}}}};function a0_0x58fb(_0xaae025,_0x24f85a){_0xaae025=_0xaae025-0x150;const _0x2fa317=a0_0x2fa3();let _0x58fb3f=_0x2fa317[_0xaae025];if(a0_0x58fb['NYJAvD']===undefined){var _0x3b8675=function(_0x1ceaec){const _0x2601fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21e7dc='',_0x3a8a6e='';for(let _0x55b4e0=0x0,_0x5d57ad,_0xcd1ec7,_0x1d87f0=0x0;_0xcd1ec7=_0x1ceaec['charAt'](_0x1d87f0++);~_0xcd1ec7&&(_0x5d57ad=_0x55b4e0%0x4?_0x5d57ad*0x40+_0xcd1ec7:_0xcd1ec7,_0x55b4e0++%0x4)?_0x21e7dc+=String['fromCharCode'](0xff&_0x5d57ad>>(-0x2*_0x55b4e0&0x6)):0x0){_0xcd1ec7=_0x2601fa['indexOf'](_0xcd1ec7);}for(let _0x39a820=0x0,_0x1bef63=_0x21e7dc['length'];_0x39a820<_0x1bef63;_0x39a820++){_0x3a8a6e+='%'+('00'+_0x21e7dc['charCodeAt'](_0x39a820)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a8a6e);};a0_0x58fb['YCFvdo']=_0x3b8675,a0_0x58fb['bAzZvO']={},a0_0x58fb['NYJAvD']=!![];}const _0x369244=_0x2fa317[0x0];a0_0x58fb['NVcaYP']!==_0x369244&&(a0_0x58fb['bAzZvO']={},a0_0x58fb['NVcaYP']=_0x369244);const _0x190efb=a0_0x58fb['bAzZvO'][_0xaae025];return _0x190efb===undefined?(_0x58fb3f=a0_0x58fb['YCFvdo'](_0x58fb3f),a0_0x58fb['bAzZvO'][_0xaae025]=_0x58fb3f):_0x58fb3f=_0x190efb,_0x58fb3f;}export const setSpacePermissionsTool={'name':a0_0x3f8d4e(0x1f1)+a0_0x3f8d4e(0x240)+'permi'+a0_0x3f8d4e(0x1e1)+'s','description':a0_0x3f8d4e(0x1fb)+a0_0x3f8d4e(0x223)+a0_0x3f8d4e(0x1f2)+'\x20perm'+'issio'+a0_0x3f8d4e(0x159)+a0_0x3f8d4e(0x25f)+a0_0x3f8d4e(0x206)+a0_0x3f8d4e(0x231)+a0_0x3f8d4e(0x25a)+'paceI'+a0_0x3f8d4e(0x292)+a0_0x3f8d4e(0x279)+a0_0x3f8d4e(0x18a)+a0_0x3f8d4e(0x274)+a0_0x3f8d4e(0x19c)+a0_0x3f8d4e(0x17d)+a0_0x3f8d4e(0x235)+'ntrie'+a0_0x3f8d4e(0x1f4)+a0_0x3f8d4e(0x215),'annotations':{'title':a0_0x3f8d4e(0x1e9)+a0_0x3f8d4e(0x213)+a0_0x3f8d4e(0x158)+a0_0x3f8d4e(0x1e1)+'s','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'spaceId':{'type':a0_0x3f8d4e(0x29f)+'g','description':a0_0x3f8d4e(0x1a4)+a0_0x3f8d4e(0x1b2)+'prefe'+'rred)'+'.'},'spaceName':{'type':'strin'+'g','description':a0_0x3f8d4e(0x1a4)+'\x20name'+a0_0x3f8d4e(0x22a)+'ernat'+a0_0x3f8d4e(0x1e2)},'private':{'type':a0_0x3f8d4e(0x25c)+'an','description':a0_0x3f8d4e(0x28e)+a0_0x3f8d4e(0x296)+a0_0x3f8d4e(0x16c)+a0_0x3f8d4e(0x257)+a0_0x3f8d4e(0x1c2)+a0_0x3f8d4e(0x286)+a0_0x3f8d4e(0x1dd)+'lse).'+'\x20Requ'+a0_0x3f8d4e(0x28f)},'entries':{'type':a0_0x3f8d4e(0x26a),'description':'Array'+a0_0x3f8d4e(0x16d)+a0_0x3f8d4e(0x1f5)+a0_0x3f8d4e(0x1f8)+a0_0x3f8d4e(0x1b1)+a0_0x3f8d4e(0x260)+a0_0x3f8d4e(0x242)+a0_0x3f8d4e(0x27c)+'permi'+a0_0x3f8d4e(0x1e1)+a0_0x3f8d4e(0x1d6)+a0_0x3f8d4e(0x15e),'items':{'type':a0_0x3f8d4e(0x27d)+'t','properties':{'id':{'type':'numbe'+'r'},'type':{'type':'strin'+'g'},'permission_level':{'type':a0_0x3f8d4e(0x29f)+'g'}},'required':['id',a0_0x3f8d4e(0x1ab)]}}},'required':[a0_0x3f8d4e(0x1b1)+'es']}};export async function handleManageSpaces(_0x472716,_0x41bfce){const _0x41b237=a0_0x3f8d4e,_0xbd9d42={'YCxkh':'delet'+'e','DZZvr':_0x41b237(0x262)+_0x41b237(0x1b4)+_0x41b237(0x180)+_0x41b237(0x1b7)+_0x41b237(0x1ec)+_0x41b237(0x298)+'r\x20is\x20'+_0x41b237(0x238)+_0x41b237(0x17b)+_0x41b237(0x230)+_0x41b237(0x164)+_0x41b237(0x198)+_0x41b237(0x1a3),'LZzaP':_0x41b237(0x1ac),'KRIUg':_0x41b237(0x214),'SBQFA':_0x41b237(0x166)+'e','CaBAM':_0x41b237(0x25d)+_0x41b237(0x21c)+'requi'+_0x41b237(0x281)+'o\x20cre'+_0x41b237(0x26d)+_0x41b237(0x1bb)+'e.','GTdyo':function(_0xfe24bc,_0x4718c7){return _0xfe24bc(_0x4718c7);},'akGdM':'updat'+'e','dAjTD':function(_0x541d96,_0x4f5ce4,_0x54c30f,_0x42c3c4){return _0x541d96(_0x4f5ce4,_0x54c30f,_0x42c3c4);},'Txzcz':function(_0x14aca7,_0x5cce99){return _0x14aca7(_0x5cce99);},'cSfXI':_0x41b237(0x258)+'elds\x20'+'provi'+_0x41b237(0x28b)+_0x41b237(0x1bf)+_0x41b237(0x201)+_0x41b237(0x226)+_0x41b237(0x1c4)+_0x41b237(0x1aa)+_0x41b237(0x200)+_0x41b237(0x252)+_0x41b237(0x20d)+_0x41b237(0x1cd)+_0x41b237(0x173)+_0x41b237(0x1d0)+_0x41b237(0x21a)+_0x41b237(0x1c8)+_0x41b237(0x232)+'age,\x20'+_0x41b237(0x28c)+_0x41b237(0x1f0)+_0x41b237(0x264)+'ees,\x20'+'featu'+'res.','Kvwlk':function(_0x2ea672,_0x3faa4d,_0x4c3cda,_0x935d88){return _0x2ea672(_0x3faa4d,_0x4c3cda,_0x935d88);},'plhbC':function(_0x4ea96e,_0x433500){return _0x4ea96e(_0x433500);}},{workspace:_0x1fd2b7}=_0x41bfce,{action:_0x1d5e50,spaceId:_0x3b0116,spaceName:_0x1fba0a,name:_0x508df2,color:_0x1bac30,private:_0x3c6be1,admin_can_manage:_0x4c2202,multiple_assignees:_0x298f85,features:_0x24f076,entries:_0x3c641b,archived:_0x3c1e5a}=_0x472716;try{const _0x521add=_0x41bfce[_0x41b237(0x1ad)+_0x41b237(0x2a1)]?.[_0x41b237(0x202)+_0x41b237(0x155)]||[];if(_0x1d5e50===_0xbd9d42['YCxkh']&&_0x521add[_0x41b237(0x182)+_0x41b237(0x1cf)](_0x41b237(0x15f)+_0x41b237(0x255)+'ce'))return sponsorService[_0x41b237(0x166)+_0x41b237(0x1e3)+_0x41b237(0x22b)+'onse'](_0x41b237(0x177)+_0x41b237(0x22c)+_0x41b237(0x207)+'Destr'+_0x41b237(0x1a9)+_0x41b237(0x221)+_0x41b237(0x194)+'(\x27'+_0x1d5e50+(_0x41b237(0x167)+_0x41b237(0x24a)+_0x41b237(0x162)+'\x20for\x20'+_0x41b237(0x1c9)+'curre'+_0x41b237(0x26b)+'rsona'+_0x41b237(0x1b5)+_0x41b237(0x245)+_0x41b237(0x212)+_0x41b237(0x1ea)+'n.'));switch(_0x1d5e50){case'set_p'+_0x41b237(0x1f5)+_0x41b237(0x295):{const _0x4cf93f=await resolveSpaceId(_0x3b0116,_0x1fba0a,_0x1fd2b7);if(_0x3c6be1===undefined)return sponsorService['creat'+_0x41b237(0x1e3)+_0x41b237(0x22b)+'onse'](_0xbd9d42[_0x41b237(0x1e5)]);return await _0x1fd2b7['setPe'+_0x41b237(0x22e)+'ions'](_0x41b237(0x279),_0x4cf93f,{'private':_0x3c6be1,'entries':_0x3c641b||[]}),sponsorService['creat'+_0x41b237(0x222)+_0x41b237(0x1de)]({'success':!![],'message':_0x41b237(0x158)+_0x41b237(0x1e1)+_0x41b237(0x16a)+_0x41b237(0x283)+_0x41b237(0x19f)+_0x41b237(0x183)+'ly\x20fo'+'r\x20spa'+'ce\x20\x22'+(_0x1fba0a||_0x4cf93f)+'\x22.'},!![]);}case _0xbd9d42['LZzaP']:{const _0x4c02d1=await _0x1fd2b7['getSp'+_0x41b237(0x1d1)](_0x3c1e5a),_0x182fc0=_0x4c02d1[_0x41b237(0x225)](_0x5a05ee=>({'id':_0x5a05ee['id'],'name':_0x5a05ee[_0x41b237(0x24c)],'private':_0x5a05ee[_0x41b237(0x1b4)+'te'],'archived':_0x5a05ee[_0x41b237(0x186)+_0x41b237(0x28d)],'statuses':_0x5a05ee[_0x41b237(0x1e0)+_0x41b237(0x211)]?.[_0x41b237(0x225)](_0x5bcafe=>_0x5bcafe['statu'+'s'])||[]}));return sponsorService['creat'+_0x41b237(0x222)+_0x41b237(0x1de)]({'spaces':_0x182fc0,'count':_0x182fc0[_0x41b237(0x234)+'h']},!![]);}case _0xbd9d42[_0x41b237(0x29b)]:{const _0x25f4ba=await resolveSpaceId(_0x3b0116,_0x1fba0a,_0x1fd2b7),_0x462fee=await _0x1fd2b7[_0x41b237(0x156)+_0x41b237(0x176)](_0x25f4ba);return sponsorService['creat'+_0x41b237(0x222)+_0x41b237(0x1de)](formatSpaceDetail(_0x462fee),!![]);}case _0xbd9d42[_0x41b237(0x210)]:{if(!_0x508df2)return sponsorService[_0x41b237(0x166)+_0x41b237(0x1e3)+'rResp'+'onse'](_0xbd9d42[_0x41b237(0x26e)]);const _0x397133=buildUpdateFields({'color':_0x1bac30,'private':_0x3c6be1,'admin_can_manage':_0x4c2202,'multiple_assignees':_0x298f85,'features':_0x24f076}),_0x2bd32b=await _0x1fd2b7[_0x41b237(0x166)+_0x41b237(0x266)+'e'](_0x508df2,_0x397133);return sponsorService[_0x41b237(0x166)+'eResp'+_0x41b237(0x1de)]({..._0xbd9d42[_0x41b237(0x285)](formatSpaceDetail,_0x2bd32b),'message':_0x41b237(0x1a4)+'\x20\x22'+_0x508df2+(_0x41b237(0x21d)+'ated\x20'+_0x41b237(0x19f)+'ssful'+'ly.')},!![]);}case _0xbd9d42[_0x41b237(0x17c)]:{const _0x2e66dd=await _0xbd9d42[_0x41b237(0x1b3)](resolveSpaceId,_0x3b0116,_0x1fba0a,_0x1fd2b7),_0x2a398e=_0xbd9d42['Txzcz'](buildUpdateFields,{'name':_0x508df2,'color':_0x1bac30,'private':_0x3c6be1,'admin_can_manage':_0x4c2202,'multiple_assignees':_0x298f85,'features':_0x24f076});if(Object[_0x41b237(0x270)](_0x2a398e)[_0x41b237(0x234)+'h']===0x0)return sponsorService[_0x41b237(0x166)+_0x41b237(0x1e3)+_0x41b237(0x22b)+_0x41b237(0x1de)](_0xbd9d42[_0x41b237(0x1bd)]);const _0x3c70aa=await _0x1fd2b7[_0x41b237(0x1df)+_0x41b237(0x266)+'e'](_0x2e66dd,_0x2a398e);return sponsorService[_0x41b237(0x166)+_0x41b237(0x222)+_0x41b237(0x1de)]({...formatSpaceDetail(_0x3c70aa),'message':'Space'+'\x20\x22'+_0x3c70aa['name']+('\x22\x20upd'+_0x41b237(0x283)+_0x41b237(0x19f)+'ssful'+'ly.')},!![]);}case _0xbd9d42[_0x41b237(0x282)]:{const _0x5c5770=await _0xbd9d42[_0x41b237(0x20b)](resolveSpaceId,_0x3b0116,_0x1fba0a,_0x1fd2b7);return await _0x1fd2b7[_0x41b237(0x15f)+_0x41b237(0x266)+'e'](_0x5c5770),sponsorService['creat'+_0x41b237(0x222)+_0x41b237(0x1de)]({'message':'Space'+'\x20\x22'+_0x5c5770+(_0x41b237(0x184)+_0x41b237(0x1c0)+'succe'+'ssful'+_0x41b237(0x181))},!![]);}default:return sponsorService[_0x41b237(0x166)+_0x41b237(0x1e3)+_0x41b237(0x22b)+_0x41b237(0x1de)](_0x41b237(0x21f)+_0x41b237(0x1fa)+_0x41b237(0x23e)+'\x22'+_0x1d5e50+(_0x41b237(0x2a2)+'e:\x20li'+_0x41b237(0x1ef)+_0x41b237(0x253)+'reate'+',\x20upd'+_0x41b237(0x273)+_0x41b237(0x161)+_0x41b237(0x216)));}}catch(_0x5bd601){return logger['error'](_0x41b237(0x19b)+_0x41b237(0x265)+_0x41b237(0x20f)+_0x41b237(0x267)+_0x41b237(0x266)+'es\x20(a'+_0x41b237(0x204)+':\x20'+_0x1d5e50+')',_0x5bd601),sponsorService[_0x41b237(0x166)+_0x41b237(0x1e3)+_0x41b237(0x22b)+_0x41b237(0x1de)](_0x5bd601[_0x41b237(0x165)+'ge']||_0xbd9d42[_0x41b237(0x22d)](String,_0x5bd601));}}async function resolveSpaceId(_0x1de124,_0x46e88a,_0x2744c5){const _0x5cb191=a0_0x3f8d4e;if(_0x1de124){if(!/^\d+$/[_0x5cb191(0x18f)](_0x1de124))throw new Error(_0x5cb191(0x290)+'id\x20sp'+_0x5cb191(0x1b6)+_0x5cb191(0x1be)+_0x5cb191(0x152)+_0x5cb191(0x277)+'eric\x20'+_0x5cb191(0x23f));return _0x1de124;}if(_0x46e88a&&_0x2744c5){const _0x482d97=await resolveLocation(_0x5cb191(0x279),undefined,_0x46e88a,_0x2744c5);return _0x482d97['id'];}throw new Error(_0x5cb191(0x1a6)+_0x5cb191(0x18b)+_0x5cb191(0x1d5)+'or\x20sp'+'aceNa'+_0x5cb191(0x1d7)+_0x5cb191(0x17a)+_0x5cb191(0x28f));}function a0_0x2fa3(){const _0x1fbe39=['BgLZDa','Dg9VBey','CYWGCMu','zwvZ','Aw1Lx2u','zw50CMK','ieLeicG','zefQveq','ChjPDMe','ig9Yiee','ywnLswq','B29Szwe','zwqGAw4','ig9UBhK','y2fUig0','ihnWywm','Aw50CYW','y1nMweK','oIbTDxm','BYb1Cgq','zxrLzca','z25Lzxm','ksbVCIa','ihDPDgG','zguGyxq','AxjLCYa','lcbUyw0','zsbHBIa','Aw5Fy2e','Ew91CIa','zxjUyxq','zxrHAwW','zsbHig4','ignVBg8','tgLZDca','zgvZ','AxzHDgu','ywnLCW','ig9Yihm','B3zLige','ysbTzw0','y2vjzca','x2XLDMu','BwuGAxm','CMvZ','CgfJzq','DgfYDf8','vg9VBa','kguUzY4','yYaOzMe','B25Zzq','DxbKyxq','C3rHDhu','C3nPB24','AxzLks4','zuvYCM8','x2r1zv8','rfPADNi','CgfJzu4','ywLSCYW','DgzVBgK','u2v0ifm','CMf0Aw8','yxnRCY4','BIbWyxi','y2vZlG','yxrLlG','C3qSigC','CgXLx2e','C2v0x3m','EsbHBMq','yMvYicG','CYbHCNi','zxjTAxm','CYWGzw0','zxiGDgG','C2LVBIa','mtG1mdmXoxjYAhb6rG','D24Gywm','u2v0iha','y2HLy2S','zYWGDge','lcbYzw0','BwvFDhi','DcbVBMu','yxrLlIa','zgLZywi','zMvHDhu','y3rPB24','rw5HyMW','ywnLlIa','AwvKoIa','lcbKzxa','BMvUDgW','BwfUywC','s3z3BgS','zsbtCge','BMfTzsW','BgLZDhm','yw5KBgu','u0jrrKe','C2vZ','BMzPz3u','CgfJzsa','z2v0','yxKU','Bgv0zs4','ywjVDxq','DwLYzxm','zwqSihm','lcbHzg0','zgf0zsW','jYbPCYa','iIbJCMu','zxmGC3a','vw5RBM8','lIblzxK','zsbHy3q','zvjLC3a','CML2ywm','CNjLzcK','BwfW','uhjVDMK','y29Kzs4','CgfJzxm','swqGB3i','icHHBhq','CLjLC3a','CYbezw4','CgXOyKm','CM1PC3m','ig1PBgu','B3iGC2u','uMvXDwK','BL9Tyw4','ihPVB20','BgvUz3q','yw5Kigu','CgfJzsC','lcbJDxm','CMvXDwK','zsbZCge','lcbWB3i','zsb0BYa','vfjks0y','y2HPDMu','DgLVBIa','suqU','CgfJzv8','yw4GB24','AwqSihq','zxmGkhS','zguGyxi','ueKGy28','zwLUzYa','y2uGAxm','ChjLzMu','nNPcuK5nAa','zsbKAxm','CYbZzxq','BMfTzq','AwvSzhm','zv9Kyxq','ywnRAw4','rMvHDhu','lIbezwy','ig9MoIa','zxqSigm','C3rVBMu','zv9ZCge','y2uUifu','khrYDwu','tM8GzMK','nLnUtKLfBW','CMvZihm','C3rPBwe','yM9VBgu','j25HBwu','zxiGywq','igeGC3a','zxmGEYa','igLUihq','vgHLicC','CMTZCge','C3nPz24','igLUigG','zvnWywm','twfUywC','tMv3ihm','x2nHBL8','yxjYyxK','BNqGCgu','C2uGyxi','yxrLige','q2fcqu0','igzLyxq','A2v5CW','BMfTzs4','y3LFD2e','yxrLlca','ihbYAxy','rgvSzxq','ywXZzs4','ysbUDw0','yw1LlG','C3bHy2u','yYbZCge','ChjPC2u','ExbLlca','B2jQzwm','Aw5Nihm','BMfIBgu','lIbfywm','CMvKihq','wun4A2G','yxrLzca','BhKPlG','r1rKEw8','ChvIBgK','yw5Hz2u','z2DSzxm','ihjLBwe','mJG4odyWnLbmvNbsra','zgvKihq','BxvSDgK','DMvK','u2v0ihq','AxjLzc4','sw52ywW','q29SB3i','zcbVCIa','mtm0otuXDvPVqKHn','ifbSyw4','C2LVBNm','BYbWCMK','CgvUzgu','yw1LDgu','z3mSihq','ChjPBNq','s1jjvwC','y29SB3i','zw5Kzw4','DgLUz3m','C3rYAw4','Dg9Tx2y','AwX0zxi','iI4Gvxm','BMnPzxm','BgLZDf8','DcbIzsa','igHLEca','CZOGzhu','BgvK','z2v0u3a','DgvZlca','ugvYBwK','BNmGB24','ywrTAw4','DgLWBgu','Cf9KDwu','nde3ndC3nNfotNbkBa','Bcb9lG','zgvSzxq','zwnPzMK','B3iGzgu','ywjSzwq','EsbYzw0','Df9Wzxi','BwvZC2e','y3jLyxq','jYKGyxi','CMuGDg8','ig5HBwu','CYb1Cgq','mtuWBfHYwMjl','DMf0zsa','ig9Miha','mtCXndq1mgDAtLb3tG','zd10CNu','icCJn0i','zsbTDwW','yxbFzgu','CIWGChi','zdOGyM8','icHfBNq','ywnL','qwnJzxm','DwLYzwq','mtGYnJCWounTzvnYqW','ihjLCxu','CMvKigy','ywThze0','BgfNlca','v2HLDgG','r2v0ifm','DguNigi','BhKU','Aw5JBhu','C3nMDwW','iIbKzwW','BwfWx2m','yxjJAgK','zM9YBwe','igfZC2K','DxjLCY4','tMfTzsW','CIbZCge','B3mSihm','ihrVigy','q3jLyxq','DgvZDa','zgf0zx0','BwLUCYa','CYWGCg8','C2uGugW','Aw9UCYa','x2rHDgu','ngnHzNv3uW','ihDVCMS','BwLZC2K','yxvSDhm','zxf1Axi','rxjYB3i','yxrLigy','vxbKyxq','ywXSihm','C3vJy2u','lIbszxe','mZeYndmZuuHYwvjK','B2XLyw4','B25ZlG','u3bHy2u','zxmGE2u','rwL0Agu','ksWGDgK','z2v0x3m','Dwn0Axy','igXLyxm','DhLWzq'];a0_0x2fa3=function(){return _0x1fbe39;};return a0_0x2fa3();}function buildUpdateFields(_0x493279){const _0x15b890=a0_0x3f8d4e,_0x56533e={'TRJKF':function(_0x3b7a7c,_0x24fa54){return _0x3b7a7c!==_0x24fa54;}},_0x172c71={};if(_0x493279['name']!==undefined)_0x172c71[_0x15b890(0x24c)]=_0x493279['name'];if(_0x56533e[_0x15b890(0x23c)](_0x493279[_0x15b890(0x29c)],undefined))_0x172c71[_0x15b890(0x29c)]=_0x493279[_0x15b890(0x29c)];if(_0x493279[_0x15b890(0x1b4)+'te']!==undefined)_0x172c71[_0x15b890(0x1b4)+'te']=_0x493279[_0x15b890(0x1b4)+'te'];if(_0x493279[_0x15b890(0x15a)+_0x15b890(0x269)+'manag'+'e']!==undefined)_0x172c71['admin'+_0x15b890(0x269)+_0x15b890(0x20a)+'e']=_0x493279[_0x15b890(0x15a)+_0x15b890(0x269)+'manag'+'e'];if(_0x493279['multi'+_0x15b890(0x1f0)+'ssign'+_0x15b890(0x1af)]!==undefined)_0x172c71[_0x15b890(0x28c)+'ple_a'+_0x15b890(0x264)+_0x15b890(0x1af)]=_0x493279[_0x15b890(0x28c)+_0x15b890(0x1f0)+_0x15b890(0x264)+_0x15b890(0x1af)];if(_0x493279[_0x15b890(0x203)+_0x15b890(0x1d8)]!==undefined)_0x172c71[_0x15b890(0x203)+_0x15b890(0x1d8)]=_0x493279[_0x15b890(0x203)+_0x15b890(0x1d8)];return _0x172c71;}function formatSpaceDetail(_0x52f8d7){const _0x240d1b=a0_0x3f8d4e;return{'id':_0x52f8d7['id'],'name':_0x52f8d7[_0x240d1b(0x24c)],'private':_0x52f8d7['priva'+'te'],'archived':_0x52f8d7['archi'+_0x240d1b(0x28d)],'color':_0x52f8d7[_0x240d1b(0x29c)],'statuses':_0x52f8d7[_0x240d1b(0x1e0)+_0x240d1b(0x211)]?.[_0x240d1b(0x225)](_0x1ce134=>({'status':_0x1ce134[_0x240d1b(0x1e0)+'s'],'type':_0x1ce134[_0x240d1b(0x1ab)],'color':_0x1ce134[_0x240d1b(0x29c)]}))||[],'multiple_assignees':_0x52f8d7[_0x240d1b(0x28c)+_0x240d1b(0x1f0)+'ssign'+_0x240d1b(0x1af)],'features':_0x52f8d7[_0x240d1b(0x203)+_0x240d1b(0x1d8)]};}
|
package/build/tools/sprint.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x4c621a=a0_0x2a24;function a0_0x2fe7(){const _0x3c1e6c=['AxbSzsa','DgL2zvm','AxzLu3a','C3qU','n05syxfJsa','Dg9mB2m','BcKU','lIbwywW','BwfW','BNrZ','vxjS','t0HzALC','CY4Gt3a','AcaOB3a','ihnLzsa','tgLZDca','khbYzwy','Axn0igG','zgrLzca','BgX5ihm','y29Wzsa','C3rHCNq','yw5xq2q','Aw5Lzca','BNqGBgK','ks4GuMu','B3vUzca','C3rFBMe','CgfJzq','CguGC2u','otLitKXlv3K','z2v0vge','DgLVBNm','BMvLCW','DgfZAW','BYbHihm','C2TZ','CuLzzuy','Esb0Agu','zwfZzsa','ie11Bhq','zwqGDg8','zsaOywW','C2TZigi','C2TZige','BLvPqve','kgXPC3q','C3rZjY4','CNjLBNq','zhvLx2q','sgfUzgW','B3iGBgK','l3yVBc8','zw50Awy','vgfZA3m','CIbSAxm','CIaI','ywnLCYa','odGXmKXTAg9Ura','CxvPCMu','CMTZCge','r3HYCxq','EenMu2K','CIbUyw0','DcbSAxm','tMfTzq','y3rPDMu','DcbUyw0','DcaI','DxjYzwq','oti5mJf5C2PxB1G','mZa1CMLZqxbW','BNqGyw4','z2v0u3a','ihnWywm','DcbMB2W','rwL0Agu','B2XKzxi','AwqGB3i','yw5Zige','C3qGyMu','zgvFDgK','ic0G','DgLVBMe','DgvtDhi','CIbZChi','DwX0Axa','DxbbCha','u3bHy2u','ChjVDMK','ztSGC2m','DgvZlG','mZiWotG0DKjMAefS','twfUywC','nerfzgXMyG','mJm5mdeYnhvtsKv6tq','AwqGywm','DwuGzM8','zsbSB28','BezHCxG','DwLYzxm','CgXLige','u3bYAw4','DgX5ige','ywXLrge','mtfUBKj2Beq','y3jLyxq','ihrOzsa','DgHLigm','zsb5B3u','BMfTzq','yw1L','CIbjrca','Aw50igW','C3bYAw4','r2v0iee','z2v0qwm','DgL2zsK','rxjYB3i','r2v0ifm','x25HBwu','r3rou3O','A2X3Dfa','C3rHDhu','B2jQzwm','DwuGzge','tgLZDhm','igj5ihm','x3nWCMK','BgKV','zvrLyw0','CgvJAwy','qNLoyw0','ks4GugW','z2v0x3q','zxjYzwq','DfrVB2W','CIbMB2W','ierLzMe','ywXSihm','Aw5MBW','DxjS','BguGtgK','iIbUB3q','zNv0Dxi','Aw5JBhu','z2v0v28','yxnZAwC','CLjLC3a','zxmGveK','ig5HBwu','DgfYDca','BwuUieK','BYbPzgu','zgvYlG','EsbKzwy','yM9VBgu','BYbZy28','C3bHy2u','tM8Gywm','zMLJigy','zxrFC3a','ChjPBNq','yw5zuxC','ChjPB3i','icDuyxm','DwX0CYa','CgfZDa','otaYodiWr2HTBLz4','D29YA3m','zxzLige','BNrPzNK','Dg8GDhi','CYbHzgq','x2rHDgu','AwyGB20','Bg9VA3u','khrHC2S','nZaWmZjrwhrODMG','EuHSz3C','Df9Pzca','BwvZC2e','wNrzsxC','jYKU','z2v0x2e','BMfTzsa','ieLeihq','zvnWCMK','z2v0vgu','A3mGAw4','zM9Szgu','rM9Szgu','Dw5KlIa','ufbLCxm','z2v0x3m','CIbVy2m','AwmGC3a','igzVBgq','y2vZC2K','CgfJzv8','C3rYAw4','DgLVBJO','ihrHC2S','BgWGDge','zcbPBIa','igzVDw4','DcbIzsa','Axr5','ihrVihm','ysbZCgu','Aw5NigG','BgrLCIa','yxnRCW','C2vHCMm','ihnWCMK','zvjLC3a','Aw50CY4','DMLHicC','igLUigG','y2vby3q','v2v3wu4','uMv0CMK','vurHBxa','AwqGDg8','DgvYBMe','zguGDge','D24Gywm','DcaOD2K','yxrL','lIbszxe','nJyZDgDYwNPP','CYKGzM8','AwrLzca','igrHDgu','x3rHC2S','y29Wzwq','Dcb2Awe','sw5JBhu','s1zQwwi','BMnSDwq','CMLUDca','BwuGBxu','DxnLCM4','ChvZAa','DgfZA3m','BgvUz3q','yw5KBgu','tuWGDge','vwDcDxq','rxHWq2m','zv9Uyw0','zwXVBMC','B25Zzq','BMCGC3a','zgvKihq','BgLZDf8','y2XPy2S','ywn0Axy','x2fJDgK','zuvYCM8','Aw5N','A25VD24','zxjFAwq','ndi1nZuXtwvOEKnK','BM93','rMLUzca','zcbPDhm'];a0_0x2fe7=function(){return _0x3c1e6c;};return a0_0x2fe7();}(function(_0x2d4d0b,_0x4f14c4){const _0x4f6356=a0_0x2a24,_0x2f9ad1=_0x2d4d0b();while(!![]){try{const _0x4e1d13=parseInt(_0x4f6356(0xff))/0x1+parseInt(_0x4f6356(0x117))/0x2*(parseInt(_0x4f6356(0x1c0))/0x3)+-parseInt(_0x4f6356(0xf3))/0x4*(-parseInt(_0x4f6356(0x100))/0x5)+-parseInt(_0x4f6356(0x118))/0x6*(-parseInt(_0x4f6356(0x1c8))/0x7)+parseInt(_0x4f6356(0x115))/0x8*(-parseInt(_0x4f6356(0x1e2))/0x9)+parseInt(_0x4f6356(0x161))/0xa*(parseInt(_0x4f6356(0x122))/0xb)+parseInt(_0x4f6356(0x16b))/0xc*(-parseInt(_0x4f6356(0x19f))/0xd);if(_0x4e1d13===_0x4f14c4)break;else _0x2f9ad1['push'](_0x2f9ad1['shift']());}catch(_0x14ef9d){_0x2f9ad1['push'](_0x2f9ad1['shift']());}}}(a0_0x2fe7,0x3fab1));import{Logger}from'../logger.js';import a0_0xc56274 from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';function a0_0x2a24(_0x601699,_0x4c04e6){_0x601699=_0x601699-0xe3;const _0x2fe78a=a0_0x2fe7();let _0x2a246f=_0x2fe78a[_0x601699];if(a0_0x2a24['IhLOOe']===undefined){var _0x33fa8b=function(_0x4c5c8b){const _0x12c55c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b72a1='',_0x188c0f='';for(let _0x18d42f=0x0,_0x27e495,_0x55f727,_0x5854bc=0x0;_0x55f727=_0x4c5c8b['charAt'](_0x5854bc++);~_0x55f727&&(_0x27e495=_0x18d42f%0x4?_0x27e495*0x40+_0x55f727:_0x55f727,_0x18d42f++%0x4)?_0x4b72a1+=String['fromCharCode'](0xff&_0x27e495>>(-0x2*_0x18d42f&0x6)):0x0){_0x55f727=_0x12c55c['indexOf'](_0x55f727);}for(let _0xee3367=0x0,_0x1309ab=_0x4b72a1['length'];_0xee3367<_0x1309ab;_0xee3367++){_0x188c0f+='%'+('00'+_0x4b72a1['charCodeAt'](_0xee3367)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x188c0f);};a0_0x2a24['BmTZbI']=_0x33fa8b,a0_0x2a24['nYdGmG']={},a0_0x2a24['IhLOOe']=!![];}const _0x134af6=_0x2fe78a[0x0],_0x5225ac=_0x601699+_0x134af6,_0x12cd69=a0_0x2a24['nYdGmG'][_0x5225ac];return!_0x12cd69?(_0x2a246f=a0_0x2a24['BmTZbI'](_0x2a246f),a0_0x2a24['nYdGmG'][_0x5225ac]=_0x2a246f):_0x2a246f=_0x12cd69,_0x2a246f;}import{resolveLocation,findListIDByName}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x4c621a(0x11f)+a0_0x4c621a(0x141)+'s');async function resolveSpaceId(_0x1769d1,_0x5e79b0,_0x5dc32e){const _0x4675bf=a0_0x4c621a,_0x5403b8={'ZtYIw':function(_0x5f249a,_0x5fd299,_0x2a5555,_0x3b0016,_0x1003dd){return _0x5f249a(_0x5fd299,_0x2a5555,_0x3b0016,_0x1003dd);}};if(_0x1769d1)return _0x1769d1;if(!_0x5e79b0)return undefined;const _0x12170c=await _0x5403b8[_0x4675bf(0x16f)](resolveLocation,_0x4675bf(0x157),undefined,_0x5e79b0,_0x5dc32e[_0x4675bf(0x162)+_0x4675bf(0x1e0)]);return _0x12170c['id'];}async function resolveFolderId(_0x3bad67,_0x236ffe,_0x218e23,_0x383b0f,_0x5ab459){const _0x2f9d18=a0_0x4c621a,_0x2ff8ea={'anWCd':_0x2f9d18(0x105)+_0x2f9d18(0x142)+'der_i'+'d\x20or\x20'+_0x2f9d18(0x177)+'r_nam'+'e\x20mus'+_0x2f9d18(0x187)+_0x2f9d18(0x112)+_0x2f9d18(0x1b7)+_0x2f9d18(0x152)+_0x2f9d18(0x164)+'\x20the\x20'+_0x2f9d18(0x12b)+_0x2f9d18(0x104)+_0x2f9d18(0x153),'PPeqs':function(_0x599011,_0x1d8377,_0x4f293d,_0x3441ba){return _0x599011(_0x1d8377,_0x4f293d,_0x3441ba);},'qiTOM':'folde'+'r'};if(_0x3bad67)return _0x3bad67;if(!_0x236ffe)throw new Error(_0x2ff8ea[_0x2f9d18(0x1da)]);const _0x192c71=await _0x2ff8ea[_0x2f9d18(0x17a)](resolveSpaceId,_0x218e23,_0x383b0f,_0x5ab459);if(_0x192c71){const _0x38819c=await _0x5ab459[_0x2f9d18(0x177)+'r']['findF'+_0x2f9d18(0x106)+_0x2f9d18(0x13d)+'e'](_0x192c71,_0x236ffe);if(!_0x38819c)throw new Error(_0x2f9d18(0x178)+_0x2f9d18(0xf1)+_0x236ffe+(_0x2f9d18(0x148)+_0x2f9d18(0x186)+_0x2f9d18(0x185)+_0x2f9d18(0x157)+'.'));return _0x38819c['id'];}const _0x4d4b8a=await resolveLocation(_0x2ff8ea['qiTOM'],undefined,_0x236ffe,_0x5ab459[_0x2f9d18(0x162)+_0x2f9d18(0x1e0)]);return _0x4d4b8a['id'];}async function resolveListId(_0x1fe74a,_0x4466e5,_0x557a4c){const _0x55ab29=a0_0x4c621a,_0xf65ebd={'UDamp':function(_0x6430fe,_0x38b47a,_0x4c0c55){return _0x6430fe(_0x38b47a,_0x4c0c55);}};if(_0x1fe74a)return _0x1fe74a;if(!_0x4466e5)throw new Error(_0x55ab29(0x105)+_0x55ab29(0xf0)+_0x55ab29(0x16d)+_0x55ab29(0xec)+_0x55ab29(0x1df)+_0x55ab29(0x1aa)+_0x55ab29(0x109)+'\x20prov'+_0x55ab29(0x1a1)+'to\x20id'+_0x55ab29(0xee)+_0x55ab29(0x1ea)+_0x55ab29(0x18f)+_0x55ab29(0x1dc)+_0x55ab29(0x1c7));const _0x1ebe59=await _0xf65ebd[_0x55ab29(0x197)](findListIDByName,_0x557a4c[_0x55ab29(0x162)+_0x55ab29(0x1e0)],_0x4466e5);if(!_0x1ebe59)throw new Error(_0x55ab29(0x11f)+_0x55ab29(0xf9)+_0x55ab29(0xfd)+_0x4466e5+('\x22\x20not'+_0x55ab29(0x186)+'d.'));return _0x1ebe59['id'];}export const getActiveSprintTool={'name':a0_0x4c621a(0x171)+a0_0x4c621a(0xfb)+a0_0x4c621a(0x139)+'nt','description':a0_0x4c621a(0x1c2)+a0_0x4c621a(0x125)+'urren'+a0_0x4c621a(0x120)+'ctive'+a0_0x4c621a(0x18f)+a0_0x4c621a(0x101)+a0_0x4c621a(0x1c3)+a0_0x4c621a(0x183)+a0_0x4c621a(0x1d0)+a0_0x4c621a(0x10c)+a0_0x4c621a(0x1d7)+a0_0x4c621a(0x1a4)+a0_0x4c621a(0x138)+a0_0x4c621a(0x180)+a0_0x4c621a(0x107)+a0_0x4c621a(0x103)+a0_0x4c621a(0x1b3)+a0_0x4c621a(0x113)+a0_0x4c621a(0x108)+'ll\x20sp'+a0_0x4c621a(0xf2)+a0_0x4c621a(0x168)+'itted'+'.','annotations':{'title':a0_0x4c621a(0x12c)+'ctive'+'\x20Spri'+'nt','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c621a(0x135)+'t','properties':{'space_id':{'type':'strin'+'g','description':'Space'+a0_0x4c621a(0x173)+a0_0x4c621a(0x156)+a0_0x4c621a(0x1e1)+'arch\x20'+'(opti'+'onal)'+'.'},'space_name':{'type':'strin'+'g','description':'Space'+a0_0x4c621a(0x14f)+'\x20to\x20s'+'cope\x20'+a0_0x4c621a(0x18e)+a0_0x4c621a(0x1d1)+'tiona'+a0_0x4c621a(0x1ca)},'include_timl':{'type':a0_0x4c621a(0x155)+'an','description':a0_0x4c621a(0x1a6)+a0_0x4c621a(0x19a)+a0_0x4c621a(0xe5)+a0_0x4c621a(0x1d6)+a0_0x4c621a(0x192)+a0_0x4c621a(0xef)+'\x20in\x20M'+a0_0x4c621a(0x10f)+a0_0x4c621a(0x147)+a0_0x4c621a(0xe8)+a0_0x4c621a(0x143)+a0_0x4c621a(0x15f)+'to\x20tr'+a0_0x4c621a(0x11a)+'r\x20spr'+a0_0x4c621a(0x191)}}}};export const listSprintsTool={'name':a0_0x4c621a(0x1b8)+a0_0x4c621a(0x12b)+'ts','description':a0_0x4c621a(0x1d3)+a0_0x4c621a(0x144)+'print'+'s\x20def'+a0_0x4c621a(0x1db)+'in\x20a\x20'+'speci'+a0_0x4c621a(0x159)+'older'+a0_0x4c621a(0x19e)+a0_0x4c621a(0x11d)+a0_0x4c621a(0x17e)+a0_0x4c621a(0x1bf)+'\x20or\x20f'+'older'+a0_0x4c621a(0x131)+'.','annotations':{'title':a0_0x4c621a(0x1d3)+a0_0x4c621a(0x11f)+'ts','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c621a(0x135)+'t','properties':{'folder_id':{'type':a0_0x4c621a(0x181)+'g','description':a0_0x4c621a(0x178)+a0_0x4c621a(0x129)+a0_0x4c621a(0x1d4)+a0_0x4c621a(0x140)+').'},'folder_name':{'type':a0_0x4c621a(0x181)+'g','description':a0_0x4c621a(0x178)+'r\x20nam'+a0_0x4c621a(0xe3)+a0_0x4c621a(0x199)+a0_0x4c621a(0x12e)+'.'},'space_id':{'type':a0_0x4c621a(0x181)+'g','description':a0_0x4c621a(0x111)+'\x20ID\x20t'+a0_0x4c621a(0x156)+'pe\x20fo'+a0_0x4c621a(0x18c)+a0_0x4c621a(0x172)+a0_0x4c621a(0x169)+'p.'},'space_name':{'type':a0_0x4c621a(0x181)+'g','description':a0_0x4c621a(0x111)+'\x20name'+a0_0x4c621a(0x189)+a0_0x4c621a(0x1d8)+'folde'+a0_0x4c621a(0xf8)+a0_0x4c621a(0x11b)+'kup.'}}}};export const getSprintTasksTool={'name':'get_s'+a0_0x4c621a(0x15b)+'_task'+'s','description':a0_0x4c621a(0x196)+a0_0x4c621a(0x163)+a0_0x4c621a(0x184)+a0_0x4c621a(0xe4)+a0_0x4c621a(0x1b4)+'ing\x20t'+a0_0x4c621a(0x1e7)+a0_0x4c621a(0x13c)+a0_0x4c621a(0x17d)+a0_0x4c621a(0x1a9)+a0_0x4c621a(0xe7)+a0_0x4c621a(0x1dd)+a0_0x4c621a(0xf4)+'s\x20lis'+a0_0x4c621a(0x16d)+'or\x20li'+'st_na'+a0_0x4c621a(0x151)+a0_0x4c621a(0x1a8)+a0_0x4c621a(0x14e)+a0_0x4c621a(0x1b0)+a0_0x4c621a(0xe4)+a0_0x4c621a(0x154)+'ault\x20'+a0_0x4c621a(0x16a)+a0_0x4c621a(0x166)+a0_0x4c621a(0x1ed)+a0_0x4c621a(0x124)+a0_0x4c621a(0x12b)+a0_0x4c621a(0x1a5)+a0_0x4c621a(0x15e)+a0_0x4c621a(0x176)+a0_0x4c621a(0x1ec)+a0_0x4c621a(0x1c4)+a0_0x4c621a(0x137)+a0_0x4c621a(0x170),'annotations':{'title':a0_0x4c621a(0x130)+a0_0x4c621a(0x15b)+'\x20Task'+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x4c621a(0x135)+'t','properties':{'list_id':{'type':'strin'+'g','description':'Sprin'+a0_0x4c621a(0xf9)+'t\x20ID\x20'+a0_0x4c621a(0x1d4)+a0_0x4c621a(0x140)+').'},'list_name':{'type':a0_0x4c621a(0x181)+'g','description':a0_0x4c621a(0x11f)+a0_0x4c621a(0xf9)+a0_0x4c621a(0xfc)+a0_0x4c621a(0xe3)+'terna'+a0_0x4c621a(0x12e)+'.'},'include_timl':{'type':a0_0x4c621a(0x155)+'an','description':a0_0x4c621a(0x1a6)+a0_0x4c621a(0x19a)+a0_0x4c621a(0xe5)+a0_0x4c621a(0x1d6)+a0_0x4c621a(0x192)+a0_0x4c621a(0xef)+'\x20in\x20M'+'ultip'+a0_0x4c621a(0x147)+a0_0x4c621a(0xe8)+a0_0x4c621a(0x143)+a0_0x4c621a(0x15f)+a0_0x4c621a(0x165)+'ue\x20fo'+a0_0x4c621a(0x10e)+a0_0x4c621a(0x191)}}}};function formatSprintTasks(_0x380ff7){const _0x38a4bc=a0_0x4c621a;return _0x380ff7[_0x38a4bc(0x1cc)](_0xa0dbd3=>({'id':_0xa0dbd3['id'],'name':_0xa0dbd3[_0x38a4bc(0x127)],'status':_0xa0dbd3['statu'+'s'][_0x38a4bc(0x134)+'s'],'assignees':_0xa0dbd3[_0x38a4bc(0x14c)+_0x38a4bc(0x1e5)][_0x38a4bc(0x1cc)](_0x299b09=>_0x299b09[_0x38a4bc(0x1ab)+_0x38a4bc(0x128)]),'priority':_0xa0dbd3[_0x38a4bc(0x15d)+_0x38a4bc(0x188)]?.[_0x38a4bc(0x15d)+_0x38a4bc(0x188)],'url':_0xa0dbd3[_0x38a4bc(0x146)]}));}export async function handleManageSprints(_0x5d9ee5,_0x2fc988){const _0x1d101c=a0_0x4c621a,_0x3ceb28={'xCfSi':function(_0x53d6bc,_0x58e3fc){return _0x53d6bc(_0x58e3fc);},'Gxrqt':function(_0x3cb83c,_0x32b158){return _0x3cb83c>=_0x32b158;},'GtNSz':function(_0x4c0e3f,_0x4c6525){return _0x4c0e3f<=_0x4c6525;},'KVjYb':_0x1d101c(0x1ba)+'e','anYQw':function(_0x1fcf80,_0x1ff85b){return _0x1fcf80<_0x1ff85b;},'klwtP':_0x1d101c(0x149)+'e','nUiAQ':function(_0x2e6dd1,_0x34ed00,_0xa90f22,_0x42f91b){return _0x2e6dd1(_0x34ed00,_0xa90f22,_0x42f91b);},'lFaqx':function(_0x4b98a8,_0x17d79e){return _0x4b98a8||_0x17d79e;},'UgBut':function(_0x58da3a,_0x3e74a8){return _0x58da3a===_0x3e74a8;},'ExpCc':_0x1d101c(0x17b)+'print'+'s','yHlgw':function(_0x637383,_0x1f6510,_0x4da3d6,_0x2b479,_0x15c059,_0x24e534){return _0x637383(_0x1f6510,_0x4da3d6,_0x2b479,_0x15c059,_0x24e534);},'WewYN':function(_0x3bc2a2,_0x5bdcb8){return _0x3bc2a2!==_0x5bdcb8;},'qIYeF':function(_0x4f8bbe,_0x309dca){return _0x4f8bbe(_0x309dca);},'OHYjW':'An\x20un'+_0x1d101c(0x1be)+'\x20erro'+_0x1d101c(0x17c)+_0x1d101c(0xfe)+'\x20whil'+'e\x20pro'+_0x1d101c(0x17f)+_0x1d101c(0x1b6)+_0x1d101c(0x1a9)+'data.'},{action:_0x5289df,space_id:_0x3eeaf5,space_name:_0x46cb44,folder_id:_0xfbcddc,folder_name:_0x2374b1,list_id:_0x4f207b,list_name:_0x13ea5c,team_id:_0x499e4a}=_0x5d9ee5,{sprint:_0x21e268}=_0x2fc988;_0x499e4a&&_0x2fc988['updat'+_0x1d101c(0x13b)+'Id'](_0x499e4a);logger[_0x1d101c(0x145)](_0x1d101c(0xeb)+_0x1d101c(0x18b)+_0x1d101c(0x1af)+_0x1d101c(0x116)+_0x1d101c(0x174)+_0x1d101c(0x1cd),{'action':_0x5289df});try{switch(_0x5289df){case _0x1d101c(0x171)+'ctive':{const _0x4e2281=await _0x3ceb28[_0x1d101c(0xe6)](resolveSpaceId,_0x3eeaf5,_0x46cb44,_0x2fc988);let _0x43baeb=[];if(_0x4e2281){const _0x15644e=await _0x21e268[_0x1d101c(0x12d)+_0x1d101c(0x1c5)+_0x1d101c(0x15b)](_0x4e2281);_0x15644e&&_0x43baeb[_0x1d101c(0x1ac)]({'sprint':_0x15644e,'spaceName':_0x3ceb28[_0x1d101c(0x11c)](_0x46cb44,_0x4e2281),'spaceId':_0x4e2281});}else _0x43baeb=await _0x21e268[_0x1d101c(0x14b)+_0x1d101c(0xf5)+_0x1d101c(0x194)+_0x1d101c(0x1c6)+'rints']();if(_0x3ceb28[_0x1d101c(0x1b1)](_0x43baeb['lengt'+'h'],0x0))return sponsorService[_0x1d101c(0x123)+_0x1d101c(0x190)+_0x1d101c(0x1b5)]({'success':![],'message':_0x1d101c(0x158)+'tive\x20'+_0x1d101c(0x12b)+_0x1d101c(0x19c)+'th\x20cu'+_0x1d101c(0xe9)+_0x1d101c(0x1a2)+_0x1d101c(0x1a0)+_0x1d101c(0x179)+'Ensur'+_0x1d101c(0x126)+_0x1d101c(0x10e)+_0x1d101c(0x12a)+_0x1d101c(0x1d5)+'as\x20va'+'lid\x20s'+_0x1d101c(0x150)+'and\x20d'+_0x1d101c(0x136)+_0x1d101c(0x114)},!![]);if(_0x43baeb['lengt'+'h']===0x1){const {sprint:_0xb99d0d,spaceName:_0x522af1}=_0x43baeb[0x0],_0x42eadb=await _0x2fc988[_0x1d101c(0x1e6)][_0x1d101c(0x1e3)+_0x1d101c(0x1e8)](_0xb99d0d['id'],{'include_timl':_0x5d9ee5['inclu'+'de_ti'+'ml']!==![]});return sponsorService[_0x1d101c(0x123)+_0x1d101c(0x190)+_0x1d101c(0x1b5)]({'active_sprint':{'id':_0xb99d0d['id'],'name':_0xb99d0d[_0x1d101c(0x127)],'start_date':_0xb99d0d[_0x1d101c(0x1d9)+_0x1d101c(0x167)],'due_date':_0xb99d0d['due_d'+_0x1d101c(0x19d)],'url':a0_0xc56274[_0x1d101c(0x1b9)+_0x1d101c(0x110)+_0x1d101c(0x1ce)]+'/'+_0x2fc988[_0x1d101c(0x162)+_0x1d101c(0x1e0)][_0x1d101c(0x175)+'amId']()+(_0x1d101c(0xed)+_0x1d101c(0x13a))+_0xb99d0d['id']},'space':_0x522af1,'tasks':formatSprintTasks(_0x42eadb),'task_count':_0x42eadb[_0x1d101c(0x1ae)+'h']},!![]);}return sponsorService['creat'+_0x1d101c(0x190)+_0x1d101c(0x1b5)]({'success':!![],'message':'Multi'+_0x1d101c(0x11e)+_0x1d101c(0xfb)+_0x1d101c(0x18f)+'nts\x20f'+_0x1d101c(0x1de)+'('+_0x43baeb[_0x1d101c(0x1ae)+'h']+(_0x1d101c(0x13e)+_0x1d101c(0x1eb)+'speci'+'fy\x20a\x20'+'space'+'_name'+'\x20or\x20s'+_0x1d101c(0x180)+_0x1d101c(0x198)+_0x1d101c(0x1d2)+_0x1d101c(0x1ad)+'\x20for\x20'+_0x1d101c(0x18a)+'cific'+'\x20one.'),'active_sprints':_0x43baeb['map'](_0x462047=>({'sprint_id':_0x462047[_0x1d101c(0x12b)+'t']['id'],'sprint_name':_0x462047['sprin'+'t'][_0x1d101c(0x127)],'space_id':_0x462047[_0x1d101c(0x157)+'Id'],'space_name':_0x462047[_0x1d101c(0x157)+_0x1d101c(0xfa)],'date_range':new Date(parseInt(_0x462047['sprin'+'t'][_0x1d101c(0x1d9)+_0x1d101c(0x167)]))['toLoc'+'aleDa'+_0x1d101c(0x10d)+_0x1d101c(0x1bd)]()+_0x1d101c(0x10b)+new Date(parseInt(_0x462047[_0x1d101c(0x12b)+'t'][_0x1d101c(0xea)+_0x1d101c(0x19d)]))[_0x1d101c(0x1c9)+_0x1d101c(0x121)+_0x1d101c(0x10d)+'ing']()}))},!![]);}case _0x3ceb28[_0x1d101c(0x1b2)]:{const _0x2b7d45=await _0x3ceb28[_0x1d101c(0x16c)](resolveFolderId,_0xfbcddc,_0x2374b1,_0x3eeaf5,_0x46cb44,_0x2fc988),_0x209f3d=await _0x21e268[_0x1d101c(0x102)+'rints'](_0x2b7d45),_0x3dcaae=Date[_0x1d101c(0x1c1)]();return sponsorService['creat'+_0x1d101c(0x190)+_0x1d101c(0x1b5)]({'folder_id':_0x2b7d45,'sprints':_0x209f3d[_0x1d101c(0x1cc)](_0xa1bc3=>{const _0x44e5a7=_0x1d101c,_0x1b719f=_0x3ceb28[_0x44e5a7(0xf7)](parseInt,_0xa1bc3[_0x44e5a7(0x1d9)+'_date']),_0x42dd94=parseInt(_0xa1bc3[_0x44e5a7(0xea)+'ate']),_0xeae91f=_0x3ceb28[_0x44e5a7(0xf6)](_0x3dcaae,_0x1b719f)&&_0x3ceb28[_0x44e5a7(0x132)](_0x3dcaae,_0x42dd94)?_0x3ceb28[_0x44e5a7(0x1a7)]:_0x3ceb28[_0x44e5a7(0x15c)](_0x3dcaae,_0x1b719f)?_0x3ceb28[_0x44e5a7(0x133)]:_0x44e5a7(0x160);return{'id':_0xa1bc3['id'],'name':_0xa1bc3[_0x44e5a7(0x127)],'start_date':_0xa1bc3[_0x44e5a7(0x1d9)+_0x44e5a7(0x167)],'due_date':_0xa1bc3[_0x44e5a7(0xea)+_0x44e5a7(0x19d)],'status':_0xeae91f};}),'count':_0x209f3d[_0x1d101c(0x1ae)+'h']},!![]);}case _0x1d101c(0x13f)+_0x1d101c(0x18d):{const _0x1111d2=await _0x3ceb28[_0x1d101c(0xe6)](resolveListId,_0x4f207b,_0x13ea5c,_0x2fc988),_0x110cb1=_0x3ceb28[_0x1d101c(0x195)](_0x5d9ee5[_0x1d101c(0x14a)+_0x1d101c(0x10a)+'ml'],![]),_0x15a9e5=await _0x2fc988[_0x1d101c(0x1e6)][_0x1d101c(0x1e3)+_0x1d101c(0x1e8)](_0x1111d2,{'include_timl':_0x110cb1});return sponsorService['creat'+_0x1d101c(0x190)+_0x1d101c(0x1b5)]({'list_id':_0x1111d2,'tasks':_0x3ceb28[_0x1d101c(0x1e9)](formatSprintTasks,_0x15a9e5),'count':_0x15a9e5['lengt'+'h']},!![]);}default:return sponsorService[_0x1d101c(0x123)+_0x1d101c(0x1bc)+'rResp'+'onse']('Unkno'+_0x1d101c(0x19b)+_0x1d101c(0x182)+'\x20'+_0x5289df+(_0x1d101c(0x1cb)+_0x1d101c(0x119)+_0x1d101c(0x1e4)+':\x20get'+_0x1d101c(0x1bb)+'ve,\x20g'+_0x1d101c(0x15a)+'rints'+',\x20get'+_0x1d101c(0x1a3)+'s.'));}}catch(_0x404206){return logger['error'](_0x1d101c(0x12f)+_0x1d101c(0x193)+'andle'+_0x1d101c(0x116)+_0x1d101c(0x174)+_0x1d101c(0x1cd),_0x404206),sponsorService[_0x1d101c(0x123)+_0x1d101c(0x1bc)+_0x1d101c(0x14d)+_0x1d101c(0x1b5)](_0x404206[_0x1d101c(0x16e)+'ge']||_0x3ceb28[_0x1d101c(0x1cf)]);}}
|
|
1
|
+
const a0_0x34e3ec=a0_0xda20;(function(_0x1344b4,_0x1a2766){const _0x463947=a0_0xda20,_0x5ba6c4=_0x1344b4();while(!![]){try{const _0x417152=-parseInt(_0x463947(0xc1))/0x1*(-parseInt(_0x463947(0x16a))/0x2)+-parseInt(_0x463947(0x141))/0x3*(-parseInt(_0x463947(0x156))/0x4)+-parseInt(_0x463947(0x10e))/0x5*(-parseInt(_0x463947(0x13d))/0x6)+-parseInt(_0x463947(0xbf))/0x7+-parseInt(_0x463947(0x16f))/0x8+parseInt(_0x463947(0x10b))/0x9+-parseInt(_0x463947(0x14f))/0xa;if(_0x417152===_0x1a2766)break;else _0x5ba6c4['push'](_0x5ba6c4['shift']());}catch(_0x2e1544){_0x5ba6c4['push'](_0x5ba6c4['shift']());}}}(a0_0x400d,0x4c2c3));import{Logger}from'../logger.js';import a0_0x65e10a from'../config.js';import{sponsorService}from'../utils/sponsor-service.js';import{resolveLocation,findListIDByName}from'../utils/resolver-utils.js';const logger=new Logger(a0_0x34e3ec(0x13b)+'tTool'+'s');async function resolveSpaceId(_0x196502,_0x4f1a41,_0x4a1e9d){const _0x2903e9=a0_0x34e3ec,_0x4e2636={'uCSVu':function(_0x5b9c5a,_0x41c899,_0x580c77,_0xa11886,_0x35f19e){return _0x5b9c5a(_0x41c899,_0x580c77,_0xa11886,_0x35f19e);},'jUuGw':'space'};if(_0x196502)return _0x196502;if(!_0x4f1a41)return undefined;const _0x57d970=await _0x4e2636['uCSVu'](resolveLocation,_0x4e2636[_0x2903e9(0x172)],undefined,_0x4f1a41,_0x4a1e9d['works'+_0x2903e9(0x142)]);return _0x57d970['id'];}async function resolveFolderId(_0x655e3,_0x2e047b,_0x14f3b2,_0x244959,_0x1f1b64){const _0x11da10=a0_0x34e3ec,_0x466f02={'gHeLg':_0x11da10(0x14a)+_0x11da10(0x13c)+_0x11da10(0xc2)+_0x11da10(0x127)+_0x11da10(0xdb)+_0x11da10(0x120)+_0x11da10(0x15c)+_0x11da10(0xd4)+_0x11da10(0xfa)+_0x11da10(0x92)+_0x11da10(0x145)+_0x11da10(0x149)+_0x11da10(0xb7)+_0x11da10(0xfe)+_0x11da10(0x166)+_0x11da10(0x8b),'cMBGZ':function(_0xe7b224,_0x13681d,_0x370fd7,_0x63e76d,_0x2c69d7){return _0xe7b224(_0x13681d,_0x370fd7,_0x63e76d,_0x2c69d7);},'dhJjf':_0x11da10(0xdb)+'r'};if(_0x655e3)return _0x655e3;if(!_0x2e047b)throw new Error(_0x466f02[_0x11da10(0xea)]);const _0x55b5fa=await resolveSpaceId(_0x14f3b2,_0x244959,_0x1f1b64);if(_0x55b5fa){const _0x24e7db=await _0x1f1b64['folde'+'r'][_0x11da10(0x137)+_0x11da10(0x8d)+_0x11da10(0xc3)+'e'](_0x55b5fa,_0x2e047b);if(!_0x24e7db)throw new Error(_0x11da10(0x7d)+_0x11da10(0x10f)+_0x2e047b+(_0x11da10(0xfb)+_0x11da10(0x115)+'d\x20in\x20'+_0x11da10(0xa4)+'.'));return _0x24e7db['id'];}const _0x255bc8=await _0x466f02[_0x11da10(0xd2)](resolveLocation,_0x466f02['dhJjf'],undefined,_0x2e047b,_0x1f1b64[_0x11da10(0x170)+_0x11da10(0x142)]);return _0x255bc8['id'];}async function resolveListId(_0x2b172d,_0x121845,_0x53299f){const _0x5ceed9=a0_0x34e3ec,_0x200e23={'PaBto':function(_0x3c1021,_0x37039d,_0x3fd644){return _0x3c1021(_0x37039d,_0x3fd644);}};if(_0x2b172d)return _0x2b172d;if(!_0x121845)throw new Error(_0x5ceed9(0x14a)+_0x5ceed9(0x151)+_0x5ceed9(0x98)+_0x5ceed9(0xbd)+_0x5ceed9(0x130)+'me\x20mu'+_0x5ceed9(0x9e)+'\x20prov'+_0x5ceed9(0x108)+_0x5ceed9(0x11f)+'entif'+_0x5ceed9(0x90)+'\x20spri'+_0x5ceed9(0xc9)+_0x5ceed9(0x117));const _0x50b7b4=await _0x200e23[_0x5ceed9(0x119)](findListIDByName,_0x53299f[_0x5ceed9(0x170)+'pace'],_0x121845);if(!_0x50b7b4)throw new Error(_0x5ceed9(0x13b)+'t\x20lis'+_0x5ceed9(0x9c)+_0x121845+(_0x5ceed9(0xfb)+'\x20foun'+'d.'));return _0x50b7b4['id'];}function a0_0xda20(_0x2f800d,_0x2d9dc2){_0x2f800d=_0x2f800d-0x75;const _0x400d51=a0_0x400d();let _0xda2087=_0x400d51[_0x2f800d];if(a0_0xda20['oxKMHU']===undefined){var _0x579269=function(_0x37d0ac){const _0xb2118b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x19452b='',_0x13f8b2='';for(let _0x28c923=0x0,_0x43d26b,_0x32747a,_0x276334=0x0;_0x32747a=_0x37d0ac['charAt'](_0x276334++);~_0x32747a&&(_0x43d26b=_0x28c923%0x4?_0x43d26b*0x40+_0x32747a:_0x32747a,_0x28c923++%0x4)?_0x19452b+=String['fromCharCode'](0xff&_0x43d26b>>(-0x2*_0x28c923&0x6)):0x0){_0x32747a=_0xb2118b['indexOf'](_0x32747a);}for(let _0x4bcee9=0x0,_0x1f7b64=_0x19452b['length'];_0x4bcee9<_0x1f7b64;_0x4bcee9++){_0x13f8b2+='%'+('00'+_0x19452b['charCodeAt'](_0x4bcee9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13f8b2);};a0_0xda20['SErnaJ']=_0x579269,a0_0xda20['DzWEsV']={},a0_0xda20['oxKMHU']=!![];}const _0x3f8b48=_0x400d51[0x0];a0_0xda20['NysxWT']!==_0x3f8b48&&(a0_0xda20['DzWEsV']={},a0_0xda20['NysxWT']=_0x3f8b48);const _0xf6d134=a0_0xda20['DzWEsV'][_0x2f800d];return _0xf6d134===undefined?(_0xda2087=a0_0xda20['SErnaJ'](_0xda2087),a0_0xda20['DzWEsV'][_0x2f800d]=_0xda2087):_0xda2087=_0xf6d134,_0xda2087;}export const getActiveSprintTool={'name':a0_0x34e3ec(0x77)+a0_0x34e3ec(0x125)+a0_0x34e3ec(0xd6)+'nt','description':a0_0x34e3ec(0xac)+a0_0x34e3ec(0x131)+'urren'+'tly\x20a'+'ctive'+a0_0x34e3ec(0x93)+'nt\x20an'+a0_0x34e3ec(0xd9)+a0_0x34e3ec(0xeb)+a0_0x34e3ec(0x153)+a0_0x34e3ec(0x96)+'lly\x20s'+'coped'+a0_0x34e3ec(0x85)+a0_0x34e3ec(0xd1)+'id\x20or'+a0_0x34e3ec(0x106)+a0_0x34e3ec(0x139)+'e;\x20sc'+a0_0x34e3ec(0x16c)+a0_0x34e3ec(0x8e)+a0_0x34e3ec(0x165)+a0_0x34e3ec(0x179)+'itted'+'.','annotations':{'title':a0_0x34e3ec(0x101)+'ctive'+'\x20Spri'+'nt','openWorldHint':!![]},'inputSchema':{'type':'objec'+'t','properties':{'space_id':{'type':a0_0x34e3ec(0x129)+'g','description':a0_0x34e3ec(0x136)+a0_0x34e3ec(0x7c)+'o\x20sco'+a0_0x34e3ec(0xaa)+'arch\x20'+'(opti'+a0_0x34e3ec(0x146)+'.'},'space_name':{'type':a0_0x34e3ec(0x129)+'g','description':a0_0x34e3ec(0x136)+a0_0x34e3ec(0x75)+'\x20to\x20s'+a0_0x34e3ec(0xf1)+a0_0x34e3ec(0xe6)+'h\x20(op'+a0_0x34e3ec(0x96)+a0_0x34e3ec(0x169)},'include_timl':{'type':a0_0x34e3ec(0x128)+'an','description':a0_0x34e3ec(0x110)+a0_0x34e3ec(0xf2)+a0_0x34e3ec(0x154)+a0_0x34e3ec(0x126)+a0_0x34e3ec(0x76)+'Tasks'+'\x20in\x20M'+a0_0x34e3ec(0x116)+'le\x20Li'+'sts\x27.'+a0_0x34e3ec(0x84)+a0_0x34e3ec(0x10c)+a0_0x34e3ec(0x109)+a0_0x34e3ec(0x123)+'r\x20spr'+a0_0x34e3ec(0x13e)}}}};export const listSprintsTool={'name':a0_0x34e3ec(0x11d)+'sprin'+'ts','description':a0_0x34e3ec(0xf0)+a0_0x34e3ec(0x148)+a0_0x34e3ec(0x124)+'s\x20def'+'ined\x20'+a0_0x34e3ec(0x8c)+a0_0x34e3ec(0x135)+a0_0x34e3ec(0x16e)+a0_0x34e3ec(0x8d)+a0_0x34e3ec(0x163)+a0_0x34e3ec(0xd0)+a0_0x34e3ec(0xae)+a0_0x34e3ec(0x143)+a0_0x34e3ec(0xf8)+a0_0x34e3ec(0x8d)+a0_0x34e3ec(0x140)+'.','annotations':{'title':a0_0x34e3ec(0xf0)+a0_0x34e3ec(0x13b)+'ts','openWorldHint':!![]},'inputSchema':{'type':a0_0x34e3ec(0x176)+'t','properties':{'folder_id':{'type':'strin'+'g','description':a0_0x34e3ec(0x7d)+'r\x20ID\x20'+a0_0x34e3ec(0xaf)+a0_0x34e3ec(0x12c)+').'},'folder_name':{'type':a0_0x34e3ec(0x129)+'g','description':a0_0x34e3ec(0x7d)+a0_0x34e3ec(0xca)+a0_0x34e3ec(0x99)+a0_0x34e3ec(0xb0)+a0_0x34e3ec(0xf6)+'.'},'space_id':{'type':a0_0x34e3ec(0x129)+'g','description':'Space'+a0_0x34e3ec(0x7c)+a0_0x34e3ec(0xad)+a0_0x34e3ec(0xcc)+a0_0x34e3ec(0x14e)+a0_0x34e3ec(0x12f)+'looku'+'p.'},'space_name':{'type':a0_0x34e3ec(0x129)+'g','description':a0_0x34e3ec(0x136)+a0_0x34e3ec(0x75)+a0_0x34e3ec(0x15e)+a0_0x34e3ec(0xf1)+a0_0x34e3ec(0xdb)+a0_0x34e3ec(0xca)+'e\x20loo'+'kup.'}}}};function a0_0x400d(){const _0x1d4a93=['DcbIzsa','BMnSDwq','x3nWCMK','CYbHzgq','y3jLyxq','zcbPDhm','BNbVD1u','zM9Szgu','igzVCIa','vgfZA3m','yw5KBgu','rxjYB3i','BgvUz3q','C2TZ','BM93','igvYCM8','ig9Uzs4','CxvPCMu','C2vHCMm','zMTiD3u','BMvLCW','CYbSAxm','z0HLtgC','ihrHC2S','DgfYDca','DxbKyxq','DxjYzwq','zNv0Dxi','tgLZDca','y29Wzsa','zguGDge','igrHDgu','zvnWCMK','y2vZC2K','DgL2zsK','CgfZDa','ig9Yigy','igLUigG','ChjVDMK','iIbUB3q','ChjPB3i','CMLUDca','C3bYAw4','AxbSzsa','zgf0ys4','r2v0iee','z2v0x3m','ks4GuMu','zNKGysa','Axn0igG','ihnWywm','uMv0CMK','AwrLzca','Dg8GDhi','DgfZAW','mZyZntGYourvrM1hAa','DwX0CYa','DgL2zsa','mZu1uMjzBw93','CIaI','sw5JBhu','CIbVy2m','z2v0v28','BgWGDge','BwuUieK','igzVDw4','DwX0Axa','C3qU','C3rHDhu','ugfcDg8','txvSDgK','Dw5KlIa','Axr5','BgLZDf8','Cw5PqLu','Dg8GAwq','CL9Uyw0','CIbZChi','Aw5MBW','DwuGzM8','ChjPBNq','y3rPDMu','zgrLzca','zcbVCIa','yM9VBgu','C3rYAw4','vw5RBM8','yNvvshy','zxjYzwq','sgfUzgW','DgfZA3m','BMfTzsa','C3rFBMe','DgHLigm','jYKU','C2TZigi','ifrHC2S','C3bLy2K','u3bHy2u','zMLUzey','tM8Gywm','zv9Uyw0','zxzLige','u3bYAw4','CIbMB2W','mJaZnJrSB1PRzwG','Aw50CY4','DgL2zvm','x25HBwu','mJuXn1rIswvUua','CgfJzq','zxjFAwq','DxbbCha','BYbPzgu','B25HBcK','zwXVBMC','ywXSihm','BNrPzNK','rwL0Agu','CMTZCge','yxrL','ihDOAwW','BgrLCIa','nZC0nZCXmhvnyLDVvG','Dcb2Awe','CIbSAxm','BMfTzq','CY4Gt3a','C2TZige','DcbSAxm','mJqYmgLSAxn4BG','tgLZDhm','BNrZ','Cfn6DKW','igLUie0','Dg9mB2m','zsbTDxm','lIbwywW','ihrVihm','kgXPC3q','yxnRCW','Dcbjrca','DgvtDhi','lIbszxe','z2v0x3q','ywnLCYa','DcbMB2W','oIbNzxq','y2XPy2S','BcKU','mZiZogrLzLrIBq','BgLKihm','yw5Zige','zgvFDgK','zMLJigy','mZa2oty0og94C21otG','D29YA3m','DcaOD2K','ALv1r3C','lcbNzxq','BwfW','CLjLC3a','B2jQzwm','CMLUDhm','zvjLC3a','AwyGB20','ig5HBwu','DMLHicC','z2v0x2e','A3mGAw4','yw1jza','zvrLyw0','D24Gywm','ieLeihq','rM9Szgu','x2rHDgu','A25VD24','Aw5Nihq','qw4GDw4','Aw5NigG','zwqGDg8','ierLzMe','igj5ihm','C3rZjY4','B25Zzq','CYKGzM8','AxzLu3a','wuToBuO','zgvYlG','Aw4Gysa','B2XKzxi','BgWGC3a','zhvIz2y','Esb0Agu','zhvLx2q','zgvKihq','ihnWCMK','ihnLzsa','z2v0vgu','DgLVBMe','icDuyxm','Df9Pzca','zsaOywW','khrHC2S','B3vUzca','DcaI','DMTjuvC','C3qGyMu','twfUywC','zxmGveK','DgvZlG','BgKV','AwmGC3a','C3bHy2u','wur1yxG','l3yVBc8','zxjYB3i','Aw5JBhu','rKLMEgG','CguGC2u','AwqGDg8','rMLUzca','BYbZy28','igzVBgq','khbYzwy','DgvYBMe','vxjS','Aw5N','CgvJAwy','ywXLrge','y2LMAwm','C3rHCNq','ihrOzsa','ywn0Axy','x3rHC2S','BYbHihm','rw5ZDxi','BNrZigy','B3iGBgK','zsbWCM8','nta1nZqZDxbTv2PZ','DgLVBNm','mJqXDxH3ter5','zgvYx2K','qNLoyw0','EsbKzwy','yxvSDca','ChvZAa','CNjLBNq','tuWGDge','BNqGBgK','CIbUyw0','ig9Yihm','CguGzM8','DMuSigC','zsb5B3u','y2vby3q','DwLYzxm','CgfJzv8','y01cr1O','zwfZzsa'];a0_0x400d=function(){return _0x1d4a93;};return a0_0x400d();}export const getSprintTasksTool={'name':'get_s'+'print'+a0_0x34e3ec(0xb9)+'s','description':a0_0x34e3ec(0x107)+a0_0x34e3ec(0x13a)+a0_0x34e3ec(0x113)+a0_0x34e3ec(0x133)+a0_0x34e3ec(0x147)+a0_0x34e3ec(0x80)+a0_0x34e3ec(0xba)+a0_0x34e3ec(0xb3)+a0_0x34e3ec(0xa3)+a0_0x34e3ec(0xfd)+a0_0x34e3ec(0x15f)+a0_0x34e3ec(0x103)+a0_0x34e3ec(0xe5)+a0_0x34e3ec(0xe9)+a0_0x34e3ec(0x98)+a0_0x34e3ec(0xbd)+a0_0x34e3ec(0x130)+a0_0x34e3ec(0x114)+a0_0x34e3ec(0xd5)+a0_0x34e3ec(0xa0)+a0_0x34e3ec(0xc8)+a0_0x34e3ec(0x133)+a0_0x34e3ec(0xc4)+a0_0x34e3ec(0xc5)+a0_0x34e3ec(0x9a)+a0_0x34e3ec(0xd7)+a0_0x34e3ec(0x83)+a0_0x34e3ec(0xb7)+a0_0x34e3ec(0xfe)+a0_0x34e3ec(0x150)+a0_0x34e3ec(0x97)+a0_0x34e3ec(0x78)+'\x20Mult'+a0_0x34e3ec(0xff)+a0_0x34e3ec(0x157)+a0_0x34e3ec(0x132),'annotations':{'title':'Get\x20S'+'print'+a0_0x34e3ec(0x134)+'s','openWorldHint':!![]},'inputSchema':{'type':a0_0x34e3ec(0x176)+'t','properties':{'list_id':{'type':a0_0x34e3ec(0x129)+'g','description':a0_0x34e3ec(0x13b)+a0_0x34e3ec(0x155)+a0_0x34e3ec(0x161)+a0_0x34e3ec(0xaf)+a0_0x34e3ec(0x12c)+').'},'list_name':{'type':'strin'+'g','description':a0_0x34e3ec(0x13b)+a0_0x34e3ec(0x155)+'t\x20nam'+a0_0x34e3ec(0x99)+a0_0x34e3ec(0xb0)+'tive)'+'.'},'include_timl':{'type':a0_0x34e3ec(0x128)+'an','description':'Inclu'+a0_0x34e3ec(0xf2)+a0_0x34e3ec(0x154)+a0_0x34e3ec(0x126)+a0_0x34e3ec(0x76)+a0_0x34e3ec(0xdd)+a0_0x34e3ec(0x15a)+a0_0x34e3ec(0x116)+'le\x20Li'+a0_0x34e3ec(0x86)+a0_0x34e3ec(0x84)+a0_0x34e3ec(0x10c)+'to\x20tr'+a0_0x34e3ec(0x123)+'r\x20spr'+a0_0x34e3ec(0x13e)}}}};function formatSprintTasks(_0x51e8d3){const _0x259a16=a0_0x34e3ec;return _0x51e8d3[_0x259a16(0x174)](_0x890ba0=>({'id':_0x890ba0['id'],'name':_0x890ba0[_0x259a16(0x152)],'status':_0x890ba0[_0x259a16(0x118)+'s'][_0x259a16(0x118)+'s'],'assignees':_0x890ba0['assig'+_0x259a16(0xe8)]['map'](_0x350732=>_0x350732['usern'+'ame']),'priority':_0x890ba0[_0x259a16(0xfc)+'ity']?.[_0x259a16(0xfc)+_0x259a16(0x11c)],'url':_0x890ba0['url']}));}export async function handleManageSprints(_0x204e66,_0x4252a0){const _0x22ae4c=a0_0x34e3ec,_0x13d3ce={'YKNmJ':function(_0x1c2dea,_0x592baf){return _0x1c2dea(_0x592baf);},'FIfxh':function(_0x18d4b3,_0xa916b3){return _0x18d4b3>=_0xa916b3;},'vkIQW':_0x22ae4c(0xb8)+'e','tMiXx':function(_0x2716cf,_0x53ac77){return _0x2716cf<_0x53ac77;},'KuxiU':_0x22ae4c(0xef)+'e','pSzvL':_0x22ae4c(0xf7),'xrjco':_0x22ae4c(0x12d)+_0x22ae4c(0x82)+'andle'+_0x22ae4c(0x9f)+_0x22ae4c(0xf4)+_0x22ae4c(0x158),'buUHv':'get_a'+_0x22ae4c(0x125),'npowU':function(_0x543a12,_0x489780,_0x3eaae8,_0x3ad322){return _0x543a12(_0x489780,_0x3eaae8,_0x3ad322);},'qniBU':function(_0x32ee7e,_0x523c1b){return _0x32ee7e===_0x523c1b;},'fkHwu':function(_0x229b4e,_0x437dfa){return _0x229b4e!==_0x437dfa;},'YDuax':function(_0x3a60d0,_0x161fb9,_0x24c21f,_0x119965){return _0x3a60d0(_0x161fb9,_0x24c21f,_0x119965);},'dubgf':_0x22ae4c(0x81)+_0x22ae4c(0x7f)+_0x22ae4c(0xe3)+_0x22ae4c(0x111)+_0x22ae4c(0xee)+_0x22ae4c(0x14d)+_0x22ae4c(0xbe)+_0x22ae4c(0xf5)+'ng\x20sp'+_0x22ae4c(0xfd)+_0x22ae4c(0x100)},{action:_0x26cf94,space_id:_0x1d9056,space_name:_0x5c80a0,folder_id:_0x824238,folder_name:_0x55e61c,list_id:_0x36da17,list_name:_0x12a0b3,team_id:_0x4fa07a}=_0x204e66,{sprint:_0x256059}=_0x4252a0;_0x4fa07a&&_0x4252a0[_0x22ae4c(0xed)+_0x22ae4c(0x7a)+'Id'](_0x4fa07a);logger[_0x22ae4c(0x122)](_0x13d3ce['xrjco'],{'action':_0x26cf94});try{switch(_0x26cf94){case _0x13d3ce[_0x22ae4c(0x12b)]:{const _0x2451bc=await _0x13d3ce[_0x22ae4c(0xda)](resolveSpaceId,_0x1d9056,_0x5c80a0,_0x4252a0);let _0x33b4a0=[];if(_0x2451bc){const _0x4738aa=await _0x256059['getAc'+_0x22ae4c(0x13f)+_0x22ae4c(0x124)](_0x2451bc);_0x4738aa&&_0x33b4a0[_0x22ae4c(0xc6)]({'sprint':_0x4738aa,'spaceName':_0x5c80a0||_0x2451bc,'spaceId':_0x2451bc});}else _0x33b4a0=await _0x256059[_0x22ae4c(0x112)+_0x22ae4c(0x14b)+_0x22ae4c(0xcf)+_0x22ae4c(0x89)+'rints']();if(_0x33b4a0[_0x22ae4c(0xe0)+'h']===0x0)return sponsorService['creat'+_0x22ae4c(0x178)+'onse']({'success':![],'message':_0x22ae4c(0x138)+_0x22ae4c(0x10d)+_0x22ae4c(0xfe)+_0x22ae4c(0x171)+'th\x20cu'+_0x22ae4c(0xc7)+_0x22ae4c(0xf3)+_0x22ae4c(0x88)+_0x22ae4c(0x11b)+_0x22ae4c(0xbb)+_0x22ae4c(0xce)+_0x22ae4c(0x121)+'int\x20l'+_0x22ae4c(0x105)+'as\x20va'+_0x22ae4c(0x16b)+_0x22ae4c(0xec)+'and\x20d'+'ue\x20da'+_0x22ae4c(0xa1)},!![]);if(_0x13d3ce[_0x22ae4c(0x11e)](_0x33b4a0[_0x22ae4c(0xe0)+'h'],0x1)){const {sprint:_0x1ed848,spaceName:_0x1b2f13}=_0x33b4a0[0x0],_0x1213ed=await _0x4252a0['task']['getTa'+'sks'](_0x1ed848['id'],{'include_timl':_0x13d3ce[_0x22ae4c(0xe7)](_0x204e66[_0x22ae4c(0xa8)+_0x22ae4c(0x16d)+'ml'],![])});return sponsorService[_0x22ae4c(0xd8)+'eResp'+_0x22ae4c(0x87)]({'active_sprint':{'id':_0x1ed848['id'],'name':_0x1ed848[_0x22ae4c(0x152)],'start_date':_0x1ed848['start'+_0x22ae4c(0x7e)],'due_date':_0x1ed848[_0x22ae4c(0x91)+_0x22ae4c(0x14c)],'url':a0_0x65e10a[_0x22ae4c(0x168)+_0x22ae4c(0x144)+_0x22ae4c(0xb1)]+'/'+_0x4252a0[_0x22ae4c(0x170)+_0x22ae4c(0x142)][_0x22ae4c(0x95)+_0x22ae4c(0x79)]()+(_0x22ae4c(0xa6)+_0x22ae4c(0xa2))+_0x1ed848['id']},'space':_0x1b2f13,'tasks':formatSprintTasks(_0x1213ed),'task_count':_0x1213ed[_0x22ae4c(0xe0)+'h']},!![]);}return sponsorService[_0x22ae4c(0xd8)+'eResp'+_0x22ae4c(0x87)]({'success':!![],'message':_0x22ae4c(0x11a)+'ple\x20a'+'ctive'+_0x22ae4c(0x93)+_0x22ae4c(0xbc)+_0x22ae4c(0x9b)+'('+_0x33b4a0['lengt'+'h']+(').\x20Pl'+_0x22ae4c(0xd3)+_0x22ae4c(0x135)+_0x22ae4c(0x104)+'space'+_0x22ae4c(0x140)+_0x22ae4c(0xcb)+'pace_'+_0x22ae4c(0xab)+_0x22ae4c(0x94)+_0x22ae4c(0x12e)+_0x22ae4c(0xdc)+'a\x20spe'+_0x22ae4c(0xb5)+_0x22ae4c(0xe4)),'active_sprints':_0x33b4a0[_0x22ae4c(0x174)](_0x2b756f=>({'sprint_id':_0x2b756f['sprin'+'t']['id'],'sprint_name':_0x2b756f[_0x22ae4c(0xfe)+'t'][_0x22ae4c(0x152)],'space_id':_0x2b756f[_0x22ae4c(0xa4)+'Id'],'space_name':_0x2b756f['space'+'Name'],'date_range':new Date(parseInt(_0x2b756f[_0x22ae4c(0xfe)+'t'][_0x22ae4c(0xb6)+_0x22ae4c(0x7e)]))[_0x22ae4c(0x15b)+_0x22ae4c(0xb4)+_0x22ae4c(0x162)+_0x22ae4c(0xb2)]()+'\x20-\x20'+new Date(parseInt(_0x2b756f['sprin'+'t'][_0x22ae4c(0x91)+_0x22ae4c(0x14c)]))[_0x22ae4c(0x15b)+'aleDa'+_0x22ae4c(0x162)+_0x22ae4c(0xb2)]()}))},!![]);}case _0x22ae4c(0x102)+_0x22ae4c(0x124)+'s':{const _0x2337df=await resolveFolderId(_0x824238,_0x55e61c,_0x1d9056,_0x5c80a0,_0x4252a0),_0x6a7eed=await _0x256059['getSp'+_0x22ae4c(0x177)](_0x2337df),_0xeb3a41=Date[_0x22ae4c(0xe2)]();return sponsorService[_0x22ae4c(0xd8)+_0x22ae4c(0x178)+_0x22ae4c(0x87)]({'folder_id':_0x2337df,'sprints':_0x6a7eed[_0x22ae4c(0x174)](_0x4f35de=>{const _0x3cafea=_0x22ae4c,_0x1f1938=parseInt(_0x4f35de['start'+_0x3cafea(0x7e)]),_0x3b4891=_0x13d3ce[_0x3cafea(0x8a)](parseInt,_0x4f35de[_0x3cafea(0x91)+_0x3cafea(0x14c)]),_0x537944=_0x13d3ce[_0x3cafea(0xa9)](_0xeb3a41,_0x1f1938)&&_0xeb3a41<=_0x3b4891?_0x13d3ce[_0x3cafea(0x9d)]:_0x13d3ce['tMiXx'](_0xeb3a41,_0x1f1938)?_0x13d3ce['KuxiU']:_0x13d3ce[_0x3cafea(0x159)];return{'id':_0x4f35de['id'],'name':_0x4f35de[_0x3cafea(0x152)],'start_date':_0x4f35de[_0x3cafea(0xb6)+_0x3cafea(0x7e)],'due_date':_0x4f35de['due_d'+_0x3cafea(0x14c)],'status':_0x537944};}),'count':_0x6a7eed[_0x22ae4c(0xe0)+'h']},!![]);}case _0x22ae4c(0x164)+_0x22ae4c(0x160):{const _0x2deb33=await _0x13d3ce[_0x22ae4c(0xa5)](resolveListId,_0x36da17,_0x12a0b3,_0x4252a0),_0x31c057=_0x204e66[_0x22ae4c(0xa8)+_0x22ae4c(0x16d)+'ml']!==![],_0x4f41a5=await _0x4252a0[_0x22ae4c(0x10a)]['getTa'+_0x22ae4c(0xe1)](_0x2deb33,{'include_timl':_0x31c057});return sponsorService[_0x22ae4c(0xd8)+'eResp'+_0x22ae4c(0x87)]({'list_id':_0x2deb33,'tasks':formatSprintTasks(_0x4f41a5),'count':_0x4f41a5[_0x22ae4c(0xe0)+'h']},!![]);}default:return sponsorService[_0x22ae4c(0xd8)+'eErro'+_0x22ae4c(0x175)+_0x22ae4c(0x87)](_0x22ae4c(0x12a)+_0x22ae4c(0x7b)+'tion:'+'\x20'+_0x26cf94+(_0x22ae4c(0x15d)+'id\x20ac'+_0x22ae4c(0xc0)+_0x22ae4c(0x167)+'_acti'+_0x22ae4c(0xcd)+'et_sp'+_0x22ae4c(0x177)+_0x22ae4c(0x173)+_0x22ae4c(0xb9)+'s.'));}}catch(_0x2aa5c4){return logger[_0x22ae4c(0xa7)](_0x22ae4c(0xdf)+_0x22ae4c(0xf9)+_0x22ae4c(0xde)+_0x22ae4c(0x9f)+_0x22ae4c(0xf4)+_0x22ae4c(0x158),_0x2aa5c4),sponsorService[_0x22ae4c(0xd8)+'eErro'+'rResp'+_0x22ae4c(0x87)](_0x2aa5c4['messa'+'ge']||_0x13d3ce[_0x22ae4c(0x8f)]);}}
|