@tangle-network/sandbox 0.0.0-develop.20260514223840.b2abd84 → 0.0.0-develop.20260514231605.7fc2cdd

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.
@@ -1 +1 @@
1
- const a0_0x30f565=a0_0x5ec4;(function(_0x5441ea,_0x5eb487){const _0x3d28bf=a0_0x5ec4,_0x507ef0=_0x5441ea();while(!![]){try{const _0xf9b453=parseInt(_0x3d28bf(0x15c))/0x1+parseInt(_0x3d28bf(0x14f))/0x2*(parseInt(_0x3d28bf(0x15f))/0x3)+parseInt(_0x3d28bf(0x156))/0x4+-parseInt(_0x3d28bf(0x182))/0x5*(parseInt(_0x3d28bf(0x174))/0x6)+parseInt(_0x3d28bf(0x179))/0x7*(-parseInt(_0x3d28bf(0x157))/0x8)+-parseInt(_0x3d28bf(0x165))/0x9+parseInt(_0x3d28bf(0x14b))/0xa*(parseInt(_0x3d28bf(0x173))/0xb);if(_0xf9b453===_0x5eb487)break;else _0x507ef0['push'](_0x507ef0['shift']());}catch(_0x5e70c9){_0x507ef0['push'](_0x507ef0['shift']());}}}(a0_0x3436,0x49bc4));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x7d26d9){const _0x59609b=a0_0x5ec4;return(typeof _0x7d26d9===_0x59609b(0x177)?Buffer[_0x59609b(0x167)](_0x7d26d9):_0x7d26d9)[_0x59609b(0x16b)](_0x59609b(0x159))[_0x59609b(0x16f)](/\+/g,'\x2d')['\x72\x65\x70\x6c\x61\x63\x65'](/\//g,'\x5f')[_0x59609b(0x16f)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x31f8be){const _0x207b05=a0_0x5ec4,_0x47974c={'\x50\x75\x64\x54\x6d':function(_0x42e338,_0x3d21aa){return _0x42e338+_0x3d21aa;},'\x4a\x43\x61\x4e\x77':function(_0x3b5d3d,_0x16066e){return _0x3b5d3d%_0x16066e;},'\x5a\x52\x57\x6f\x54':function(_0x3aef59,_0x8409ad){return _0x3aef59-_0x8409ad;}};if(!/^[A-Za-z0-9_-]*$/[_0x207b05(0x151)](_0x31f8be))return null;const _0x634314=_0x47974c[_0x207b05(0x187)](_0x31f8be,'\x3d'[_0x207b05(0x186)](_0x47974c[_0x207b05(0x17a)](_0x47974c[_0x207b05(0x16d)](0x4,_0x31f8be[_0x207b05(0x16a)]%0x4),0x4)));return Buffer[_0x207b05(0x167)](_0x634314[_0x207b05(0x16f)](/-/g,'\x2b')[_0x207b05(0x16f)](/_/g,'\x2f'),_0x207b05(0x159));}function createSignature(_0x1db0c2,_0x45558d){const _0x14f1a4=a0_0x5ec4,_0x162160={'\x45\x59\x71\x66\x41':function(_0x28e2e7,_0x248c6b){return _0x28e2e7(_0x248c6b);}};return _0x162160[_0x14f1a4(0x15e)](base64UrlEncode,createHmac(_0x14f1a4(0x14c),_0x45558d)[_0x14f1a4(0x166)](_0x1db0c2)[_0x14f1a4(0x160)]());}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0x30f565(0x16c),'\x74\x79\x70':'\x4a\x57\x54'}));function issueToken(_0x4e9e90,_0x26a5fc,_0x360cd1){const _0x41e8ce=a0_0x30f565,_0x443429={'\x63\x44\x4a\x4c\x6b':function(_0x19249a,_0xf218dc){return _0x19249a/_0xf218dc;}},_0x3b8ac4=Math[_0x41e8ce(0x17e)](_0x443429[_0x41e8ce(0x176)](Date[_0x41e8ce(0x168)](),0x3e8)),_0x53ee64={..._0x26a5fc,'\x69\x61\x74':_0x3b8ac4,'\x65\x78\x70':_0x3b8ac4+_0x360cd1*0x3c},_0x479c89=JWT_HEADER+'\x2e'+base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x53ee64));return _0x479c89+'\x2e'+createSignature(_0x479c89,_0x4e9e90);}function issueReadToken(_0xa647a7,_0x1db5bc,_0x2012a8){const _0x14b0c6=a0_0x30f565;return issueToken(_0xa647a7,{..._0x1db5bc,'\x74\x79\x70':_0x14b0c6(0x164)},_0x2012a8);}function a0_0x3436(){const _0x511116=['\x72\x65\x58\x66\x43\x4c\x6d','\x6d\x4a\x61\x35\x6e\x64\x79\x34\x45\x4c\x7a\x73\x43\x4d\x54\x56','\x7a\x32\x76\x30\x76\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x72\x76\x4c\x58\x7a\x4b\x65','\x6e\x5a\x76\x66\x72\x65\x50\x75\x7a\x75\x53','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x44\x67\x4c\x4c\x43\x47','\x71\x4d\x72\x78\x77\x4d\x4b','\x43\x33\x62\x53\x41\x78\x71','\x43\x4d\x76\x48\x7a\x61','\x6d\x4a\x6d\x33\x6e\x5a\x69\x32\x77\x76\x62\x41\x72\x4b\x48\x49','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x7a\x4e\x6a\x56\x42\x71','\x42\x4d\x39\x33','\x79\x77\x58\x4e','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x73\x66\x6d\x59\x6e\x74\x79','\x77\x4c\x6a\x78\x42\x31\x71','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x73\x75\x48\x49\x42\x30\x43','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x6e\x74\x79\x58\x41\x30\x4c\x77\x42\x67\x66\x30','\x6e\x64\x75\x34\x6d\x74\x7a\x5a\x45\x68\x4c\x4d\x75\x33\x71','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x79\x30\x72\x6b\x74\x67\x53','\x43\x33\x72\x59\x41\x77\x35\x4e','\x75\x31\x44\x4d\x73\x30\x6d','\x6d\x5a\x65\x59\x6f\x77\x48\x53\x71\x76\x72\x6b\x77\x47','\x73\x4b\x6e\x48\x74\x4e\x43','\x43\x68\x6a\x56','\x71\x4d\x6a\x4c\x79\x76\x75','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x7a\x4d\x58\x56\x42\x33\x69','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x75\x30\x35\x6a\x73\x66\x43','\x6d\x4a\x75\x57\x45\x4d\x54\x4c\x44\x30\x48\x75','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x41\x77\x7a\x79\x7a\x33\x71','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x75\x68\x76\x4b\x76\x67\x30','\x43\x67\x66\x59\x43\x32\x75','\x6e\x4a\x69\x30\x6e\x74\x62\x78\x41\x67\x7a\x4b\x76\x30\x38','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x7a\x4e\x6a\x4c\x7a\x71','\x6d\x4a\x79\x30\x6d\x5a\x48\x63\x74\x65\x31\x65\x76\x77\x38','\x73\x4c\x48\x68\x7a\x68\x4f','\x44\x67\x76\x5a\x44\x61','\x7a\x78\x48\x57','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x41\x78\x6e\x5a\x44\x77\x75','\x77\x4e\x76\x56\x45\x4e\x75','\x6e\x5a\x69\x32\x6e\x5a\x69\x34\x77\x4c\x48\x78\x71\x76\x66\x58','\x6e\x74\x4b\x57\x6e\x65\x44\x50\x72\x33\x6e\x52\x45\x47','\x72\x77\x50\x66\x77\x77\x47','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b'];a0_0x3436=function(){return _0x511116;};return a0_0x3436();}function issueSessionScopedToken(_0x49c1a7,_0x2e636f,_0x2226e9){return issueReadToken(_0x49c1a7,_0x2e636f,_0x2226e9);}function issueProjectScopedToken(_0x113c02,_0x173bab,_0xd45922){return issueReadToken(_0x113c02,_0x173bab,_0xd45922);}function issueBatchScopedToken(_0x42f481,_0x2ba14c,_0x3501b0){return issueReadToken(_0x42f481,_0x2ba14c,_0x3501b0);}function issueCollaborationToken(_0x2d971f,_0x19a7ae,_0x253790){const _0xf8a27e=a0_0x30f565;return issueToken(_0x2d971f,{'\x73\x75\x62':_0x19a7ae[_0xf8a27e(0x15a)],'\x73\x69\x64':_0x19a7ae['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':_0x19a7ae[_0xf8a27e(0x172)],'\x63\x69\x64':_0x19a7ae[_0xf8a27e(0x170)],'\x74\x79\x70':_0xf8a27e(0x16e),'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x19a7ae[_0xf8a27e(0x183)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x19a7ae[_0xf8a27e(0x17d)],'\x61\x63\x63\x65\x73\x73':_0x19a7ae[_0xf8a27e(0x180)]},_0x253790);}function unsafeDecodeToken(_0x50638f){const _0x28821f=a0_0x30f565,_0x274c8e={'\x4a\x58\x47\x64\x7a':function(_0x28db2d,_0x411a0d){return _0x28db2d%_0x411a0d;},'\x5a\x75\x6f\x7a\x75':_0x28821f(0x159)};try{const _0x1d1924=_0x50638f[_0x28821f(0x163)]('\x2e');if(_0x1d1924[_0x28821f(0x16a)]!==0x3)return null;const _0x186449=_0x1d1924[0x1]+'\x3d'[_0x28821f(0x186)]((0x4-_0x274c8e[_0x28821f(0x150)](_0x1d1924[0x1]['\x6c\x65\x6e\x67\x74\x68'],0x4))%0x4),_0x2d3a71=Buffer[_0x28821f(0x167)](_0x186449[_0x28821f(0x16f)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x274c8e[_0x28821f(0x155)])[_0x28821f(0x16b)]();return JSON[_0x28821f(0x14a)](_0x2d3a71);}catch{return null;}}function verifyToken(_0x43f1a1,_0x2be8f2,_0x4eb6b2={}){const _0x42a62d=a0_0x30f565,_0x358ca7={'\x45\x6a\x45\x59\x68':function(_0x12db83,_0x44bfcc){return _0x12db83%_0x44bfcc;},'\x42\x64\x57\x5a\x69':_0x42a62d(0x159),'\x72\x63\x57\x61\x6d':_0x42a62d(0x16c),'\x69\x66\x58\x67\x74':function(_0x302b58,_0x2790e7){return _0x302b58(_0x2790e7);},'\x68\x72\x62\x7a\x6a':function(_0x233f65,_0x30a68c){return _0x233f65!==_0x30a68c;},'\x72\x41\x77\x68\x46':function(_0x2558e6,_0x509c73){return _0x2558e6!==_0x509c73;},'\x6b\x6f\x54\x72\x42':function(_0x207ec0,_0x46dc0b){return _0x207ec0<_0x46dc0b;},'\x53\x57\x66\x4b\x43':function(_0x7661b8,_0x52e0d6){return _0x7661b8+_0x52e0d6;}};try{const _0x228760=_0x43f1a1[_0x42a62d(0x163)]('\x2e');if(_0x228760['\x6c\x65\x6e\x67\x74\x68']!==0x3)return null;const [_0x4853ff,_0x1bb7da,_0x4e13dd]=_0x228760;if(!_0x4853ff||!_0x1bb7da||!_0x4e13dd)return null;let _0x56faad;try{const _0x2502e6=_0x4853ff+'\x3d'[_0x42a62d(0x186)]((0x4-_0x358ca7[_0x42a62d(0x158)](_0x4853ff['\x6c\x65\x6e\x67\x74\x68'],0x4))%0x4),_0x39c566=Buffer[_0x42a62d(0x167)](_0x2502e6[_0x42a62d(0x16f)](/-/g,'\x2b')[_0x42a62d(0x16f)](/_/g,'\x2f'),_0x358ca7[_0x42a62d(0x162)])[_0x42a62d(0x16b)]();_0x56faad=JSON[_0x42a62d(0x14a)](_0x39c566);}catch{return null;}if(_0x56faad[_0x42a62d(0x169)]!==_0x358ca7['\x72\x63\x57\x61\x6d'])return null;const _0x1c5326=createSignature(_0x4853ff+'\x2e'+_0x1bb7da,_0x2be8f2),_0x5d8612=_0x358ca7[_0x42a62d(0x184)](decodeBase64UrlToBuffer,_0x4e13dd),_0x40edf5=_0x358ca7[_0x42a62d(0x184)](decodeBase64UrlToBuffer,_0x1c5326);if(!_0x5d8612||!_0x40edf5)return null;if(_0x358ca7['\x68\x72\x62\x7a\x6a'](_0x5d8612[_0x42a62d(0x16a)],_0x40edf5[_0x42a62d(0x16a)]))return null;if(!timingSafeEqual(_0x5d8612,_0x40edf5))return null;const _0x1a0eef=_0x358ca7[_0x42a62d(0x184)](unsafeDecodeToken,_0x43f1a1);if(!_0x1a0eef)return null;const _0x487389=Math[_0x42a62d(0x17e)](Date[_0x42a62d(0x168)]()/0x3e8),_0x5d7add=Math['\x6d\x61\x78'](0x0,_0x4eb6b2['\x63\x6c\x6f\x63\x6b\x53\x6b\x65\x77\x53\x65\x63\x6f\x6e\x64\x73']??0x0);if(_0x358ca7['\x72\x41\x77\x68\x46'](typeof _0x1a0eef[_0x42a62d(0x152)],_0x42a62d(0x14d))||_0x358ca7['\x6b\x6f\x54\x72\x42'](_0x358ca7[_0x42a62d(0x178)](_0x1a0eef[_0x42a62d(0x152)],_0x5d7add),_0x487389))return null;return _0x1a0eef;}catch{return null;}}function getTokenTTL(_0x5d389a){const _0x3f1be9=a0_0x30f565,_0x5f5994=Math[_0x3f1be9(0x17e)](Date[_0x3f1be9(0x168)]()/0x3e8);return _0x5d389a[_0x3f1be9(0x152)]-_0x5f5994;}function isTokenExpiringSoon(_0x489987,_0x5cf8dc=0x3c){return getTokenTTL(_0x489987)<=_0x5cf8dc;}function a0_0x5ec4(_0x225975,_0x2d9d8){_0x225975=_0x225975-0x14a;const _0x34361c=a0_0x3436();let _0x5ec432=_0x34361c[_0x225975];if(a0_0x5ec4['\x4e\x62\x41\x5a\x55\x4b']===undefined){var _0x2bb31b=function(_0x257f2f){const _0x53a201='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x5130b9='',_0x4029f0='';for(let _0x16e0c9=0x0,_0x489768,_0x3fcd0e,_0x5d7b96=0x0;_0x3fcd0e=_0x257f2f['\x63\x68\x61\x72\x41\x74'](_0x5d7b96++);~_0x3fcd0e&&(_0x489768=_0x16e0c9%0x4?_0x489768*0x40+_0x3fcd0e:_0x3fcd0e,_0x16e0c9++%0x4)?_0x5130b9+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x489768>>(-0x2*_0x16e0c9&0x6)):0x0){_0x3fcd0e=_0x53a201['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3fcd0e);}for(let _0x2f1fb3=0x0,_0x38d5b0=_0x5130b9['\x6c\x65\x6e\x67\x74\x68'];_0x2f1fb3<_0x38d5b0;_0x2f1fb3++){_0x4029f0+='\x25'+('\x30\x30'+_0x5130b9['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2f1fb3)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x4029f0);};a0_0x5ec4['\x57\x42\x68\x47\x4b\x4b']=_0x2bb31b,a0_0x5ec4['\x78\x49\x73\x70\x7a\x73']={},a0_0x5ec4['\x4e\x62\x41\x5a\x55\x4b']=!![];}const _0x2fd554=_0x34361c[0x0],_0x1ce3e1=_0x225975+_0x2fd554,_0x3ec76f=a0_0x5ec4['\x78\x49\x73\x70\x7a\x73'][_0x1ce3e1];return!_0x3ec76f?(_0x5ec432=a0_0x5ec4['\x57\x42\x68\x47\x4b\x4b'](_0x5ec432),a0_0x5ec4['\x78\x49\x73\x70\x7a\x73'][_0x1ce3e1]=_0x5ec432):_0x5ec432=_0x3ec76f,_0x5ec432;}var ProductTokenIssuer=class{[a0_0x30f565(0x172)];[a0_0x30f565(0x185)];['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'];constructor(_0x2358e8){const _0x5d607=a0_0x30f565;this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64']=_0x2358e8[_0x5d607(0x172)],this[_0x5d607(0x185)]=_0x2358e8['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],this[_0x5d607(0x17f)]={'\x66\x72\x65\x65':_0x2358e8[_0x5d607(0x17f)]?.['\x66\x72\x65\x65']??0xf,'\x70\x72\x6f':_0x2358e8[_0x5d607(0x17f)]?.[_0x5d607(0x17b)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x2358e8['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.['\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65']??0x1e0};}[a0_0x30f565(0x154)](_0x306ca9){const _0x536ebd=a0_0x30f565,_0x1b29ef={'\x49\x48\x62\x6f\x47':_0x536ebd(0x14e),'\x53\x4e\x49\x48\x57':function(_0x129550,_0x1a7c4d){return _0x129550+_0x1a7c4d;},'\x44\x4c\x45\x72\x53':function(_0x3f6d81,_0x55ec0e){return _0x3f6d81/_0x55ec0e;},'\x42\x62\x65\x61\x55':function(_0x1139c5,_0x194024){return _0x1139c5*_0x194024;}},_0x376597=_0x306ca9[_0x536ebd(0x161)]??_0x1b29ef[_0x536ebd(0x171)],_0x37ce7a=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x376597]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':issueReadToken(this[_0x536ebd(0x185)],{'\x73\x75\x62':_0x306ca9[_0x536ebd(0x15a)],'\x73\x69\x64':_0x306ca9['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x63\x69\x64':_0x306ca9[_0x536ebd(0x170)]},_0x37ce7a),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x1b29ef[_0x536ebd(0x181)](Math[_0x536ebd(0x17e)](_0x1b29ef[_0x536ebd(0x15b)](Date[_0x536ebd(0x168)](),0x3e8)),_0x1b29ef[_0x536ebd(0x17c)](_0x37ce7a,0x3c))};}[a0_0x30f565(0x175)](_0x2bd10b){const _0x29c684=a0_0x30f565,_0x2af216=_0x2bd10b[_0x29c684(0x161)]??_0x29c684(0x14e),_0x46129c=this[_0x29c684(0x17f)][_0x2af216]??this[_0x29c684(0x17f)]['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x29c684(0x185)],{'\x75\x73\x65\x72\x49\x64':_0x2bd10b[_0x29c684(0x15a)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x2bd10b[_0x29c684(0x153)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x2bd10b[_0x29c684(0x183)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x2bd10b[_0x29c684(0x17d)],'\x61\x63\x63\x65\x73\x73':_0x2bd10b[_0x29c684(0x180)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x2bd10b['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64']},_0x46129c),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0x29c684(0x17e)](Date[_0x29c684(0x168)]()/0x3e8)+_0x46129c*0x3c};}[a0_0x30f565(0x15d)](_0x190c38=a0_0x30f565(0x14e)){const _0x390045=a0_0x30f565;return this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x190c38]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x390045(0x14e)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
1
+ const a0_0x30ce0f=a0_0x51cf;(function(_0x33003d,_0x3cb6f6){const _0x4c5136=a0_0x51cf,_0xd56eeb=_0x33003d();while(!![]){try{const _0x4a29ed=-parseInt(_0x4c5136(0x117))/0x1*(-parseInt(_0x4c5136(0xeb))/0x2)+-parseInt(_0x4c5136(0xf5))/0x3+-parseInt(_0x4c5136(0x10d))/0x4*(parseInt(_0x4c5136(0xec))/0x5)+-parseInt(_0x4c5136(0x103))/0x6+-parseInt(_0x4c5136(0x124))/0x7*(-parseInt(_0x4c5136(0x11d))/0x8)+parseInt(_0x4c5136(0xfa))/0x9+-parseInt(_0x4c5136(0xfc))/0xa;if(_0x4a29ed===_0x3cb6f6)break;else _0xd56eeb['push'](_0xd56eeb['shift']());}catch(_0x4849e6){_0xd56eeb['push'](_0xd56eeb['shift']());}}}(a0_0x3b34,0xba6f1));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x1c6f97){const _0x89b46c=a0_0x51cf,_0x1055ee={'\x76\x53\x6a\x52\x69':'\x73\x74\x72\x69\x6e\x67'};return(typeof _0x1c6f97===_0x1055ee['\x76\x53\x6a\x52\x69']?Buffer['\x66\x72\x6f\x6d'](_0x1c6f97):_0x1c6f97)[_0x89b46c(0xf0)]('\x62\x61\x73\x65\x36\x34')[_0x89b46c(0x105)](/\+/g,'\x2d')['\x72\x65\x70\x6c\x61\x63\x65'](/\//g,'\x5f')[_0x89b46c(0x105)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x596f78){const _0x10a200=a0_0x51cf,_0x2bf535={'\x69\x6e\x68\x61\x4b':function(_0x489a36,_0x14ab91){return _0x489a36%_0x14ab91;}};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x596f78))return null;const _0x85e03d=_0x596f78+'\x3d'[_0x10a200(0xf9)]((0x4-_0x2bf535['\x69\x6e\x68\x61\x4b'](_0x596f78[_0x10a200(0x10b)],0x4))%0x4);return Buffer[_0x10a200(0x10f)](_0x85e03d[_0x10a200(0x105)](/-/g,'\x2b')[_0x10a200(0x105)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34');}function createSignature(_0xc79ccb,_0x340eef){const _0x1970f5=a0_0x51cf;return base64UrlEncode(createHmac(_0x1970f5(0x10e),_0x340eef)[_0x1970f5(0x102)](_0xc79ccb)[_0x1970f5(0x11b)]());}const JWT_HEADER=base64UrlEncode(JSON[a0_0x30ce0f(0xed)]({'\x61\x6c\x67':'\x48\x53\x32\x35\x36','\x74\x79\x70':a0_0x30ce0f(0x111)}));function a0_0x3b34(){const _0x2c90d2=['\x6d\x74\x65\x35\x6f\x74\x47\x59\x6e\x4a\x62\x54\x7a\x4d\x58\x79\x7a\x4d\x57','\x7a\x31\x7a\x58\x42\x65\x79','\x43\x78\x76\x59\x41\x4d\x57','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x6e\x64\x71\x35\x6f\x74\x61\x34\x6f\x65\x31\x62\x75\x66\x6e\x6b\x41\x71','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x44\x77\x4c\x67\x41\x4d\x57','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x71\x4b\x72\x63\x41\x4b\x57','\x7a\x4e\x6a\x4c\x7a\x71','\x77\x4b\x31\x72\x72\x31\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x6e\x66\x72\x64\x43\x65\x44\x6c\x73\x57','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x7a\x4e\x6a\x56\x42\x71','\x44\x67\x4c\x4c\x43\x47','\x73\x4c\x44\x75','\x77\x75\x48\x53\x75\x75\x30','\x43\x67\x66\x59\x43\x32\x75','\x41\x77\x54\x6c\x71\x33\x43','\x74\x4c\x66\x59\x75\x65\x4b','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x6e\x64\x4b\x35\x6f\x75\x58\x6d\x76\x78\x50\x56\x7a\x57','\x75\x68\x7a\x4a\x43\x76\x79','\x42\x32\x66\x32\x42\x33\x6d','\x7a\x30\x72\x31\x42\x4d\x53','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x6d\x74\x65\x32\x6e\x4a\x6d\x5a\x6d\x5a\x7a\x56\x73\x76\x7a\x71\x71\x33\x61','\x42\x4d\x39\x33','\x41\x78\x6a\x62\x76\x75\x4b','\x41\x77\x39\x63\x76\x4e\x61','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x71\x30\x7a\x58\x43\x66\x65','\x41\x78\x6e\x5a\x44\x77\x75','\x6e\x33\x6a\x33\x43\x67\x66\x7a\x73\x71','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x43\x33\x62\x53\x41\x78\x71','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x6d\x5a\x43\x30\x76\x30\x39\x41\x77\x4c\x66\x54','\x6d\x74\x6d\x57\x6e\x5a\x65\x35\x6e\x78\x62\x48\x76\x30\x48\x73\x45\x47','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x79\x4d\x58\x41\x76\x33\x61','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x7a\x78\x48\x57','\x71\x30\x58\x36\x79\x4b\x6d','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x6f\x74\x71\x31\x6d\x74\x43\x33\x43\x4c\x6e\x4e\x42\x65\x35\x67','\x41\x4d\x44\x6a\x44\x32\x57','\x79\x77\x58\x4e','\x7a\x4d\x58\x56\x42\x33\x69','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x6f\x64\x61\x33\x6d\x5a\x79\x33\x6e\x76\x6a\x4e\x74\x4b\x72\x67\x72\x47','\x43\x68\x6a\x56'];a0_0x3b34=function(){return _0x2c90d2;};return a0_0x3b34();}function issueToken(_0x3c94b8,_0x1b2675,_0x1daaac){const _0x2304e8=a0_0x30ce0f,_0x4948cc={'\x5a\x4d\x51\x47\x50':function(_0x9cd9b,_0x3e19e5){return _0x9cd9b/_0x3e19e5;},'\x50\x76\x63\x71\x56':function(_0x3b9423,_0x1066a7){return _0x3b9423*_0x1066a7;}},_0x1029c0=Math[_0x2304e8(0xf8)](_0x4948cc[_0x2304e8(0x10a)](Date[_0x2304e8(0x11e)](),0x3e8)),_0x1372eb={..._0x1b2675,'\x69\x61\x74':_0x1029c0,'\x65\x78\x70':_0x1029c0+_0x4948cc[_0x2304e8(0x118)](_0x1daaac,0x3c)},_0x42cd0e=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x2304e8(0xed)](_0x1372eb));return _0x42cd0e+'\x2e'+createSignature(_0x42cd0e,_0x3c94b8);}function issueReadToken(_0x198b56,_0x35539e,_0xcc53b6){const _0x5a3bb1=a0_0x30ce0f,_0x9cada7={'\x69\x72\x41\x55\x49':'\x72\x65\x61\x64'};return issueToken(_0x198b56,{..._0x35539e,'\x74\x79\x70':_0x9cada7[_0x5a3bb1(0x11f)]},_0xcc53b6);}function issueSessionScopedToken(_0x16eeec,_0x48997f,_0x3f8835){return issueReadToken(_0x16eeec,_0x48997f,_0x3f8835);}function issueProjectScopedToken(_0x406d3a,_0x410b0f,_0x347c48){const _0x1424a9={'\x4f\x52\x57\x62\x77':function(_0x5a457c,_0x522f7f,_0x250823,_0x39897a){return _0x5a457c(_0x522f7f,_0x250823,_0x39897a);}};return _0x1424a9['\x4f\x52\x57\x62\x77'](issueReadToken,_0x406d3a,_0x410b0f,_0x347c48);}function issueBatchScopedToken(_0x2bc6db,_0x12011e,_0x148166){const _0x102b5c=a0_0x30ce0f,_0x468dd7={'\x62\x6c\x5a\x57\x70':function(_0x483ac2,_0x4dac21,_0x20ec8d,_0x3e5269){return _0x483ac2(_0x4dac21,_0x20ec8d,_0x3e5269);}};return _0x468dd7[_0x102b5c(0xee)](issueReadToken,_0x2bc6db,_0x12011e,_0x148166);}function issueCollaborationToken(_0x3da6d8,_0xc25f60,_0x56b9a7){const _0x430a6c=a0_0x30ce0f;return issueToken(_0x3da6d8,{'\x73\x75\x62':_0xc25f60[_0x430a6c(0x107)],'\x73\x69\x64':_0xc25f60[_0x430a6c(0x104)],'\x70\x69\x64':_0xc25f60[_0x430a6c(0xff)],'\x63\x69\x64':_0xc25f60[_0x430a6c(0xf4)],'\x74\x79\x70':_0x430a6c(0x101),'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0xc25f60[_0x430a6c(0xf1)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0xc25f60['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0xc25f60[_0x430a6c(0x100)]},_0x56b9a7);}function unsafeDecodeToken(_0x53ddd8){const _0x36a857=a0_0x30ce0f,_0x48b832={'\x67\x44\x75\x6e\x6b':function(_0x2d3597,_0x63c67b){return _0x2d3597!==_0x63c67b;},'\x4a\x7a\x47\x76\x41':function(_0x545d7a,_0x42ffc9){return _0x545d7a%_0x42ffc9;},'\x6a\x76\x53\x51\x4d':function(_0x2a618f,_0x3b535b){return _0x2a618f%_0x3b535b;}};try{const _0x34713a=_0x53ddd8[_0x36a857(0xe9)]('\x2e');if(_0x48b832[_0x36a857(0x11a)](_0x34713a['\x6c\x65\x6e\x67\x74\x68'],0x3))return null;const _0x4c6c47=_0x34713a[0x1]+'\x3d'[_0x36a857(0xf9)](_0x48b832['\x4a\x7a\x47\x76\x41'](0x4-_0x48b832['\x6a\x76\x53\x51\x4d'](_0x34713a[0x1][_0x36a857(0x10b)],0x4),0x4)),_0x4ca095=Buffer['\x66\x72\x6f\x6d'](_0x4c6c47['\x72\x65\x70\x6c\x61\x63\x65'](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34')[_0x36a857(0xf0)]();return JSON['\x70\x61\x72\x73\x65'](_0x4ca095);}catch{return null;}}function verifyToken(_0x3d93a1,_0x4f3921,_0x27c4bf={}){const _0x54477a=a0_0x30ce0f,_0x534f75={'\x67\x56\x71\x6c\x46':function(_0xa58838,_0x265eee){return _0xa58838!==_0x265eee;},'\x4e\x51\x72\x50\x49':function(_0x20abf1,_0x31f6cc){return _0x20abf1-_0x31f6cc;},'\x6a\x67\x49\x77\x6c':function(_0xcaab8f,_0x65355c){return _0xcaab8f%_0x65355c;},'\x75\x69\x46\x6a\x6c':_0x54477a(0xef),'\x69\x6f\x42\x56\x70':'\x48\x53\x32\x35\x36','\x42\x44\x42\x6a\x4c':function(_0x4bbdf8,_0x5d534d,_0x40cbc4){return _0x4bbdf8(_0x5d534d,_0x40cbc4);},'\x59\x48\x6c\x51\x4d':function(_0xb8755,_0x2fc757){return _0xb8755(_0x2fc757);},'\x78\x77\x6f\x6c\x77':function(_0xd26323,_0x3eaf5d){return _0xd26323||_0x3eaf5d;},'\x71\x75\x72\x6a\x6c':function(_0x2a68ba,_0x491bad){return _0x2a68ba!==_0x491bad;}};try{const _0x51ac2c=_0x3d93a1[_0x54477a(0xe9)]('\x2e');if(_0x534f75[_0x54477a(0xfd)](_0x51ac2c[_0x54477a(0x10b)],0x3))return null;const [_0x1393e7,_0x1ec121,_0x356ebe]=_0x51ac2c;if(!_0x1393e7||!_0x1ec121||!_0x356ebe)return null;let _0x4c15a4;try{const _0x496336=_0x1393e7+'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x534f75[_0x54477a(0x115)](0x4,_0x534f75[_0x54477a(0xf6)](_0x1393e7['\x6c\x65\x6e\x67\x74\x68'],0x4))%0x4),_0x500b27=Buffer['\x66\x72\x6f\x6d'](_0x496336[_0x54477a(0x105)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x534f75[_0x54477a(0x106)])[_0x54477a(0xf0)]();_0x4c15a4=JSON[_0x54477a(0x113)](_0x500b27);}catch{return null;}if(_0x534f75['\x67\x56\x71\x6c\x46'](_0x4c15a4[_0x54477a(0xf7)],_0x534f75[_0x54477a(0x120)]))return null;const _0x5885cf=_0x534f75[_0x54477a(0x108)](createSignature,_0x1393e7+'\x2e'+_0x1ec121,_0x4f3921),_0x46354d=_0x534f75[_0x54477a(0x112)](decodeBase64UrlToBuffer,_0x356ebe),_0x1a7ac7=_0x534f75[_0x54477a(0x112)](decodeBase64UrlToBuffer,_0x5885cf);if(_0x534f75['\x78\x77\x6f\x6c\x77'](!_0x46354d,!_0x1a7ac7))return null;if(_0x534f75[_0x54477a(0xfe)](_0x46354d[_0x54477a(0x10b)],_0x1a7ac7[_0x54477a(0x10b)]))return null;if(!timingSafeEqual(_0x46354d,_0x1a7ac7))return null;const _0x56031d=unsafeDecodeToken(_0x3d93a1);if(!_0x56031d)return null;const _0x25c385=Math[_0x54477a(0xf8)](Date[_0x54477a(0x11e)]()/0x3e8),_0x4c90d4=Math['\x6d\x61\x78'](0x0,_0x27c4bf[_0x54477a(0x125)]??0x0);if(typeof _0x56031d[_0x54477a(0xf2)]!=='\x6e\x75\x6d\x62\x65\x72'||_0x56031d[_0x54477a(0xf2)]+_0x4c90d4<_0x25c385)return null;return _0x56031d;}catch{return null;}}function getTokenTTL(_0x2ea0cd){const _0x253f0e=a0_0x30ce0f,_0x2cd696=Math[_0x253f0e(0xf8)](Date[_0x253f0e(0x11e)]()/0x3e8);return _0x2ea0cd[_0x253f0e(0xf2)]-_0x2cd696;}function a0_0x51cf(_0x31a0b7,_0x1d2260){_0x31a0b7=_0x31a0b7-0xe9;const _0x3b3498=a0_0x3b34();let _0x51cf88=_0x3b3498[_0x31a0b7];if(a0_0x51cf['\x51\x6e\x75\x45\x49\x70']===undefined){var _0x398f89=function(_0x3c9fb6){const _0x1a7048='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x537680='',_0x38177f='';for(let _0x2830c3=0x0,_0x20b06e,_0x44ece9,_0x2d4c0a=0x0;_0x44ece9=_0x3c9fb6['\x63\x68\x61\x72\x41\x74'](_0x2d4c0a++);~_0x44ece9&&(_0x20b06e=_0x2830c3%0x4?_0x20b06e*0x40+_0x44ece9:_0x44ece9,_0x2830c3++%0x4)?_0x537680+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x20b06e>>(-0x2*_0x2830c3&0x6)):0x0){_0x44ece9=_0x1a7048['\x69\x6e\x64\x65\x78\x4f\x66'](_0x44ece9);}for(let _0x3e6d52=0x0,_0x4fecda=_0x537680['\x6c\x65\x6e\x67\x74\x68'];_0x3e6d52<_0x4fecda;_0x3e6d52++){_0x38177f+='\x25'+('\x30\x30'+_0x537680['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3e6d52)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x38177f);};a0_0x51cf['\x51\x70\x71\x54\x47\x6d']=_0x398f89,a0_0x51cf['\x51\x58\x72\x79\x56\x44']={},a0_0x51cf['\x51\x6e\x75\x45\x49\x70']=!![];}const _0x4032ba=_0x3b3498[0x0],_0x51bf16=_0x31a0b7+_0x4032ba,_0x4d12d5=a0_0x51cf['\x51\x58\x72\x79\x56\x44'][_0x51bf16];return!_0x4d12d5?(_0x51cf88=a0_0x51cf['\x51\x70\x71\x54\x47\x6d'](_0x51cf88),a0_0x51cf['\x51\x58\x72\x79\x56\x44'][_0x51bf16]=_0x51cf88):_0x51cf88=_0x4d12d5,_0x51cf88;}function isTokenExpiringSoon(_0x33537a,_0x2f9259=0x3c){const _0x501c3f=a0_0x30ce0f,_0x37cb57={'\x43\x46\x71\x70\x51':function(_0x2b2439,_0x3819ec){return _0x2b2439<=_0x3819ec;}};return _0x37cb57[_0x501c3f(0x122)](getTokenTTL(_0x33537a),_0x2f9259);}var ProductTokenIssuer=class{[a0_0x30ce0f(0xff)];[a0_0x30ce0f(0xea)];['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'];constructor(_0x180fc2){const _0x350af7=a0_0x30ce0f;this[_0x350af7(0xff)]=_0x180fc2['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],this[_0x350af7(0xea)]=_0x180fc2[_0x350af7(0xea)],this[_0x350af7(0x116)]={'\x66\x72\x65\x65':_0x180fc2[_0x350af7(0x116)]?.[_0x350af7(0x109)]??0xf,'\x70\x72\x6f':_0x180fc2[_0x350af7(0x116)]?.[_0x350af7(0xfb)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x180fc2[_0x350af7(0x116)]?.[_0x350af7(0x11c)]??0x1e0};}[a0_0x30ce0f(0x123)](_0x31ca15){const _0xf658d4=a0_0x30ce0f,_0xeb56df={'\x43\x4c\x7a\x62\x43':function(_0x185707,_0x180059){return _0x185707+_0x180059;},'\x6f\x61\x76\x6f\x73':function(_0x381d1d,_0x18c1ab){return _0x381d1d/_0x18c1ab;}},_0x55b3fe=_0x31ca15['\x74\x69\x65\x72']??_0xf658d4(0x109),_0x46450c=this[_0xf658d4(0x116)][_0x55b3fe]??this[_0xf658d4(0x116)][_0xf658d4(0x109)];return{'\x74\x6f\x6b\x65\x6e':issueReadToken(this['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],{'\x73\x75\x62':_0x31ca15[_0xf658d4(0x107)],'\x73\x69\x64':_0x31ca15['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this[_0xf658d4(0xff)],'\x63\x69\x64':_0x31ca15[_0xf658d4(0xf4)]},_0x46450c),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0xeb56df[_0xf658d4(0xf3)](Math[_0xf658d4(0xf8)](_0xeb56df[_0xf658d4(0x119)](Date[_0xf658d4(0x11e)](),0x3e8)),_0x46450c*0x3c)};}[a0_0x30ce0f(0x10c)](_0x372b27){const _0x1ca9f1=a0_0x30ce0f,_0x5ba38d={'\x78\x52\x77\x68\x54':function(_0x368bfd,_0x3945e7){return _0x368bfd+_0x3945e7;},'\x69\x6b\x4b\x43\x77':function(_0x3c870f,_0x4dce60){return _0x3c870f/_0x4dce60;}},_0x5b388e=_0x372b27[_0x1ca9f1(0x110)]??'\x66\x72\x65\x65',_0x4a7ae8=this[_0x1ca9f1(0x116)][_0x5b388e]??this[_0x1ca9f1(0x116)][_0x1ca9f1(0x109)];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x1ca9f1(0xea)],{'\x75\x73\x65\x72\x49\x64':_0x372b27['\x75\x73\x65\x72\x49\x64'],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x372b27[_0x1ca9f1(0x104)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x1ca9f1(0xff)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x372b27[_0x1ca9f1(0xf1)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x372b27[_0x1ca9f1(0x121)],'\x61\x63\x63\x65\x73\x73':_0x372b27[_0x1ca9f1(0x100)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x372b27[_0x1ca9f1(0xf4)]},_0x4a7ae8),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x5ba38d['\x78\x52\x77\x68\x54'](Math['\x66\x6c\x6f\x6f\x72'](_0x5ba38d[_0x1ca9f1(0x114)](Date['\x6e\x6f\x77'](),0x3e8)),_0x4a7ae8*0x3c)};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x18c8f5=a0_0x30ce0f(0x109)){const _0x3132b2=a0_0x30ce0f;return this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x18c8f5]??this[_0x3132b2(0x116)]['\x66\x72\x65\x65'];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};