n8n-nodes-zalo-nnt 1.0.2 → 1.0.5

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.
Files changed (66) hide show
  1. package/LICENSE.md +19 -19
  2. package/README.md +26 -2
  3. package/dist/credentials/N8nZaloApi.credentials.js +1 -1
  4. package/dist/credentials/ZaloApi.credentials.js +1 -1
  5. package/dist/credentials/shared/zalo.svg +10 -10
  6. package/dist/nodes/ZaloChatHistory/ZaloChatHistory.node.js +1 -1
  7. package/dist/nodes/ZaloChatHistory/ZaloChatHistory.node.js.map +1 -1
  8. package/dist/nodes/ZaloChatHistory/ZaloChatHistory.properties.js +1 -1
  9. package/dist/nodes/ZaloChatHistory/ZaloChatHistory.properties.js.map +1 -1
  10. package/dist/nodes/ZaloChatHistory/utils/historyProcessor.js +1 -1
  11. package/dist/nodes/ZaloChatHistory/utils/index.js +1 -1
  12. package/dist/nodes/ZaloChatHistory/utils/messageParser.js +1 -1
  13. package/dist/nodes/ZaloChatHistory/utils/types.js +1 -1
  14. package/dist/nodes/ZaloChatHistory/utils/validator.js +1 -1
  15. package/dist/nodes/ZaloGroup/ZaloGroup.node.js +1 -1
  16. package/dist/nodes/ZaloGroup/ZaloGroup.properties.js +1 -1
  17. package/dist/nodes/ZaloGroup/ZaloGroup.properties.js.map +1 -1
  18. package/dist/nodes/ZaloGroup/utils/groupProcessor.js +1 -1
  19. package/dist/nodes/ZaloGroup/utils/index.js +1 -1
  20. package/dist/nodes/ZaloGroup/utils/types.js +1 -1
  21. package/dist/nodes/ZaloGroup/utils/validator.js +1 -1
  22. package/dist/nodes/ZaloLoginByQr/ZaloLoginByQr.node.js +1 -1
  23. package/dist/nodes/ZaloMessageTrigger/EventFilter.js +1 -1
  24. package/dist/nodes/ZaloMessageTrigger/EventListenerRegistry.js +1 -1
  25. package/dist/nodes/ZaloMessageTrigger/EventListenerRegistry.js.map +1 -1
  26. package/dist/nodes/ZaloMessageTrigger/ZaloConnectionManager.js +1 -1
  27. package/dist/nodes/ZaloMessageTrigger/ZaloMessageTrigger.node.js +1 -1
  28. package/dist/nodes/ZaloMessageTrigger/ZaloMessageTrigger.node.js.map +1 -1
  29. package/dist/nodes/ZaloMessageTrigger/constants.js +1 -1
  30. package/dist/nodes/ZaloMessageTrigger/types.js +1 -1
  31. package/dist/nodes/ZaloMessageTrigger/utils.js +1 -1
  32. package/dist/nodes/ZaloPoll/ZaloPoll.node.js +1 -1
  33. package/dist/nodes/ZaloPoll/ZaloPollDescription.js +1 -1
  34. package/dist/nodes/ZaloPoll/ZaloPollDescription.js.map +1 -1
  35. package/dist/nodes/ZaloReminder/ZaloReminder.node.js +1 -1
  36. package/dist/nodes/ZaloReminder/ZaloReminder.node.js.map +1 -1
  37. package/dist/nodes/ZaloReminder/ZaloReminder.properties.js +1 -1
  38. package/dist/nodes/ZaloReminder/utils/index.js +1 -1
  39. package/dist/nodes/ZaloReminder/utils/reminderProcessor.js +1 -1
  40. package/dist/nodes/ZaloReminder/utils/types.js +1 -1
  41. package/dist/nodes/ZaloReminder/utils/validator.js +1 -1
  42. package/dist/nodes/ZaloSendMessage/ZaloSendMessage.node.js +1 -1
  43. package/dist/nodes/ZaloSendMessage/ZaloSendMessage.node.js.map +1 -1
  44. package/dist/nodes/ZaloSendMessage/ZaloSendMessage.properties.js +1 -1
  45. package/dist/nodes/ZaloSendMessage/ZaloSendMessage.properties.js.map +1 -1
  46. package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.d.ts +20 -1
  47. package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.js +1 -1
  48. package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.js.map +1 -1
  49. package/dist/nodes/ZaloSendMessage/utils/index.js +1 -1
  50. package/dist/nodes/ZaloSendMessage/utils/markdownToZaloStyles.js +1 -1
  51. package/dist/nodes/ZaloSendMessage/utils/messageBuilder.js +1 -1
  52. package/dist/nodes/ZaloSendMessage/utils/types.d.ts +5 -2
  53. package/dist/nodes/ZaloSendMessage/utils/types.js +1 -1
  54. package/dist/nodes/ZaloSendMessage/utils/validator.js +1 -1
  55. package/dist/nodes/ZaloTag/ZaloTag.node.js +1 -1
  56. package/dist/nodes/ZaloUser/ZaloUser.node.js +1 -1
  57. package/dist/nodes/ZaloUser/ZaloUser.node.js.map +1 -1
  58. package/dist/nodes/ZaloUser/ZaloUserDescription.js +1 -1
  59. package/dist/nodes/ZaloUser/ZaloUserDescription.js.map +1 -1
  60. package/dist/nodes/shared/branding.js +1 -1
  61. package/dist/nodes/shared/image.svg +1 -0
  62. package/dist/nodes/utils/helper.d.ts +1 -0
  63. package/dist/nodes/utils/helper.js +1 -1
  64. package/dist/nodes/utils/helper.js.map +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/package.json +1 -1
@@ -1 +1 @@
1
- (()=>{var r=_0x4e08();function t(t,r,e){return _0x3b83(e- -677,r)}function e(t,r,e){return _0x3b83(r-50,e)}for(;;)try{if(161144==-parseInt(e(0,580,535))+-parseInt(t(0,-251,-141))/2*(parseInt(e(0,656,694))/3)+parseInt(e(0,607,670))/4*(-parseInt(e(0,573,538))/5)+-parseInt(e(0,767,874))/6*(parseInt(e(0,679,698))/7)+parseInt(e(0,664,669))/8*(-parseInt(e(0,721,673))/9)+parseInt(e(0,550,527))/10*(-parseInt(t(0,-25,-18))/11)+parseInt(t(0,-66,-163))/12*(parseInt(e(0,729,675))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}})();let _0x2172f6=(()=>{function t(t,r,e,i){return _0x3b83(i-186,r)}var r={};function n(t,r,e){return _0x3b83(t-772,e)}r[t(0,735,0,762)]=t(0,709,0,699)+t(0,673,0,747)+_0x3b83(715,1539),r[_0x3b83(658,1478)]=_0x3b83(628,1371)+_0x3b83(688,1368)+_0x3b83(699,1484)+t(0,873,0,761)+t(0,752,0,779)+'source"]}}',r[t(0,813,0,786)]=t(0,980,0,899),r[t(0,698,0,733)]=_0x3b83(594,1345),r[_0x3b83(673,1450)]=function(t,r){return t===r},r[n(1458,0,1421)]="nBHfl";let i=r,e=!0;return function(a,u){let o={jHhrp:i[s(-2,0,0,23)],PqWYc:i.phIaf,DcRYX:i[h(0,579,0,678)],sfWlO:i[s(-55,0,0,-6)],BqrgI:function(t,r){return i[s(e=1538,0,0,1503-1383)](t,r);var e},OdzYl:i[s(80,0,0,133)]};function s(t,r,e,i){return n(i- -1325,0,t)}function h(t,r,e,i){return n(i- -694,0,r)}var t=e?function(){var t={};function r(t,r,e,i){return s(i,0,0,e-876)}function e(t,r,e,i){return h(0,i,0,r-711)}t.ueEKu=o[r(0,0,1e3,926)],t[h(0,1410,0,651)]=o.PqWYc,t[r(0,0,926,1007)]="Quản lý nh"+r(0,0,993,995)+h(0,1377,0,647)+"et",t[h(0,1316,0,583)]=o[h(0,1242,0,604)],t[r(0,0,965,964)]=o[h(0,1244,0,574)];var i,n;if(u){if(o[e(0,1410,0,1434)](r(0,0,1019,1057),o.OdzYl))return i=u[e(0,1457,0,1450)](a,arguments),u=null,i;(i={})[r(0,0,881,845)]=e(0,1302,0,1267)+r(0,0,884,803)+r(0,0,1038,1063),(n={})[r(0,0,1028,961)+"e"]=t[e(0,1470,0,1480)],n[e(0,1347,0,1458)]="zaloGroup",n[e(0,1352,0,1357)]=e(0,1469,0,1565)+"ared/image.png",n.group=[e(0,1463,0,1383)],n[r(0,0,1013,998)]=1,n[r(0,0,1015,971)]=t[e(0,1362,0,1392)],n[e(0,1435,0,1508)+"n"]=t[r(0,0,926,982)],n[e(0,1296,0,1325)]=i,n[e(0,1307,0,1333)]=["main"],n[r(0,0,840,858)]=[t[r(0,0,828,822)]],n[r(0,0,1035,961)+"s"]=[{name:t[e(0,1431,0,1440)],required:!0,displayName:e(0,1318,0,1255)+r(0,0,866,882)+e(0,1373,0,1354)+"h"}],n[e(0,1359,0,1248)]=_0x1997ce["zaloGroupP"+e(0,1341,0,1300)],this[e(0,1435,0,1439)+"n"]=n}}:function(){};return e=!1,t}})(),_0x5bc875=_0x2172f6(this,function(){function t(t,r){return _0x3b83(r- -406,t)}var r={};function e(t,r,e,i){return _0x3b83(i- -101,e)}r[t(108,181)]=e(0,0,571,514)+"+$";return _0x5bc875[e(0,0,582,597)]()[t(340,256)](r.fhXjp)[e(0,0,648,597)]()[e(0,0,499,447)+"r"](_0x5bc875)[t(333,256)](e(0,0,476,514)+"+$")});function _0x4f715e(t,r,e,i){return _0x3b83(r- -23,t)}_0x5bc875();let _0x4ab1c5={};function _0x3b83(a,t){let u=_0x4e08();return(_0x3b83=function(t,r){t-=495;let e=u[t];void 0===_0x3b83.hOaCGb&&(_0x3b83.jWMCip=i=function(n){let a="",e="",u=a+i;for(let t=0,r,e,i=0;e=n.charAt(i++);~e&&(r=t%4?64*r+e:e,t++%4)&&(a+=u.charCodeAt(i+10)-10!=0?String.fromCharCode(255&r>>(-2*t&6)):t))e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(e);for(let t=0,r=a.length;t<r;t++)e+="%"+("00"+a.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(e)},a=arguments,_0x3b83.hOaCGb=!0);var i,n=u[0],t=t+n,n=a[t];return n?e=n:((n=function(t){this.pVMEQl=t,this.JzpVyx=[1,0,0],this.EZGylX=function(){return"newState"},this.MKabPb="\\w+ *\\(\\) *{\\w+ *",this.rYhikL="['|\"].+['|\"];? *}"}).prototype.pGvjnz=function(){var t=new RegExp(this.MKabPb+this.rYhikL).test(this.EZGylX.toString())?--this.JzpVyx[1]:--this.JzpVyx[0];return this.WvTJtA(t)},n.prototype.WvTJtA=function(t){return Boolean(~t)?this.eArBmq(this.pVMEQl):t},n.prototype.eArBmq=function(t){for(let t=0,r=this.JzpVyx.length;t<r;t++)this.JzpVyx.push(Math.round(Math.random())),r=this.JzpVyx.length;return t(this.JzpVyx[0])},new n(_0x3b83).pGvjnz(),e=_0x3b83.jWMCip(e),a[t]=e),e})(a,t)}function _0x4e08(){let t=["s3rov2q","BvHQqLe","zxLhvxq","y29UC3rYDwn0BW","C0ruzgy","wMfSB0DYB3vW","B3zLvxnLCKzYBW","CM9Wzxj0AwvZ","AxrLBq","t1rovxG","EMnHlwPZ","yxrLtM90zq","mZiZnKrKsuTXtq","BMfTzq","q3njqMS","BMv3tMfTzq","yNKGzgLNAw5UBW","Aw1Hz2vvCMW","AwnVBG","ANnVBG","CMvTB3zL","s2nAC0u","CMv2Awv3","u3bfvLy","igrPz2LUBM8UBG","ChjVCgvYDgLLCW","CgfNzq","z2v0tM9KzvbHCG","A1zWBeK","lI91DgLSCW","oIaIicSGjhbHCG","DM1stfu","CxfUs3O","zgvUDgLHBhmU","Bw9KzxjHDgLVBG","B1rfBLK","vw5RBM93BIbYzq","yuvzz3e","tvHMwxO","B25Uzwn0ihDPDa","vw5RBM93BIbVCa","rhz4q0C","zMHyANa","BwvTyMvY","C3HPrKi","Cc5WCM9Wzxj0Aq","y3jLyxrLtM90zq","ywn0Aw9U","yw1LDgvYwYjYzq","EMfSB0fWAq","ChjVy2vZC1vUyG","vxnLCLrVr3jVDq","z3jVDxa","C2LSzw50","zxLwtKG","vKzszvi","ChjVy2vZC0LUDG","Cwz0zNy","B1rouhC","AxrLvxnLCNm","Awv3ugvUzgLUzW","mtq0m2rXsKfQsG","AxrLBuLUzgv4","CMvZB3vYy2u","zxjHDgLVBJOG","zgvMAw5LuhjVCa","C291CMnLoIa","z2v0tM9Kzq","yxrHCG","odH2y3j2swi","kcGOlISPkYKRkq","y3jLyxrL","ChjVy2vZC0XLyq","BgLTAxq","B3zpCxO","qMXVy2TLze1LBq","qNfYz0K","ChjVy2vZC0nYzq","sMHJDM0","u25LAuq","DxnLCKfNzw50","Aw1fzva","tM8GqvbjigLUCW","pxT7jhbHCMfTzq","mtC0mJntyNHQuxi","zMjQuxi","u1fKDK0","Ee12qMi","zxj0Eq","ywrK","ALLqtKy","ihzHBgLKignYzq","Aw1LAq","qwXSr3jVDxbZ","BwfRzsbZDxjLia","vujJqMq","y21rBMW","zer2suO","v0neBKm","rvn3yKG","C05Wwvi","zgvZy3jPChrPBW","DKj2wLy","BLrjseq","C291CMnLiL19Fq","CMHHyKe","y29UDgvUDa","AhDtzLO","lNbUzW","AwfSCW","CgLUqwn0","C3vNs0u","teHxrvq","CgHjywy","mtfqAufmtuG","zxjYB3i","Dw5IBg9JAW","C2vHCMnO","t0PosLu","y0rHq2q","z3jVDxbjzhm","BgvUz3rO","EMj2AKi","yxbWBhK","BMDLr3jVDxboyq","W7nTifPHBg8GyNK","mZa0mZHJz0zIA0u","uMvXDwvZDa","rezgs2m","wMfSBW","ChvZAa","yMXVy2S","AKHOCNa","C2v0DgLUz3m","mtn3Ee5wu2K","zMLSztOUlI9ZAa","Dwvfs3u","DxbKyxrLtMfTzq","B2zqCxu","CMnLoIa","vKHowNG","turyEu0","BgvHDMu","DgvYwYjVCgvYyq","y29VA2LL","DMvYC2LVBG","z3jVDxbjza","C3vIDgL0Bgu","vNDdq3m","vhn1wg0","DxnLCKLKCW","BKjizMW","EMfSB0DYB3vW","Dg9tDhjPBMC","DgLVBIjDicSGiG","uLb2C0S","uxDKCNK","vxrcsuu","y291BNq","teLbsfy","zgLZCgXHEu5HBq","z2v0","DvrIu0u","yxrLr3jVDxa","ChjVy2vZC0DLDa","DxnLCKLK","ChjVy2vZC0jSBW","y3jLzgvUDgLHBa","BwfPBG","tMPTB0m","lM5LDa","AM9PBG","mZeYzg9qBwTf","ChjVBw90zurLCa","C2zxBe8","BJHUlxDVCMTMBa","EMzfBwG","Cwjor0G","mtaZmJa5mg55s1H3Da","Dxr5","y29UDgLUDwvpBG","v2DqvNe","thH1uvC","C2Tcu04","yw1LDgvY","zgvMyxvSDhm","ufDKywO","z2v0ugvUzgLUzW","zMLUza","DgfUy2uGzM91BG","y2Tnzw1Izxi","wMfSBYboAmoZBsa","odaXnJqZmLjks1riEG","D0nou2K","Dg8GChjVDMLKzq","B3v0Chv0CW","Aw5WDxrZ","Aw9UrxjYB3i","CgfPCMvKsxrLBq","thrNvM8","ChjVy2vZC1jLDG","ntyWwePeuu1Q","igzVCIbYzxnVDq","wMLxswm","rgnswvG","z2v0qMXVy2TLza","B0LwDeq","wMfSBYbdCMvKzq","ntq1nZrZDMjNu2i","r3jVDxbjBMzV","tM9Kzu9WzxjHDa","v3bfv2q","ChjVy2vZC0fKza","uK52Dxa","mZGYzgHzuMr3","ANzjvfK","Bg9NAw4","z2v0q3jLzgvUDa","z2v0twfUEq","Aw52AxrLvg9nyq","uxxHUQnUigZdVsbUAa","BNrPywWGDg8GyW","ChjVy2vZC0PVAq"];return(_0x4e08=function(){return t})()}function _0x6e9d25(t,r,e,i){return _0x3b83(e- -695,i)}_0x4ab1c5.value=!0,Object[_0x4f715e(482,587,543,638)+_0x4f715e(508,610,504,693)](exports,"__esModule",_0x4ab1c5),exports[_0x6e9d25(-153,-67,-145,-187)]=void 0;let n8n_workflow_1=require(_0x6e9d25(-292,-171,-198,-153)+"ow"),ZaloGroup_properties_1=require("./ZaloGrou"+_0x6e9d25(-57,-122,-105,-51)+"es"),zca_js_1=require(_0x4f715e(573,532,475,471)),utils_1=require(_0x6e9d25(-17,-191,-121,-82)),api;class ZaloGroup{constructor(){var t={},r=(t[i(109,0,1,114)]=n(0,-231,-132,-138)+i(90,0,104,7)+".net",t[i(186,0,264,89)]=n(0,121,56,46),t.xMvBb=n(0,71,-122,-23)+'ter["operation"] + ": " + $par'+i(122,0,232,92)+i(178,0,211,283),t.KtNWd=n(0,-183,-63,-109)+i(199,0,186,152)+i(98,0,59,3)+"et",t.zbvjB=n(0,87,113,62),t.ovOqz=n(0,-56,-6,-57),t[i(236,0,157,170)]="Zalo Credential to c"+n(0,-103,-107,-67)+"h",{}),e=(r[n(0,-188,-22,-93)]=i(42,0,-29,-13)+n(0,-32,-74,-90)+i(244,0,165,354),{});function i(t,r,e,i){return _0x4f715e(i,t- -448,e-440,i-69)}function n(t,r,e,i){return _0x4f715e(r,i- -628,e-86,i-302)}e[i(234,0,247,127)+"e"]=t[n(0,-91,-163,-71)],e[n(0,-111,-176,-93)]=t[n(0,-75,95,6)],e[i(92,0,139,142)]="file:../shared/image"+i(182,0,140,271),e.group=["Zalo"],e[i(219,0,192,242)]=1,e.subtitle=t[i(161,0,256,158)],e.description=t[i(74,0,52,169)],e[n(0,-88,-182,-144)]=r,e[n(0,-199,-209,-133)]=[t.zbvjB],e.outputs=[t[n(0,10,-70,16)]],e.credentials=[{name:t[n(0,13,64,-32)],required:!0,displayName:t[n(0,167,-48,56)]}],e[n(0,-165,-71,-81)]=ZaloGroup_properties_1["zaloGroupP"+i(81,0,152,108)],this.description=e}async["execute"](){var t={};function e(t,r,e,i){return _0x4f715e(r,e-971,e-342,i-30)}function i(t,r,e,i){return _0x6e9d25(t-246,r-267,e-763,i)}t[e(0,1433,1485,1402)]="(((.+)+)+)+$",t.qbNGH=e(0,1502,1556,1666),t[i(674,537,627,607)]="operation",t[e(0,1642,1612,1581)]="zaloApi",t[i(764,781,709,692)]=function(t,r){return t!==r},t[i(666,618,636,728)]=function(t,r){return t===r},t.Qwdry=function(t,r){return t===r},t[e(0,1558,1497,1545)]=function(t,r){return t!==r},t[i(704,573,601,639)]=function(t,r){return t===r},t[e(0,1649,1642,1747)]=function(t,r){return t<r},t.zfEmh=i(751,776,751,773),t[i(630,571,667,599)]=e(0,1469,1545,1463),t[e(0,1416,1452,1444)]=i(686,718,716,784),t[i(592,741,651,646)]=e(0,1496,1564,1562),t[i(823,808,770,797)]="groupName",t[i(755,836,782,801)]=i(803,823,774,775),t.LtgVo=i(674,771,759,705),t[e(0,1406,1502,1501)]=e(0,1422,1488,1458),t[i(745,636,698,592)]=e(0,1536,1566,1670),t[e(0,1498,1494,1602)]=e(0,1634,1664,1626),t[i(747,606,694,595)]=e(0,1584,1635,1596),t.DvxCG=i(689,733,656,576),t[e(0,1616,1571,1520)]=e(0,1566,1582,1615),t[i(718,625,715,814)]=e(0,1635,1643,1600),t[i(638,691,583,693)]=i(653,572,633,577),t.WgPVq=i(597,668,609,621)+"ny",t[e(0,1692,1588,1502)]=i(728,732,778,787),t.ZiWIc=e(0,1543,1613,1663),t.RoPeh=e(0,1359,1443,1372)+e(0,1525,1449,1392),t.LIAHV=function(t,r){return t===r},t.sNpYR=i(764,664,750,686),t[i(672,562,576,623)]=e(0,1487,1508,1500),t[i(740,656,670,718)]="updateAvatar",t[i(528,494,603,520)]=i(565,547,630,581),t[e(0,1521,1600,1647)]=e(0,1515,1527,1434),t[e(0,1665,1648,1614)]=function(t,r){return t===r},t[i(749,694,724,665)]=e(0,1613,1591,1501),t.KZOhh=e(0,1686,1651,1751),t[i(646,758,753,825)]=i(753,735,744,674),t.OJNJU="memberIds",t.rhabA=e(0,1696,1609,1587),t[i(655,662,692,590)]=i(670,688,635,639),t.ESwbH=i(728,668,660,707),t[i(611,629,657,695)]=e(0,1503,1599,1676),t[i(704,568,596,567)]=i(690,556,634,631),t[e(0,1622,1583,1573)]=e(0,1711,1603,1560),t[i(582,720,645,678)]=function(t,r){return t!==r},t.aEYgq="wwDOc",t[i(677,728,699,665)]="KOpMA";var n,a,u,o,s,h,v,x,f=t,w=this.getInputData(),p=[],c=this["getNodePar"+e(0,1492,1454,1411)](f[i(492,458,567,673)],0),z=this["getNodePar"+e(0,1507,1454,1510)](f[e(0,1475,1507,1445)],0),t=await this[i(553,616,607,697)+e(0,1609,1602,1714)](f[i(727,795,732,743)]),r=JSON.parse(t[e(0,1649,1637,1652)]),l=t[i(618,598,705,753)],t=t[i(589,657,693,794)],r=f.cmQnl(r,null)&&f.cmQnl(r,void 0)?r:f[e(0,1508,1516,1412)](r=w[i(637,589,578,621)](t=>t[e(0,1435,1512,1448)][i(703,646,757,723)]),null)||void 0===r?void 0:r[i(618,574,632,619)][i(713,742,757,684)],l=null!==l&&f[i(744,638,709,610)](l,void 0)?l:f.Qwdry(l=w[i(539,655,578,487)](t=>t[e(0,1446,1512,1473)][e(0,1646,1585,1558)]),null)||void 0===l?void 0:l[i(579,613,632,713)].imei,t=f[e(0,1530,1589,1596)](t,null)&&f[e(0,1587,1497,1535)](t,void 0)?t:f[e(0,1559,1481,1540)](t=w[i(513,610,578,570)](t=>t[i(708,704,632,635)][e(0,1624,1573,1525)]),null)||void 0===t?void 0:t[e(0,1439,1512,1468)][e(0,1682,1573,1681)],_=new zca_js_1[i(789,720,742,851)],g={},r=(g[e(0,1596,1637,1672)]=r,g[i(737,614,705,784)]=l,g[e(0,1646,1573,1466)]=t,await _[e(0,1448,1486,1440)](g));if(!(api=r))throw new n8n_workflow_1.NodeOperationError(this[i(766,671,680,712)](),i(593,617,695,745)+e(0,1424,1459,1358)+"d. Please "+i(656,759,707,754)+"to provide valid cre"+e(0,1427,1526,1423));for(let r=0;f[e(0,1708,1642,1603)](r,w[e(0,1506,1614,1562)]);r++)try{if(f[i(643,549,566,646)]!==f[e(0,1482,1446,1401)])return _0x190b95.toString()[e(0,1655,1610,1615)](e(0,1577,1563,1506)+"+$")[i(662,681,766,701)]()[i(689,597,616,728)+"r"](_0x137fc6)[e(0,1517,1610,1694)](aQjKTJ[i(705,565,605,542)]);{let t;if(f[e(0,1459,1481,1522)](c,f.eyVNH)){if(!f[e(0,1546,1649,1720)](i(618,619,716,659),f[e(0,1548,1452,1358)]))throw new _0x7cde8f["NodeOperat"+e(0,1440,1467,1386)](this[i(764,780,680,786)](),e(0,1523,1575,1631)+e(0,1385,1459,1557)+"d. Please make sure "+e(0,1575,1464,1535)+e(0,1546,1584,1623)+i(750,704,646,727));switch(z){case f[e(0,1501,1531,1562)]:t=await(0,utils_1["processCre"+i(748,781,776,796)])(api,{groupName:this[e(0,1458,1520,1433)+i(517,634,574,553)](f[e(0,1654,1650,1689)],r),userIds:this[i(637,733,640,598)+"ameter"](e(0,1599,1643,1686),r)});break;case f[i(846,694,782,780)]:t=await(0,utils_1[i(668,697,777,706)+i(666,537,599,548)])(api,{groupId:this[e(0,1525,1520,1415)+"ameter"](f[i(674,519,589,528)],r)});break;case f[e(0,1560,1502,1556)]:t=await(0,utils_1[e(0,1653,1657,1632)+e(0,1499,1586,1635)])(api,{limit:this[e(0,1491,1520,1572)+e(0,1443,1454,1387)](f[e(0,1540,1578,1528)],r)});break;case f[e(0,1536,1494,1468)]:t=await(0,utils_1[e(0,1418,1492,1584)+"nGroupLink"])(api,{groupLink:this[e(0,1589,1520,1587)+i(646,597,574,541)]("groupLink",r)});break;case f[e(0,1666,1574,1616)]:t=await(0,utils_1[e(0,1663,1565,1505)+"veGroup"])(api,{groupId:this[e(0,1603,1520,1542)+i(621,547,574,641)](f[i(634,627,589,554)],r),silent:this[e(0,1565,1520,1586)+i(569,481,574,638)](i(601,650,666,635),r)});break;default:var C={};throw C[e(0,1645,1555,1591)]=r,new n8n_workflow_1[e(0,1589,1480,1543)+"ionError"](this[e(0,1644,1560,1543)](),e(0,1611,1533,1578)+i(690,789,677,757)+z+(i(531,489,592,620)+e(0,1538,1632,1596))+c,C)}}else if(c===f[i(757,748,654,558)])switch(z){case f.Jhcvm:t=await(0,utils_1["processAdd"+i(600,592,664,598)+"p"])(api,{groupId:this[e(0,1476,1520,1497)+e(0,1349,1454,1515)](f[e(0,1498,1469,1497)],r),userIds:this["getNodePar"+i(660,655,574,507)](f[e(0,1586,1595,1543)],r)});break;case f[i(557,535,583,528)]:t=await(0,utils_1["processRem"+i(657,691,619,621)+"mGroup"])(api,{groupId:this[e(0,1509,1520,1430)+"ameter"](f.LtgVo,r),userIds:this[i(617,748,640,560)+i(637,660,574,672)](f[i(790,628,715,622)],r)});break;case f[i(544,487,571,635)]:t=await(0,utils_1[e(0,1627,1549,1598)+e(0,1568,1552,1621)])(api,{userId:this[i(547,696,640,556)+"ameter"](f[e(0,1570,1588,1653)],r),groupIds:this[e(0,1620,1520,1497)+e(0,1373,1454,1405)](f[i(696,695,593,607)],r)});break;case f.RoPeh:t=await(0,utils_1[i(601,679,602,513)+"GroupDeputy"])(api,{groupId:this[e(0,1409,1520,1473)+e(0,1560,1454,1493)](f[e(0,1393,1469,1463)],r),userId:this[e(0,1582,1520,1583)+e(0,1397,1454,1522)](i(713,856,778,790),r)});break;default:var d={};throw d[i(778,568,675,597)]=r,new n8n_workflow_1[i(642,593,600,700)+e(0,1362,1467,1474)](this[e(0,1562,1560,1569)](),i(606,724,653,745)+"eration: "+z+(e(0,1446,1472,1580)+e(0,1534,1632,1623))+c,d)}else if(f[i(866,682,772,784)](c,i(652,771,746,785)))switch(z){case f[i(818,821,713,782)]:t=await(0,utils_1["processCha"+e(0,1571,1617,1705)+"me"])(api,{groupId:this[i(732,662,640,615)+i(602,466,574,533)]("groupId",r),newName:this[i(545,536,640,738)+i(587,465,574,678)](f[i(533,494,576,516)],r)});break;case f[i(646,681,670,565)]:t=await(0,utils_1["processChangeGroupAv"+e(0,1545,1561,1503)])(api,{groupId:this[i(671,659,640,567)+i(571,591,574,542)](f[i(644,539,589,621)],r),imageUrl:this[e(0,1545,1520,1618)+e(0,1503,1454,1449)](f.RNvup,r)});break;default:var b={};throw b[e(0,1552,1555,1559)]=r,new n8n_workflow_1["NodeOperat"+e(0,1486,1467,1550)](this[e(0,1606,1560,1558)](),i(581,658,653,653)+"eration: "+z+e(0,1556,1472,1386)+"rce: "+c,b)}else if(f.SpEVV(c,f[i(609,708,720,768)])){if(!f[e(0,1741,1648,1731)](f[i(619,719,724,685)],f[e(0,1501,1604,1533)]))return n=_0x2a4de7?function(){var t;if(_0x25e6c8)return t=_0x3b89f8[e(0,-203,1616,-461)](_0x5bb7ec,arguments),_0x2874a5=null,t}:function(){},_0x1ef645=!1,n;switch(z){case i(577,515,595,551):t=await(0,utils_1[e(0,1570,1657,1576)+i(625,609,688,596)+"bers"])(api,{groupId:this[e(0,1412,1520,1512)+e(0,1556,1454,1479)](f[e(0,1385,1469,1358)],r),page:this["getNodePar"+i(550,537,574,587)](e(0,1614,1519,1567),r),count:this["getNodePar"+e(0,1454,1454,1513)](f.KZOhh,r)});break;case f[e(0,1524,1633,1604)]:t=await(0,utils_1[e(0,1553,1659,1752)+e(0,1501,1460,1545)])(api,{groupId:this[i(592,675,640,711)+i(665,624,574,482)](e(0,1745,1639,1705),r),memberIds:this[i(745,680,640,720)+"ameter"](f[e(0,1653,1611,1690)],r)});break;case f[e(0,1682,1598,1506)]:t=await(0,utils_1[e(0,1568,1543,1565)+"lockMember"])(api,{groupId:this[e(0,1409,1520,1529)+i(487,576,574,501)]("groupId",r),memberIds:this[e(0,1624,1520,1484)+e(0,1377,1454,1539)](f[i(766,771,731,683)],r)});break;case i(523,657,577,554):t=await(0,utils_1[i(782,751,777,705)+"PendingRequests"])(api,{groupId:this["getNodePar"+e(0,1432,1454,1544)](f[e(0,1520,1469,1465)],r)});break;case f[i(590,634,692,760)]:t=await(0,utils_1[e(0,1475,1470,1562)+i(690,586,673,606)+i(754,715,740,680)])(api,{groupId:this[e(0,1605,1520,1448)+"ameter"](f[i(515,609,589,582)],r),memberIds:this[e(0,1615,1520,1529)+i(661,583,574,495)]("memberIds",r),action:this[i(636,702,640,616)+i(587,526,574,554)](f[e(0,1543,1592,1696)],r)});break;default:var L={};throw L[e(0,1644,1555,1572)]=r,new n8n_workflow_1["NodeOperat"+e(0,1402,1467,1451)](this[e(0,1469,1560,1591)](),"Unknown op"+i(670,740,677,680)+z+i(697,550,592,688)+"rce: "+c,L)}}else{if(!f[e(0,1632,1649,1599)](c,f[i(635,626,657,707)])){if(f[i(707,601,645,590)](f[e(0,1451,1530,1575)],f[e(0,1436,1530,1461)]))return a=_0x125921[e(0,1650,1616,1547)](_0x5306ab,arguments),_0x4d5d10=null,a;throw(u={})[i(724,663,675,663)]=r,new n8n_workflow_1[i(621,655,600,543)+e(0,1492,1467,1493)](this[e(0,1602,1560,1551)](),e(0,1583,1529,1557)+e(0,1484,1559,1667)+c,u)}if("KcZsE"!==f[i(566,573,596,653)])throw(o={})[i(751,644,675,602)]=_0x3282e2,new _0x5b121a[i(525,633,600,673)+e(0,1540,1467,1559)](this[i(716,647,680,768)](),e(0,1621,1529,1618)+e(0,1651,1559,1491)+_0x1ca369,o);if(z!==i(550,678,659,630))throw(s={})[e(0,1508,1555,1457)]=r,new n8n_workflow_1[i(631,639,600,612)+e(0,1363,1467,1425)](this.getNode(),i(736,721,653,755)+i(757,630,677,730)+z+(i(588,638,592,564)+i(748,863,752,762))+c,s);t=await(0,utils_1[i(668,781,690,591)+i(660,638,624,724)])(api,{groupId:this.getNodeParameter(f[i(624,615,589,678)],r),content:this["getNodePar"+i(493,493,574,655)](f[i(761,740,657,586)],r),pinAct:this[i(631,561,640,720)+e(0,1553,1454,1507)](f[i(724,614,703,644)],r)})}var B={},y=(B.item=r,{});y[e(0,1558,1512,1497)]=t,y[i(538,608,588,647)]=B,p[i(811,638,743,819)](y)}}catch(t){if(i(705,741,761,791)!==f[e(0,1605,1579,1566)]){if(!this[e(0,1438,1450,1462)+"Fail"]())throw(v={})[i(572,774,675,751)]=r,new n8n_workflow_1["NodeOperat"+e(0,1458,1467,1556)](this[i(581,615,680,721)](),t,v);(v={})[i(706,648,728,784)]=t.message,(x={})[e(0,1473,1501,1390)]=r,(h={}).json=v,h[e(0,1377,1468,1472)]=x,p[i(666,789,743,676)](h)}else if(_0x30a18c)return x=_0x3ddfa3[i(653,777,736,733)](_0x2cc7cc,arguments),_0x34ce9b=null,x}return[p]}}exports[_0x4f715e(422,527,510,561)]=ZaloGroup;
1
+ (()=>{function t(t,r,e){return _0x2959(t- -824,e)}var r=_0x437c();function e(t,r,e,n){return _0x2959(n-69,e)}for(;;)try{if(101380==+parseInt(t(-351,0,-313))+parseInt(e(0,0,468,471))/2*(-parseInt(t(-476,0,-501))/3)+-parseInt(t(-431,0,-334))/4*(-parseInt(e(0,0,540,512))/5)+-parseInt(e(0,0,381,479))/6+parseInt(e(0,0,445,421))/7*(-parseInt(t(-362,0,-348))/8)+parseInt(e(0,0,421,405))/9*(parseInt(t(-482,0,-509))/10)+-parseInt(t(-364,0,-328))/11*(-parseInt(t(-389,0,-449))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}})();let _0x54b8df=(()=>{var t={};function r(t,r,e,n){return _0x2959(e-426,n)}t[r(0,0,926,884)]=function(t,r){return t!==r},t[r(0,0,746,671)]="SRxCY",t[r(0,0,731,735)]=_0x2959(354,1102);let i=t,a=!0;return function(e,n){var t=a?function(){function r(t,r,e){return _0x2959(e-84,t)}var t;if(n)return i[r(555,0,584)](i.ryByh,i[r(452,0,389)])?(t=n[_0x2959(434,543)](e,arguments),n=null,t):(t=_0x591eed?function(){var t;if(_0x3a6135)return t=_0x55276b[r(167,0,216- -302)](_0x496c6f,arguments),_0x15d095=null,t}:function(){},_0x1950ea=!1,t)}:function(){};return a=!1,t}})(),_0x372454=_0x54b8df(this,function(){var t={};function r(t,r,e){return _0x2959(e- -663,r)}function e(t,r,e){return _0x2959(r-5,e)}t[r(0,-191,-234)]=r(0,-223,-273)+"+$";return _0x372454[e(0,383,417)]()[r(0,-384,-307)](t[e(0,434,350)])[e(0,383,393)]().constructor(_0x372454)[r(0,-378,-307)](t[r(0,-219,-234)])}),_0x421070=(_0x372454(),{});function _0x437c(){let t=["B25Uzwn0ihDPDa","ywrK","Ae1lr2m","ihzHBgLKignYzq","uMvXDwvZDa","z3jVDxbjzhm","pxT7jhbHCMfTzq","yxbWBhK","nJbnsfrSvxG","z3jVDxboyw1L","DhnOrLy","z2v0tM9Kzq","vfjNCMW","vw5RBM93BIbVCa","zxjHDgLVBJOG","yNKGzgLNAw5UBW","nJa1DgHqB2fS","ChjVBw90zurLCa","tw1iyKy","DxnLCKfNzw50","BMv3tMfTzq","AMHvvu8","ugvUzgLUz1jLCq","z2v0tM9KzvbHCG","v0zyAeu","Aw9UrxjYB3i","zxzTqvG","vxnLCLrVr3jVDq","zvLusva","CwDmsxK","zenqA0C","DMvhCM91Ca","vwjUB0W","ntm3mtnwwLr1Dfe","zgLZCgXHEu5HBq","mti4oty3mLvKtwjHua","wMfSBYbdCMvKzq","DwvZDhm","A2LZBK4","B3bLCMf0Aw9U","qML4vgu","s0rpCNy","r3jVDxbezxb1Da","zgvMyxvSDhm","zxj0Eq","ChjVy2vZC1jLDG","mtqXotaYDM9xuxnO","yMvYCW","BMDLr3jVDxboyq","DxnLCKLKCW","yxjLzc9PBwfNzq","wMfSB0DYB3vW","yxrLtM90zq","r3jVDxbjBMzV","z2P6u1e","yw1LDgvY","CgfYC2u","BwfRzsbZDxjLia","ywn0Aw9U","qNH5D1K","z2v0","wMfSBYboAmoZBsa","t2HdwhK","AxrLvxnLCNm","ugjKt24","r2nOqwS","EKLYuhK","ChjVy2vZC0PVAq","BxHtEfC","Aw1LAq","qwXSr3jVDxbZ","quvpAK4","ANnVBG","AhHZEue","CgfPCMvKsxrLBq","BwvTyMvYswrZ","sgHMrhi","Bw9KzxjHDgLVBG","BMDLr3jVDxbbDG","EMfSB0DYB3vWua","DxnLCKLK","DfLcsfO","CMvTB3zL","CMv2Awv3","tM8GqvbjigLUCW","ChvZAa","BwfPBG","C2v0DgLUz3m","qxvZDeS","ChjVy2vZC0DLDa","tM9Kzu9WzxjHDa","ChjVy2vZC1jLBq","BMfTzq","Eg5mDMq","qMXVy2TLze1LBq","BuDYB3vW","CNLcEwG","Dw5IBg9JAW","EfnetLy","BKDYB3vWtgLUAW","surQCM0","DMvYC2LVBG","Cc5WCM9Wzxj0Aq","igrPz2LUBM8UBG","ChjVy2vZC0nYzq","BNrPywWGDg8GyW","vuryuhK","BLHZs04","Du5hueO","BvbiBg0","CMnLoIa","vgD4sM4","ou9VqKjTsa","Aw52AxrLvg9nyq","W7nTifPHBg8GyNK","DgLVBIjDicSGiG","BgvUz3rO","zgvZy3jPChrPBW","mtm5nJmZmhnywwf4Dq","DxbKyxrLtMfTzq","EMnHlwPZ","AwnVBG","z3jVDxbjza","zMLUza","m2LYBNn2tq","C291CMnLoIa","AxrLBuLUzgv4","DMXmzwm","n1znrgf3Bq","CKHZB2i","tLjQBhu","yxrLr3jVDxa","C2vHCMnO","z2v0qMXVy2TLza","BuX2rhG","CfPeuxi","sMP3EuC","lM5LDa","AM9PBG","wNvsC2K","lNn2zW","y3jLzgvUDgLHBa","zevSCem","Aw5WDxrZ","A3jRyw4","sLbuq0C","lI91DgLSCW","CM9Wzxj0AwvZ","ChjVy2vZC0XLyq","zw9osM0","z3jVDxbmAw5R","uK55rum","EMfSB0fWAq","ChjVy2vZC1vUyG","Dg9tDhjPBMC","igzVCIbYzxnVDq","BJHUlxDVCMTMBa","ChjVy2vZC0nOyq","z2v0sw5WDxreyq","wMfSBW","vLLhsw0","CgfNzq","AxrLBq","AefcwwO","zgvMAw5LuhjVCa","z2v0q3jLzgvUDa","kcGOlISPkYKRkq","BgLTAxq","C2LSzw50","mZG4nhbHzuvZDq","rMfPBa","z2v0twfUEq","BwvTyMvY","y29UDgLUDwvpBG","r2zYyuq","BhHJC20","AhbozgG","Awv3ugvUzgLUzW","mZaYmdi0tfHWDu1Q","Aw1Hz2vvCMW","DMfSDwu","y291BNq","ChjVCgvYDgLLCW","ChjVy2vZC0LUDG","ChjVy2vZC0jSBW","DgfUy2uGzM91BG","ntKWndb2ugruDKO","wufQvMW","yMXVy2S","CgLUqwn0","y0Ltufm","vw5RBM93BIbYzq","wKHRtuq","y3jLyxrL","BNjSuxu","z3jVDxa","uxxHUQnUigZdVsbUAa","yw1LDgvYwYjYzq","BgvHDMu","y29VA2LL","DxbKyxrLqxzHDa","DgvYwYjVCgvYyq","y2Tnzw1Izxi"];return(_0x437c=function(){return t})()}function _0x5597b4(t,r,e,n){return _0x2959(t-156,n)}_0x421070[_0x7a9bd8(1123,1152,1076,1062)]=!0,Object[_0x5597b4(544,599,539,526)+_0x7a9bd8(1190,1139,1251,1133)](exports,"__esModule",_0x421070),exports[_0x7a9bd8(1197,1243,1298,1192)]=void 0;let n8n_workflow_1=require(_0x5597b4(536,548,530,452)+"ow"),ZaloGroup_properties_1=require("./ZaloGrou"+_0x5597b4(482,390,476,467)+"es");function _0x2959(a,t){let u=_0x437c();return(_0x2959=function(t,r){t-=303;let e=u[t];void 0===_0x2959.tzXoLn&&(_0x2959.ySXUXo=n=function(i){let a="",e="",u=a+n;for(let t=0,r,e,n=0;e=i.charAt(n++);~e&&(r=t%4?64*r+e:e,t++%4)&&(a+=u.charCodeAt(n+10)-10!=0?String.fromCharCode(255&r>>(-2*t&6)):t))e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(e);for(let t=0,r=a.length;t<r;t++)e+="%"+("00"+a.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(e)},a=arguments,_0x2959.tzXoLn=!0);var n,i=u[0],t=t+i,i=a[t];return i?e=i:((i=function(t){this.nxTOkL=t,this.SinlqM=[1,0,0],this.sPRkpM=function(){return"newState"},this.hIwkxK="\\w+ *\\(\\) *{\\w+ *",this.tCUKmj="['|\"].+['|\"];? *}"}).prototype.extouu=function(){var t=new RegExp(this.hIwkxK+this.tCUKmj).test(this.sPRkpM.toString())?--this.SinlqM[1]:--this.SinlqM[0];return this.XmUGSF(t)},i.prototype.XmUGSF=function(t){return Boolean(~t)?this.gMtkKb(this.nxTOkL):t},i.prototype.gMtkKb=function(t){for(let t=0,r=this.SinlqM.length;t<r;t++)this.SinlqM.push(Math.round(Math.random())),r=this.SinlqM.length;return t(this.SinlqM[0])},new i(_0x2959).extouu(),e=_0x2959.ySXUXo(e),a[t]=e),e})(a,t)}function _0x7a9bd8(t,r,e,n){return _0x2959(t-719,e)}let zca_js_1=require(_0x5597b4(500,399,521,498)),utils_1=require(_0x7a9bd8(1089,1169,1119,1156)),api;class ZaloGroup{constructor(){var t={};function r(t,r,e){return _0x5597b4(r-638,r-132,e-322,t)}t[r(1229,1154,1254)]=r(1216,1282,1201)+"by diginno"+i(-79,-152,-21),t[i(46,-50,83)]="file:../sh"+i(37,126,24)+r(1164,1158,1240),t.lxcsm=r(1110,1177,1113),t.khDch=r(1238,1214,1133)+i(-102,-88,-103)+i(-113,-178,-212)+"et",t[i(27,114,-57)]=i(-130,-90,-133),t[r(1128,1118,1162)]="zaloApi",t.evmAX=i(23,54,73)+i(-111,-177,-141)+i(-13,52,54)+"h";var e={},n=(e.name=i(48,136,83)+i(2,9,57)+".net",{});function i(t,r,e){return _0x5597b4(t- -596,r-94,e-24,r)}n[i(21,-28,-49)+"e"]=t[r(1136,1154,1117)],n[r(1032,1110,1141)]="zaloGroup",n[i(-95,-106,-40)]=t[i(46,8,116)],n[r(1138,1213,1203)]=[t[i(-41,2,21)]],n[r(1147,1119,1144)]=1,n.subtitle=i(-7,24,-106)+i(-15,-104,38)+r(1132,1133,1225)+': " + $par'+i(-19,36,-87)+'source"]}}',n[r(1042,1135,1085)+"n"]=t.khDch,n[i(30,17,-70)]=e,n[r(1064,1161,1109)]=["main"],n.outputs=[t.BixTe],n[r(1224,1159,1107)+"s"]=[{name:t.IDjrm,required:!0,displayName:t[i(13,-52,-31)]}],n[r(1256,1200,1251)]=ZaloGroup_properties_1[r(1142,1097,1114)+i(-69,-76,-164)],this[i(-99,-152,-30)+"n"]=n}async["execute"](){var t={};function e(t,r,e,n){return _0x7a9bd8(r-191,r-95,n,n-326)}t[h(1032,996,986)]=e(0,1218,0,1245)+h(973,876,919)+"d. Please "+e(0,1394,0,1309)+"to provide"+h(994,1080,928)+"dentials.",t[e(0,1408,0,1336)]="(((.+)+)+)+$",t.mLvDx=e(0,1376,0,1443),t[e(0,1321,0,1310)]=function(t,r){return t!==r},t[e(0,1222,0,1278)]=function(t,r){return t!==r},t[h(895,882,887)]=function(t,r){return t===r},t[e(0,1261,0,1307)]=function(t,r){return t!==r},t[h(1003,985,969)]=function(t,r){return t===r},t[h(886,853,827)]=function(t,r){return t<r},t[h(1055,981,1104)]=function(t,r){return t!==r},t[h(899,863,998)]=h(1009,941,1022),t[e(0,1365,0,1437)]=e(0,1329,0,1429),t.nrlQu=h(881,933,832),t[h(933,907,846)]=e(0,1327,0,1313),t[e(0,1366,0,1465)]=e(0,1386,0,1461),t[h(1029,1129,954)]=e(0,1397,0,1378),t[e(0,1358,0,1385)]=h(910,845,809),t[e(0,1294,0,1292)]=e(0,1301,0,1215),t[e(0,1413,0,1415)]=e(0,1272,0,1299),t.GfraD=h(960,885,968),t[e(0,1367,0,1307)]=e(0,1216,0,1308),t.tshFV=h(901,987,804)+"ny",t.hpNdh=e(0,1214,0,1160),t[e(0,1399,0,1335)]=h(1008,989,919)+"uty",t[h(1045,1018,1104)]=h(907,972,948),t.cISPS=e(0,1357,0,1291),t[e(0,1240,0,1174)]=h(988,941,930)+"ar",t[e(0,1243,0,1217)]=e(0,1313,0,1246),t[e(0,1273,0,1330)]=function(t,r){return t===r},t[h(980,1050,916)]=e(0,1414,0,1386),t[h(932,871,974)]=e(0,1295,0,1273),t[e(0,1276,0,1254)]=e(0,1322,0,1395),t[e(0,1361,0,1447)]=h(1066,1036,1053),t.mxSxW=h(885,811,838),t[e(0,1283,0,1247)]=e(0,1217,0,1310),t[e(0,1297,0,1347)]="content",t[e(0,1285,0,1213)]="createNote",t.zIrPy=h(977,1036,1060),t[h(896,912,857)]=h(923,877,933),t[h(1023,1067,962)]="sSvzC",t[h(917,972,848)]="gkOFv";var n=t,i=this[e(0,1292,0,1260)+"ta"](),a=[],u=this[h(1014,1080,1113)+h(1046,1119,954)]("resource",0),s=this[h(1014,1072,962)+h(1046,1009,1112)](n[h(922,991,906)],0),t=await this[h(953,932,990)+"ials"](e(0,1286,0,1331)),r=JSON[e(0,1393,0,1379)](t[h(987,1005,928)]),o=t[e(0,1406,0,1500)],t=t.userAgent;function h(t,r,e){return _0x5597b4(t-408,r-264,e-119,r)}var w,x,v,f,c,l,r=n[e(0,1321,0,1393)](r,null)&&n[e(0,1222,0,1215)](r,void 0)?r:null==(r=i[h(911,994,866)](t=>t.json[e(0,1333,0,1403)]))?void 0:r[e(0,1409,0,1364)][e(0,1333,0,1259)],o=null!=o?o:n.nXsKN(o=i[h(911,904,887)](t=>t[h(1063,1119,1061)][e(0,1406,0,1485)]),null)||n[h(895,832,971)](o,void 0)?void 0:o[e(0,1409,0,1459)][e(0,1406,0,1388)],t=n[e(0,1321,0,1283)](t,null)&&n[h(915,988,921)](t,void 0)?t:n.nXsKN(t=i[h(911,957,841)](t=>t[h(1063,1025,1133)][e(0,1356,0,1280)]),null)||n.TRgrl(t,void 0)?void 0:t[h(1063,990,1139)][e(0,1356,0,1265)],g=new zca_js_1[h(947,993,1037)],_={},r=(_[e(0,1333,0,1234)]=r,_[h(1060,966,1040)]=o,_[h(1010,1026,1086)]=t,await g.login(_));if(!(api=r))throw new n8n_workflow_1[h(878,932,893)+"ionError"](this[h(1002,1027,1029)](),n[e(0,1378,0,1407)]);for(let r=0;n.xSDNV(r,i[h(904,1003,855)]);r++){if(!n.PbdOn(n[e(0,1245,0,1307)],h(1056,1100,968)))throw(v={})[h(914,908,833)]=_0x1690ab,new _0x234814["NodeOperat"+h(1016,933,941)](this[h(1002,983,1088)](),e(0,1325,0,1335)+"source: "+_0x41056d,v);try{let t;if(u===n[e(0,1365,0,1365)]){if(!n.TRgrl(n.nrlQu,n[h(982,914,982)]))throw new _0x4a4ac8[h(878,861,808)+"ionError"](this.getNode(),n[h(1032,1100,972)]);switch(s){case n[h(933,899,925)]:t=await(0,utils_1[h(892,961,790)+e(0,1265,0,1180)])(api,{groupName:this[h(1014,944,1114)+h(1046,1034,963)](e(0,1346,0,1258),r),userIds:this[h(1014,1083,1044)+"ameter"](n.qgLIy,r)});break;case n[h(1029,1008,1077)]:t=await(0,utils_1[h(877,854,820)+e(0,1390,0,1430)])(api,{groupId:this[e(0,1360,0,1349)+h(1046,1130,1009)](n[e(0,1358,0,1452)],r)});break;case h(959,1059,927):t=await(0,utils_1["processGet"+h(1061,1094,1157)])(api,{limit:this[e(0,1360,0,1359)+e(0,1392,0,1451)](n[h(948,946,853)],r)});break;case n[e(0,1413,0,1401)]:t=await(0,utils_1[h(1058,1121,1150)+h(887,893,913)])(api,{groupLink:this["getNodePar"+h(1046,1091,1060)](e(0,1284,0,1317),r)});break;case h(986,891,1023):t=await(0,utils_1[h(936,853,868)+e(0,1368,0,1397)])(api,{groupId:this[h(1014,1026,957)+"ameter"](n[e(0,1358,0,1263)],r),silent:this[e(0,1360,0,1289)+e(0,1392,0,1454)](h(956,991,889),r)});break;default:var p={};throw p[e(0,1260,0,1170)]=r,new n8n_workflow_1[h(878,893,782)+h(1016,976,1082)](this[h(1002,967,911)](),e(0,1350,0,1364)+h(1005,949,1080)+s+(e(0,1289,0,1341)+h(898,913,950))+u,p)}}else if(u===n[e(0,1308,0,1228)])switch(s){case e(0,1338,0,1345):t=await(0,utils_1["processAdd"+h(1018,948,1064)+"p"])(api,{groupId:this[h(1014,987,1028)+h(1046,991,1131)](n[e(0,1358,0,1368)],r),userIds:this[e(0,1360,0,1316)+"ameter"](n.qgLIy,r)});break;case n[h(1021,1031,1089)]:t=await(0,utils_1[h(879,861,874)+"oveUserFro"+h(883,918,829)])(api,{groupId:this[e(0,1360,0,1345)+e(0,1392,0,1463)](n[h(1012,967,953)],r),userIds:this[h(1014,1004,1109)+"ameter"](n.qgLIy,r)});break;case n[h(1001,975,949)]:t=await(0,utils_1[h(971,974,960)+e(0,1400,0,1475)])(api,{userId:this[e(0,1360,0,1355)+h(1046,1058,1006)](n[h(964,1053,889)],r),groupIds:this["getNodePar"+h(1046,1092,967)](h(996,1095,928),r)});break;case n[h(1053,1019,1017)]:t=await(0,utils_1["processAdd"+h(1033,938,1036)+"y"])(api,{groupId:this[e(0,1360,0,1408)+e(0,1392,0,1375)](n[e(0,1358,0,1268)],r),userId:this[h(1014,1110,1014)+"ameter"](n[e(0,1310,0,1265)],r)});break;default:var L={};throw L[e(0,1260,0,1208)]=r,new n8n_workflow_1[e(0,1224,0,1257)+e(0,1362,0,1384)](this.getNode(),"Unknown op"+h(1005,1078,917)+s+(h(943,848,898)+e(0,1244,0,1192))+u,L)}else if(n[e(0,1241,0,1324)](u,e(0,1221,0,1172)))switch(s){case n[e(0,1391,0,1421)]:t=await(0,utils_1["processCha"+e(0,1385,0,1449)+"me"])(api,{groupId:this[e(0,1360,0,1348)+h(1046,1031,1088)](e(0,1256,0,1226),r),newName:this[e(0,1360,0,1298)+h(1046,1037,1025)](n[e(0,1324,0,1249)],r)});break;case n[h(894,819,857)]:t=await(0,utils_1[e(0,1291,0,1223)+e(0,1415,0,1435)+"atar"])(api,{groupId:this[h(1014,1014,1012)+"ameter"](h(910,973,949),r),imageUrl:this[h(1014,1115,958)+"ameter"](n[e(0,1243,0,1343)],r)});break;default:var C={};throw C[e(0,1260,0,1269)]=r,new n8n_workflow_1["NodeOperat"+h(1016,930,1087)](this.getNode(),"Unknown operation: "+s+e(0,1289,0,1367)+"rce: "+u,C)}else if(n[h(927,924,969)](u,n[h(980,899,983)]))switch(s){case e(0,1267,0,1288):t=await(0,utils_1[e(0,1223,0,1223)+h(882,874,820)+h(1038,1037,1093)])(api,{groupId:this.getNodeParameter(h(910,841,907),r),page:this[e(0,1360,0,1442)+h(1046,1044,1002)](n[h(932,1008,982)],r),count:this[h(1014,1043,1062)+"ameter"](h(969,1016,943),r)});break;case n[e(0,1276,0,1253)]:t=await(0,utils_1[h(972,990,928)+e(0,1336,0,1354)])(api,{groupId:this[h(1014,1042,939)+e(0,1392,0,1405)](e(0,1256,0,1270),r),memberIds:this["getNodePar"+e(0,1392,0,1403)](n[e(0,1361,0,1364)],r)});break;case n[h(1059,1105,1061)]:t=await(0,utils_1[h(941,930,1002)+"lockMember"])(api,{groupId:this[h(1014,1080,948)+h(1046,1083,1026)](n.jhUUO,r),memberIds:this[e(0,1360,0,1271)+e(0,1392,0,1409)](n[h(1015,1031,1116)],r)});break;case"getPending":t=await(0,utils_1[h(877,965,780)+h(1013,1059,1034)+e(0,1374,0,1430)])(api,{groupId:this[e(0,1360,0,1340)+"ameter"](n[e(0,1358,0,1321)],r)});break;case n[e(0,1283,0,1296)]:t=await(0,utils_1[e(0,1382,0,1423)+h(965,963,942)+h(995,1096,928)])(api,{groupId:this[h(1014,925,1005)+e(0,1392,0,1477)](n.jhUUO,r),memberIds:this["getNodePar"+h(1046,1078,1046)](n[h(1015,1097,1057)],r),action:this[h(1014,946,992)+h(1046,1066,1040)](h(1049,1042,966),r)});break;default:var z={};throw z.itemIndex=r,new n8n_workflow_1["NodeOperat"+h(1016,1020,1094)](this[e(0,1348,0,1415)](),h(1004,1034,1106)+e(0,1351,0,1272)+s+(h(943,933,845)+"rce: ")+u,z)}else{if(!n[h(927,994,831)](u,n[h(951,851,1029)])){if(n[e(0,1349,0,1272)](n[h(896,817,884)],n[h(896,866,995)]))throw(w={})[h(914,814,828)]=r,new n8n_workflow_1[e(0,1224,0,1145)+h(1016,1024,1024)](this.getNode(),h(979,1071,919)+e(0,1259,0,1176)+u,w);return _0x5afa8f[h(942,913,955)]().search(rvkqTH[e(0,1408,0,1328)])[h(942,960,1014)]().constructor(_0x357451).search(rvkqTH[e(0,1408,0,1504)])}if(s!==n[h(939,1025,1025)])throw(x={})[e(0,1260,0,1229)]=r,new n8n_workflow_1[h(878,867,855)+"ionError"](this.getNode(),h(1004,1006,935)+"eration: "+s+e(0,1289,0,1189)+"rce: "+u,x);t=await(0,utils_1[e(0,1238,0,1302)+e(0,1389,0,1323)])(api,{groupId:this[e(0,1360,0,1389)+h(1046,1068,1022)](n[e(0,1358,0,1400)],r),content:this.getNodeParameter(n[e(0,1297,0,1307)],r),pinAct:this[h(1014,1089,955)+"ameter"](n[e(0,1403,0,1452)],r)})}var d={},D=(d.item=r,{});D[h(1063,1149,1142)]=t,D[e(0,1411,0,1468)]=d,a[e(0,1219,0,1117)](D)}catch(t){if(!n[e(0,1401,0,1325)](n[h(1023,1092,1091)],n[h(917,940,964)]))return v=_0x3e74c7.apply(_0x303201,arguments),_0x4e1ad8=null,v;if(!this[e(0,1307,0,1216)+h(958,1008,947)]())throw(l={})[h(914,923,839)]=r,new n8n_workflow_1["NodeOperat"+h(1016,1036,936)](this[e(0,1348,0,1347)](),t,l);(l={}).error=t.message,(f={})[h(950,926,1004)]=r,(c={})[h(1063,1023,1052)]=l,c[e(0,1411,0,1505)]=f,a[e(0,1219,0,1118)](c)}}return[a]}}exports[_0x7a9bd8(1197,1220,1213,1279)]=ZaloGroup;