system-tracker 0.0.0-stage → 3.0.11

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 (70) hide show
  1. package/README.md +1151 -2
  2. package/SKILL.md +376 -0
  3. package/dist/auto/capture.d.ts +9 -0
  4. package/dist/auto/capture.js +1 -0
  5. package/dist/auto/classify.d.ts +16 -0
  6. package/dist/auto/classify.js +1 -0
  7. package/dist/auto/http.d.ts +3 -0
  8. package/dist/auto/http.js +1 -0
  9. package/dist/auto/naming.d.ts +18 -0
  10. package/dist/auto/naming.js +1 -0
  11. package/dist/auto/outbound.d.ts +1 -0
  12. package/dist/auto/outbound.js +1 -0
  13. package/dist/auto/patch.d.ts +3 -0
  14. package/dist/auto/patch.js +1 -0
  15. package/dist/auto/record.d.ts +4 -0
  16. package/dist/auto/record.js +1 -0
  17. package/dist/auto/samples.d.ts +28 -0
  18. package/dist/auto/samples.js +1 -0
  19. package/dist/auto/sites.d.ts +7 -0
  20. package/dist/auto/sites.js +1 -0
  21. package/dist/auto/views.d.ts +3 -0
  22. package/dist/auto/views.js +1 -0
  23. package/dist/auto/ws.d.ts +1 -0
  24. package/dist/auto/ws.js +1 -0
  25. package/dist/buckets.d.ts +4 -0
  26. package/dist/buckets.js +1 -0
  27. package/dist/dashboard/announce.d.ts +5 -0
  28. package/dist/dashboard/announce.js +1 -0
  29. package/dist/dashboard/auth.d.ts +7 -0
  30. package/dist/dashboard/auth.js +1 -0
  31. package/dist/dashboard/boards.d.ts +22 -0
  32. package/dist/dashboard/boards.js +1 -0
  33. package/dist/dashboard/config.d.ts +49 -0
  34. package/dist/dashboard/config.js +1 -0
  35. package/dist/dashboard/data.d.ts +135 -0
  36. package/dist/dashboard/data.js +1 -0
  37. package/dist/dashboard/index.d.ts +2 -0
  38. package/dist/dashboard/index.js +1 -0
  39. package/dist/dashboard/insights.d.ts +98 -0
  40. package/dist/dashboard/insights.js +1 -0
  41. package/dist/dashboard/page-html.js +2 -0
  42. package/dist/dashboard/page.d.ts +1 -0
  43. package/dist/dashboard/page.js +1 -0
  44. package/dist/dashboard/periods.d.ts +36 -0
  45. package/dist/dashboard/periods.js +1 -0
  46. package/dist/dashboard/query.d.ts +45 -0
  47. package/dist/dashboard/query.js +1 -0
  48. package/dist/dashboard/report.d.ts +181 -0
  49. package/dist/dashboard/report.js +1 -0
  50. package/dist/dashboard/reset.d.ts +5 -0
  51. package/dist/dashboard/reset.js +1 -0
  52. package/dist/dashboard/storage.d.ts +37 -0
  53. package/dist/dashboard/storage.js +1 -0
  54. package/dist/index.d.ts +3 -0
  55. package/dist/index.js +1 -0
  56. package/dist/init.d.ts +5 -0
  57. package/dist/init.js +1 -0
  58. package/dist/logger.d.ts +2 -0
  59. package/dist/logger.js +1 -0
  60. package/dist/lua.d.ts +3 -0
  61. package/dist/lua.js +1 -0
  62. package/dist/redis.d.ts +11 -0
  63. package/dist/redis.js +1 -0
  64. package/dist/search.d.ts +1 -0
  65. package/dist/search.js +1 -0
  66. package/dist/state.d.ts +24 -0
  67. package/dist/state.js +1 -0
  68. package/dist/types.d.ts +107 -0
  69. package/dist/types.js +1 -0
  70. package/package.json +53 -4
@@ -0,0 +1 @@
1
+ export declare function page(base: string, nonce: string): string;
@@ -0,0 +1 @@
1
+ 'use strict';const _0xa86f0=_0x85e4;function _0x85e4(_0x3233e5,_0x393f40){_0x3233e5=_0x3233e5-(0xe31+0x1dd4+-0x2b51);const _0x29c28a=_0x2997();let _0x5060e5=_0x29c28a[_0x3233e5];if(_0x85e4['YzpZpd']===undefined){var _0x17200f=function(_0x1d82b5){const _0x9d91de='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x536963='',_0xa0d4f0='';for(let _0x1b1245=-0x98*-0x2d+-0x3*0x121+-0xb5*0x21,_0x3d1848,_0x5e9f4d,_0x7388ab=0xe3*-0xb+0x5ec+0x3d5;_0x5e9f4d=_0x1d82b5['charAt'](_0x7388ab++);~_0x5e9f4d&&(_0x3d1848=_0x1b1245%(-0x1cfb+0xb*0x1ac+0xa9b)?_0x3d1848*(-0x1df7+-0x4*0x6d9+0x399b)+_0x5e9f4d:_0x5e9f4d,_0x1b1245++%(0x16c*0x13+0x2*-0x9e2+0x39e*-0x2))?_0x536963+=String['fromCharCode'](0x168f+-0x99f*-0x1+-0x1f2f&_0x3d1848>>(-(0x6ea+-0x2d*-0x82+-0x1dc2)*_0x1b1245&0x7*0x525+0x181*-0x5+-0x8*0x38f)):-0x13*0xd3+-0xae+-0x59*-0x2f){_0x5e9f4d=_0x9d91de['indexOf'](_0x5e9f4d);}for(let _0xf161fa=0x10db+0x1452+-0x252d*0x1,_0x357169=_0x536963['length'];_0xf161fa<_0x357169;_0xf161fa++){_0xa0d4f0+='%'+('00'+_0x536963['charCodeAt'](_0xf161fa)['toString'](-0x23d9+0x84a+0x3*0x935))['slice'](-(-0x42b+-0x1*-0x18d9+-0x372*0x6));}return decodeURIComponent(_0xa0d4f0);};_0x85e4['VGSVum']=_0x17200f,_0x85e4['bUnKuH']={},_0x85e4['YzpZpd']=!![];}const _0x363ee5=_0x29c28a[0x90f*-0x1+-0x1be4+0x24f3];_0x85e4['rLfszW']!==_0x363ee5&&(_0x85e4['bUnKuH']={},_0x85e4['rLfszW']=_0x363ee5);const _0xde68ed=_0x85e4['bUnKuH'][_0x3233e5];return _0xde68ed===undefined?(_0x5060e5=_0x85e4['VGSVum'](_0x5060e5),_0x85e4['bUnKuH'][_0x3233e5]=_0x5060e5):_0x5060e5=_0xde68ed,_0x5060e5;}function _0x2997(){const _0x3c1044=['mJiXnJDeAhfMvgy','x19cqvnfx18','B3bLCNr5','zgvMAw5Luhi','nJC5ntb4uwPrCK8','xhuWmdnJ','CgfNzq','x19LC01Vzhu','mJaWyuHAzgLe','mtG0nJaWogHcyNDsBq','Ae9hEwC','mZK5zhrOrvv5','nKLwv05UCa','nZy1mtKWog9ODvrpEG','ndqYnJm2te5SDK1K','mJaXnJCXv3bSwhvk','mJi1nZaWy0zSzeLj','CMvWBgfJzq','C3rYAw5NAwy','mtj6u3rIs2S'];_0x2997=function(){return _0x3c1044;};return _0x2997();}(function(_0x12abc3,_0x12f415){const _0x37c966={_0x513f00:0xb7,_0x105e01:0xb4,_0x5cbc1e:0xbb,_0x9d9d68:0xb6,_0x2f8cfc:0xb8,_0x59db7c:0xc0,_0xf50bf6:0xc7,_0x402c73:0xc5,_0x286a5d:0xbc,_0x3e7ee7:0xc4,_0x13b781:0xb5},_0x10a36f=_0x85e4,_0x47badd=_0x12abc3();while(!![]){try{const _0x70ded0=parseInt(_0x10a36f(_0x37c966._0x513f00))/(-0x5*0x2a2+0xc61*0x3+-0x17f8)*(parseInt(_0x10a36f(_0x37c966._0x105e01))/(0x2*0x17e+-0xf48*-0x2+-0x218a))+parseInt(_0x10a36f(_0x37c966._0x5cbc1e))/(-0x2507+0x13*-0x95+-0x6df*-0x7)*(-parseInt(_0x10a36f(_0x37c966._0x9d9d68))/(-0x248+0x6f*-0x2a+0x1e*0xaf))+parseInt(_0x10a36f(_0x37c966._0x2f8cfc))/(0x9*-0x236+0x1ff1+-0xc06)+-parseInt(_0x10a36f(_0x37c966._0x59db7c))/(0x1d36+0x2*-0xd2b+-0x2da)*(-parseInt(_0x10a36f(_0x37c966._0xf50bf6))/(0x1a43+0x935+-0x2371))+parseInt(_0x10a36f(_0x37c966._0x402c73))/(0x1f99+0x2450+-0x43e1)+parseInt(_0x10a36f(_0x37c966._0x286a5d))/(-0x50*-0x7c+0x12be*0x2+-0x1*0x4c33)*(parseInt(_0x10a36f(_0x37c966._0x3e7ee7))/(-0xdc9+0x5*-0x4c2+0x259d))+-parseInt(_0x10a36f(_0x37c966._0x13b781))/(-0x154+0x3*-0xaf1+-0x2*-0x1119);if(_0x70ded0===_0x12f415)break;else _0x47badd['push'](_0x47badd['shift']());}catch(_0x58afc7){_0x47badd['push'](_0x47badd['shift']());}}}(_0x2997,-0x1d2*0x17a+-0x3a40*0xf+-0x2b*-0x4c0f));Object[_0xa86f0(0xbf)+_0xa86f0(0xbe)](exports,_0xa86f0(0xc3)+'le',{'value':!![]}),exports[_0xa86f0(0xc2)]=page;const html=require('./page-html');function page(_0x129a1f,_0x418432){const _0x5394f6={_0x17d5d2:0xbd,_0x168bec:0xb9,_0x158278:0xc6},_0x1779fe=_0xa86f0,_0x19bc61={'hOGyg':_0x1779fe(_0x5394f6._0x17d5d2)};return html[_0x1779fe(_0x5394f6._0x168bec)](_0x19bc61[_0x1779fe(_0x5394f6._0x158278)],()=>JSON[_0x1779fe(0xba)+'y'](_0x129a1f)[_0x1779fe(0xb9)](/</g,_0x1779fe(0xc1)))[_0x1779fe(_0x5394f6._0x168bec)](/__NONCE__/g,()=>_0x418432);}
@@ -0,0 +1,36 @@
1
+ import type { TimeBucket } from "../types";
2
+ export type Period = "15m" | "1h" | "today" | "week" | "month" | "quarter" | "year";
3
+ export declare const PERIODS: Period[];
4
+ export type Span = {
5
+ period: Period;
6
+ label: string;
7
+ range: string;
8
+ rolling: boolean;
9
+ elapsed: number;
10
+ unit: TimeBucket;
11
+ ids: string[];
12
+ chart: {
13
+ bucket: TimeBucket;
14
+ ids: string[];
15
+ };
16
+ previous: {
17
+ label: string;
18
+ unit: TimeBucket;
19
+ ids: string[];
20
+ };
21
+ };
22
+ export declare function isPeriod(value: unknown): value is Period;
23
+ export declare function spanOf(period: Period, now?: number): Span;
24
+ export declare function placeOf(span: Span, bucket: TimeBucket, id: string): "inside" | "around" | "outside";
25
+ export type CounterKey = {
26
+ key: string;
27
+ base: string;
28
+ bucket: TimeBucket;
29
+ id: string;
30
+ kind: "global" | "type" | "route";
31
+ type?: string;
32
+ action?: string;
33
+ name?: string;
34
+ errors: boolean;
35
+ };
36
+ export declare function parseKey(prefix: string, key: string): CounterKey | null;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x2997ef=_0x3f8b;(function(_0x2ee00e,_0x370c8a){const _0x429af8={_0x4e75ea:0x187,_0x307216:0x185,_0x4ad672:0x1b3,_0x338fb3:0x183,_0x3139a5:0x161,_0x20bcac:0x15a,_0xa4718a:0x189,_0x1efc1b:0x170,_0x365b06:0x1b6,_0x1dbc78:0x1a7,_0x4a1374:0x157,_0x3ddf0c:0x149},_0x280103=_0x3f8b,_0xf7f7=_0x2ee00e();while(!![]){try{const _0x2876aa=parseInt(_0x280103(_0x429af8._0x4e75ea))/(-0xc80+0x1cd*-0x7+-0x2*-0xc8e)*(parseInt(_0x280103(_0x429af8._0x307216))/(-0x3c2*-0x5+0x37*-0x11+-0xf21))+parseInt(_0x280103(_0x429af8._0x4ad672))/(0x1*-0x1e6d+-0x1*0x183f+0x36af*0x1)+parseInt(_0x280103(_0x429af8._0x338fb3))/(0xb39*0x1+-0x105a+-0x525*-0x1)*(parseInt(_0x280103(_0x429af8._0x3139a5))/(0x1*-0x15b+0xa19+-0x8b9))+parseInt(_0x280103(_0x429af8._0x20bcac))/(0xfa*-0x2+-0x12c7+0x14c1)*(parseInt(_0x280103(_0x429af8._0xa4718a))/(0xfab+0x1*0x2507+0x34ab*-0x1))+-parseInt(_0x280103(_0x429af8._0x1efc1b))/(0x2*0xd73+-0x2164*0x1+0x686)+parseInt(_0x280103(_0x429af8._0x365b06))/(0x1*0x11b2+-0x1f08+-0xd5f*-0x1)*(-parseInt(_0x280103(_0x429af8._0x1dbc78))/(-0x9ce+0xb08+-0x130))+-parseInt(_0x280103(_0x429af8._0x4a1374))/(0x2*0xc1f+-0x16*-0x14e+-0x34e7)*(-parseInt(_0x280103(_0x429af8._0x3ddf0c))/(-0x27f*-0x2+0x124a*-0x1+-0x1ab*-0x8));if(_0x2876aa===_0x370c8a)break;else _0xf7f7['push'](_0xf7f7['shift']());}catch(_0x544cbf){_0xf7f7['push'](_0xf7f7['shift']());}}}(_0x5ed1,0x250a2*-0x3+0x6cae+0xcc0b2));Object[_0x2997ef(0x19b)+_0x2997ef(0x190)](exports,_0x2997ef(0x15f)+'le',{'value':!![]}),exports[_0x2997ef(0x1ae)]=void(0x1f*-0xbd+0x1fa3+-0x8c0),exports[_0x2997ef(0x174)]=isPeriod,exports[_0x2997ef(0x180)]=spanOf,exports[_0x2997ef(0x1a1)]=placeOf,exports[_0x2997ef(0x14f)]=parseKey;const buckets_1=require('../buckets');function _0x5ed1(){const _0x40a1c6=['mLvht0rRuG','BwLUDxrLCW','mtKWmZG5s2nIAw5L','C2vJ','ndK2m2vXswDxCq','qxbY','rhvlC0S','tgfZDcbOB3u','rKPSzvy','qxvN','qw9gvMm','B3bLCNr5','zgf5','AxnrC04','DxjZ','DLzvALm','B05Zugq','BM93','sNvS','BxPkAMS','Aw5KzxHpzG','twfY','zgvMAw5Luhi','tgfZDcb5zwe','C3bSAxq','ltaX','CeLiBNK','Cw5Nwgy','CgXHy2vpzG','rxDHEwu','BNrO','rMvI','BLPfu2y','t2n0','mtbyrgTpC0m','CxnMAvq','Cg9W','tgfZDcbTB24','mtuGBwLUDxq','zNjVBq','BLLRrei','uevssu9euW','BfHHCMi','z2v0vvrdsg8','Ag91CG','sg91CIbIzwy','ntuYmZGXD3f3D1P1','zxHxugq','Exziu1m','mtK0ndK2m21dwej5sq','C3rYAw5N','BgXzzwfY','C3rHCNrZv2K','tM92','z2v0vvrdtw8','tgfZDcaXnsa','wfLhqMu','u2vW','Bwf4','vgHPCYb3zwu','mJq5nty1mMrZteLjCq','DgvZDa','tgfZDcbXDwe','mtvT','z2v0vvrdrNu','DhLWzq','CgfYC2vlzxK','CNrLCG','Bw9UDgG','Aw5ZAwrL','z2v0vvrdtwK','vvrd','z2XVyMfS','rgvJ','mtfYCg91D2K','CxvHCNrLCG','BgvUz3rO','mtu3mLbRueLZyq','CgfKu3rHCNq','vgHPCYbTB24','C29Tzq','sMfU','x19LC01Vzhu','wwvZDgvYzge','otyWmJa1DfLItgXn','C2XPy2u','Aw5JBhvKzxm','D2vLAW','yxjVDw5K','z2v0vvrdrge','vg9KyxK','tgfZDcb3zwu','sNvU','BwfW','BwLU','Dg9KyxK','nxH4','B3jL','EwvHCG','mJy4ntG5nMjesff2va','B3v0C2LKzq','Dw5PDa','CM91Dgu','AxnqzxjPB2q','AwrZ','BNv0zxm','t1HADhu','iokaKYa','tu9bsLG','zxmGyMvMB3i','D0nwBKy','BxDHq1C','A0zUs0i','qLvds0vux0K','twf5','C3bHBK9M','CMvWBgfJzq','msbkyw4G4Octia','ng5jzwHTvq','rLLnuLa'];_0x5ed1=function(){return _0x40a1c6;};return _0x5ed1();}exports[_0x2997ef(0x1ae)]=[_0x2997ef(0x14c),'1h',_0x2997ef(0x16c),_0x2997ef(0x164),_0x2997ef(0x151),_0x2997ef(0x158),_0x2997ef(0x16f)];const IST_OFFSET_MS=(-0x1b91*0x1+0x13a*-0x2+0x602*0x5+0.5)*(0x4aa+0x194d+-0x1dbb)*(-0x2542+-0x466+0x29e4)*(-0x1b0a*-0x1+0x64b*-0x1+-0x59d*0x3),MONTHS=[_0x2997ef(0x15e),_0x2997ef(0x1a4),_0x2997ef(0x19a),_0x2997ef(0x18a),_0x2997ef(0x17f),_0x2997ef(0x169),_0x2997ef(0x197),_0x2997ef(0x18e),_0x2997ef(0x146),_0x2997ef(0x1a6),_0x2997ef(0x142),_0x2997ef(0x156)],ORDER=[_0x2997ef(0x188),_0x2997ef(0x16b),_0x2997ef(0x1b1),_0x2997ef(0x191),_0x2997ef(0x151),_0x2997ef(0x16f)],two=_0x2e12d2=>String(_0x2e12d2)[_0x2997ef(0x15b)](-0x1d63+0x6f2+0x1673,'0'),dayId=_0x559c74=>_0x559c74[_0x2997ef(0x14d)+_0x2997ef(0x140)]()+'-'+two(_0x559c74[_0x2997ef(0x143)+_0x2997ef(0x1a3)]()+(0x2341+0x5c*-0x2+0xd*-0x2a8))+'-'+two(_0x559c74[_0x2997ef(0x166)+'te']()),monthId=(_0x18de3c,_0x545427)=>{const _0x2ba5d4={_0x4e4fe3:0x154,_0x23950e:0x14d,_0x391637:0x140,_0x25f600:0x143,_0x20c597:0x1a3},_0x458024=_0x2997ef,_0x494fc8=new Date(Date[_0x458024(_0x2ba5d4._0x4e4fe3)](_0x18de3c,_0x545427,-0x7*0x1ea+-0x8df+-0xb23*-0x2));return _0x494fc8[_0x458024(_0x2ba5d4._0x23950e)+_0x458024(_0x2ba5d4._0x391637)]()+'-'+two(_0x494fc8[_0x458024(_0x2ba5d4._0x25f600)+_0x458024(_0x2ba5d4._0x20c597)]()+(-0xd0c+0xf4c+-0x5*0x73));},days=(_0xe9cb77,_0xe3c16a,_0x11a507,_0x1002b1)=>Array[_0x2997ef(0x1ac)]({'length':_0x1002b1-_0x11a507+(0x38f*-0x8+-0x19a9+0x3622)},(_0x3f7616,_0x4ddb19)=>dayId(new Date(Date[_0x2997ef(0x154)](_0xe9cb77,_0xe3c16a,_0x11a507+_0x4ddb19)))),pretty=_0x280a49=>{const _0x25b211={_0x5b5361:0x19d,_0x371157:0x1b5},_0x474fc0=_0x2997ef,_0xe0cdf8={'yvHSS':function(_0x5c2c96,_0x2a652a){return _0x5c2c96-_0x2a652a;}},[_0x5306fd,_0x234da7,_0x32912f]=_0x280a49[_0x474fc0(_0x25b211._0x5b5361)]('-');return _0x32912f?+_0x32912f+'\x20'+MONTHS[_0xe0cdf8[_0x474fc0(_0x25b211._0x371157)](+_0x234da7,-0x69+0xe1c+-0xdb2)]+'\x20'+_0x5306fd:_0x234da7?MONTHS[+_0x234da7-(0xb*-0x322+0x1f55+0x322)]+'\x20'+_0x5306fd:_0x5306fd;};function isPeriod(_0x1c42d2){const _0x3465fe={_0x441a40:0x1b7,_0x145385:0x1ae,_0x52bce9:0x163},_0x246027=_0x2997ef;return typeof _0x1c42d2===_0x246027(_0x3465fe._0x441a40)&&exports[_0x246027(_0x3465fe._0x145385)][_0x246027(_0x3465fe._0x52bce9)](_0x1c42d2);}function spanOf(_0x2cc21a,_0xf1fae8=Date[_0x2997ef(0x196)]()){const _0x6d49a3={_0x1ec3f1:0x16c,_0x592b62:0x164,_0x302125:0x151,_0x1d0e94:0x158,_0x40bbe5:0x16f,_0x130525:0x19c,_0x314b5e:0x14d,_0x4ed948:0x140,_0x20477a:0x143,_0xac110f:0x1a3,_0xb9b0fc:0x166,_0x1617f3:0x1b0,_0xa36830:0x193,_0xeccf69:0x17c,_0x1c2389:0x153,_0x4e55f9:0x176,_0x504cd7:0x14c,_0x23fa95:0x18d,_0x9d766:0x14c,_0x41781d:0x14c,_0x4a78d3:0x144,_0x2cb2b4:0x186,_0x27048b:0x18c,_0x371b5e:0x178,_0x2ad66d:0x19f,_0x4c9100:0x16b,_0x4b4338:0x14c,_0x51a6c5:0x1ab,_0x21767a:0x17a,_0x3a8dd4:0x1b2,_0x513b7c:0x16e,_0x3ce14a:0x184,_0x3e08cb:0x167,_0x298a48:0x191,_0x5a6c1e:0x1b1,_0x49db32:0x1ac,_0x491538:0x160,_0x54ac5d:0x17b,_0x107375:0x1b4,_0x46f142:0x166,_0x2a8c7c:0x148,_0x32c620:0x191,_0x238e24:0x168,_0x59bdeb:0x1a0,_0x599734:0x1a8,_0x5f53cb:0x151,_0x3d8a59:0x15c,_0x12e349:0x18b,_0x3b7c6e:0x177,_0x1adaaa:0x191,_0x1be162:0x1aa,_0x359ea0:0x154,_0x23141d:0x166,_0x3a602d:0x18f,_0xa1513:0x192,_0x29d999:0x1a5,_0x575bd1:0x1a8,_0x4b2dba:0x1a2,_0x31a49f:0x198,_0x19aeb2:0x19e,_0x29e3b7:0x145,_0x29588b:0x14b,_0x197135:0x150,_0x5a1bc5:0x151,_0xfc5b0f:0x16a,_0x67652:0x154,_0xd4b9ff:0x154,_0x403dd4:0x182,_0x1f1a96:0x1ad,_0x805fdc:0x17d,_0x155ccf:0x151,_0x26dbab:0x195,_0x402cc0:0x154,_0xe1979b:0x154},_0x4547d0=_0x2997ef,_0x7746f5={'mwaCW':function(_0xc3ac59,_0x5aa244){return _0xc3ac59+_0x5aa244;},'FJleV':function(_0x53af77,_0x34547c){return _0x53af77===_0x34547c;},'pIHny':function(_0x2fc89f,_0x3887b2){return _0x2fc89f-_0x3887b2;},'FYMRP':_0x4547d0(_0x6d49a3._0x1ec3f1),'wCVnF':_0x4547d0(_0x6d49a3._0x592b62),'exWPd':function(_0xae7775,_0x5d1953){return _0xae7775%_0x5d1953;},'qngXf':function(_0x2ae62c,_0x45f34c){return _0x2ae62c/_0x45f34c;},'qsfiT':function(_0x59ed4e,_0x297384){return _0x59ed4e+_0x297384;},'DuKsK':_0x4547d0(_0x6d49a3._0x302125),'OXZtu':function(_0x2a6ba2,_0x5bc527,_0x35d3df){return _0x2a6ba2(_0x5bc527,_0x35d3df);},'AoFVc':function(_0x153b7c,_0x1a2366){return _0x153b7c===_0x1a2366;},'isQsN':_0x4547d0(_0x6d49a3._0x1d0e94),'nZESf':function(_0x247185,_0xff93f){return _0x247185%_0xff93f;},'Ewaye':function(_0x3b2d3e,_0x3def13,_0x2d77a4){return _0x3b2d3e(_0x3def13,_0x2d77a4);},'mzJjk':function(_0xb37350,_0x4f2894){return _0xb37350/_0x4f2894;},'XYGBe':function(_0x5a1a17,_0x4ddc1c){return _0x5a1a17(_0x4ddc1c);},'nYkDB':function(_0x1ace27,_0xd833a1){return _0x1ace27(_0xd833a1);},'kFnKB':_0x4547d0(_0x6d49a3._0x40bbe5),'oNsPd':_0x4547d0(_0x6d49a3._0x130525)+'r'},_0x3babb4=new Date(_0xf1fae8+IST_OFFSET_MS),_0x3f7a77=_0x3babb4[_0x4547d0(_0x6d49a3._0x314b5e)+_0x4547d0(_0x6d49a3._0x4ed948)](),_0x5370c5=_0x3babb4[_0x4547d0(_0x6d49a3._0x20477a)+_0x4547d0(_0x6d49a3._0xac110f)](),_0x54ff6a=_0x3babb4[_0x4547d0(_0x6d49a3._0xb9b0fc)+'te'](),_0x21e0c5=_0x3babb4[_0x4547d0(_0x6d49a3._0x1617f3)+_0x4547d0(_0x6d49a3._0xa36830)](),_0x1c45ae=dayId(_0x3babb4),_0x1037e7=_0x7746f5[_0x4547d0(_0x6d49a3._0xeccf69)](_0x21e0c5*(-0x12f*0x17+0x1*-0x187f+0xa64*0x5),_0x3babb4[_0x4547d0(_0x6d49a3._0x1c2389)+_0x4547d0(_0x6d49a3._0x4e55f9)]())/(-0x1*0x11fb+0x2113+-0x978),_0x45b619=(_0x34a547,_0xd94eb0)=>({..._0x34a547,'rolling':![],'elapsed':Math[_0x4547d0(0x16b)](0x699*-0x2+-0x1423+0x22*0xfb,Math[_0x4547d0(0x147)](_0xd94eb0,(0xd54+-0x1dbb+-0x41a*-0x4)/(-0x1c9*0x1+0x9c4+-0x25b)))});if(_0x2cc21a===_0x4547d0(_0x6d49a3._0x504cd7)||_0x2cc21a==='1h'){const _0x502aa1=_0x7746f5[_0x4547d0(_0x6d49a3._0x23fa95)](_0x2cc21a,_0x4547d0(_0x6d49a3._0x9d766))?0x23*-0xe7+-0x11a*0x17+0x297*0x16:-0x180a+0x65*0x46+0x4*-0xd6,_0x492e34=_0x27b7b9=>Array[_0x4547d0(0x1ac)]({'length':_0x502aa1},(_0x36dca9,_0x19d69a)=>buckets_1[_0x4547d0(0x17e)+'DS'][_0x4547d0(0x16b)](_0xf1fae8-(_0x27b7b9+_0x502aa1-(0x11bd+-0x1b85+0x3*0x343)-_0x19d69a)*(0x10*0xd54+-0xe9e4+0xff04))),_0x22c236=_0x492e34(0x4*-0x7a5+0x989+0x150b),_0x5369b8=_0x51f1c2=>_0x51f1c2[_0x4547d0(0x162)](0x1*0x202a+0xc70+-0x40d*0xb)[_0x4547d0(0x181)]('-',':');return{'period':_0x2cc21a,'label':_0x2cc21a===_0x4547d0(_0x6d49a3._0x41781d)?_0x4547d0(_0x6d49a3._0x4a78d3)+_0x4547d0(_0x6d49a3._0x2cb2b4):_0x4547d0(_0x6d49a3._0x27048b)+'r','range':_0x5369b8(_0x22c236[0xcf7+-0x26f5*-0x1+-0x33ec])+_0x4547d0(_0x6d49a3._0x371b5e)+_0x5369b8(_0x22c236[_0x7746f5[_0x4547d0(_0x6d49a3._0x2ad66d)](_0x502aa1,-0x1*0x2519+0x12d5+0x3*0x617)])+',\x20'+pretty(_0x1c45ae),'rolling':!![],'elapsed':0x1,'unit':_0x4547d0(_0x6d49a3._0x4c9100),'ids':_0x22c236,'chart':{'bucket':_0x4547d0(_0x6d49a3._0x4c9100),'ids':_0x22c236},'previous':{'label':_0x2cc21a===_0x4547d0(_0x6d49a3._0x4b4338)?_0x4547d0(_0x6d49a3._0x51a6c5)+_0x4547d0(_0x6d49a3._0x21767a)+'e':_0x4547d0(_0x6d49a3._0x3a8dd4)+_0x4547d0(_0x6d49a3._0x513b7c),'unit':_0x4547d0(_0x6d49a3._0x4c9100),'ids':_0x492e34(_0x502aa1)}};}if(_0x2cc21a===_0x7746f5[_0x4547d0(_0x6d49a3._0x3ce14a)])return _0x45b619({'period':_0x2cc21a,'label':_0x4547d0(_0x6d49a3._0x3e08cb),'range':pretty(_0x1c45ae),'unit':_0x4547d0(_0x6d49a3._0x298a48),'ids':[_0x1c45ae],'chart':{'bucket':_0x4547d0(_0x6d49a3._0x5a6c1e),'ids':Array[_0x4547d0(_0x6d49a3._0x49db32)]({'length':_0x21e0c5+(0x9e+-0x189a+-0x59*-0x45)},(_0x1b5d43,_0x31ea39)=>_0x1c45ae+'-'+two(_0x31ea39))},'previous':{'label':_0x4547d0(_0x6d49a3._0x491538)+'y','unit':_0x4547d0(_0x6d49a3._0x298a48),'ids':days(_0x3f7a77,_0x5370c5,_0x54ff6a-(0x74+-0x23b9+0x2346),_0x54ff6a-(-0xb*-0xb+-0x7c1+0x749))}},_0x1037e7);if(_0x2cc21a===_0x7746f5[_0x4547d0(_0x6d49a3._0x54ac5d)]){const _0x2cc658=_0x7746f5[_0x4547d0(_0x6d49a3._0x107375)](_0x3babb4[_0x4547d0(_0x6d49a3._0x46f142)+'y']()+(-0x181d+0xf*-0x279+-0x22*-0x1cd),-0x12a*-0x13+0x1015+-0x262c),_0x1f1ccd=days(_0x3f7a77,_0x5370c5,_0x54ff6a-_0x2cc658,_0x54ff6a);return _0x45b619({'period':_0x2cc21a,'label':_0x4547d0(_0x6d49a3._0x2a8c7c)+'k','range':pretty(_0x1f1ccd[-0x1081+-0x4*0x3+0x108d])+_0x4547d0(_0x6d49a3._0x371b5e)+pretty(_0x1c45ae),'unit':_0x4547d0(_0x6d49a3._0x32c620),'ids':_0x1f1ccd,'chart':{'bucket':_0x4547d0(_0x6d49a3._0x32c620),'ids':_0x1f1ccd},'previous':{'label':_0x4547d0(_0x6d49a3._0x238e24)+'k','unit':_0x4547d0(_0x6d49a3._0x298a48),'ids':days(_0x3f7a77,_0x5370c5,_0x54ff6a-_0x2cc658-(-0xf5*0x1+-0x12*0x147+0x16*0x117),_0x54ff6a-_0x2cc658-(-0x2*-0x12ff+-0x1f5a+0x6a3*-0x1))}},_0x7746f5[_0x4547d0(_0x6d49a3._0x59bdeb)](_0x7746f5[_0x4547d0(_0x6d49a3._0x599734)](_0x2cc658,_0x1037e7),0x14b1*-0x1+-0x49c+0x1954));}if(_0x2cc21a===_0x4547d0(_0x6d49a3._0x5f53cb)){const _0x59f17a=days(_0x3f7a77,_0x5370c5,-0x1*0x21c1+-0x29c+-0x532*-0x7,_0x54ff6a);return _0x45b619({'period':_0x2cc21a,'label':_0x4547d0(_0x6d49a3._0x3d8a59)+'th','range':pretty(_0x59f17a[-0x86*-0x2a+-0x266b+0x1*0x106f])+_0x4547d0(_0x6d49a3._0x371b5e)+pretty(_0x1c45ae),'unit':_0x7746f5[_0x4547d0(_0x6d49a3._0x12e349)],'ids':[_0x7746f5[_0x4547d0(_0x6d49a3._0x3b7c6e)](monthId,_0x3f7a77,_0x5370c5)],'chart':{'bucket':_0x4547d0(_0x6d49a3._0x1adaaa),'ids':_0x59f17a},'previous':{'label':_0x4547d0(_0x6d49a3._0x1be162)+'th','unit':_0x4547d0(_0x6d49a3._0x302125),'ids':[monthId(_0x3f7a77,_0x5370c5-(0x2397+-0x1*0xd+-0x2389))]}},(_0x54ff6a-(-0x130f+-0xd96*-0x1+0x57a)+_0x1037e7)/new Date(Date[_0x4547d0(_0x6d49a3._0x359ea0)](_0x3f7a77,_0x5370c5+(-0x200*-0x3+-0x8*-0x4d4+0x2c9f*-0x1),0x2*0x8b4+-0x12b3*-0x1+-0x241b))[_0x4547d0(_0x6d49a3._0x23141d)+'te']());}if(_0x7746f5[_0x4547d0(_0x6d49a3._0x3a602d)](_0x2cc21a,_0x7746f5[_0x4547d0(_0x6d49a3._0xa1513)])){const _0x3f5aa6=_0x5370c5-_0x7746f5[_0x4547d0(_0x6d49a3._0x29d999)](_0x5370c5,0xa73+0x111c+-0x1b8c),_0x15edda=Array[_0x4547d0(_0x6d49a3._0x49db32)]({'length':_0x7746f5[_0x4547d0(_0x6d49a3._0x575bd1)](_0x5370c5-_0x3f5aa6,0x1b*0xf9+-0x43*-0x15+0x1*-0x1fc1)},(_0xca6d45,_0x5ebe28)=>monthId(_0x3f7a77,_0x3f5aa6+_0x5ebe28));return _0x7746f5[_0x4547d0(_0x6d49a3._0x4b2dba)](_0x45b619,{'period':_0x2cc21a,'label':'Q'+(_0x7746f5[_0x4547d0(_0x6d49a3._0x31a49f)](_0x3f5aa6,-0x174f+0x116c+0x5e6*0x1)+(0x1c9a+-0x73*-0x49+-0x3d64))+'\x20'+_0x3f7a77,'range':pretty(_0x15edda[0x1*-0x642+0x2192+0x6d4*-0x4]+_0x4547d0(_0x6d49a3._0x19aeb2))+_0x4547d0(_0x6d49a3._0x371b5e)+_0x7746f5[_0x4547d0(_0x6d49a3._0x29e3b7)](pretty,_0x1c45ae),'unit':_0x4547d0(_0x6d49a3._0x5f53cb),'ids':_0x15edda,'chart':{'bucket':_0x4547d0(_0x6d49a3._0x5f53cb),'ids':_0x15edda},'previous':{'label':_0x4547d0(_0x6d49a3._0x29588b)+_0x4547d0(_0x6d49a3._0x197135),'unit':_0x4547d0(_0x6d49a3._0x5a1bc5),'ids':[-0x1ca+-0x35*0x35+0xcc3,0x1d54+0x1b13+-0x3866,0x4*0x254+-0xab9+0x16b][_0x4547d0(_0x6d49a3._0xfc5b0f)](_0x3480e5=>monthId(_0x3f7a77,_0x3f5aa6-(-0x1f91*0x1+-0x9cf+0x2963)+_0x3480e5))}},(Date[_0x4547d0(_0x6d49a3._0x359ea0)](_0x3f7a77,_0x5370c5,_0x54ff6a)-Date[_0x4547d0(_0x6d49a3._0x359ea0)](_0x3f7a77,_0x3f5aa6,0x1856+-0x12c7+-0x58e)+_0x1037e7*(-0x8fb60af+-0x9e13a2c+0x1802f6db))/(Date[_0x4547d0(_0x6d49a3._0x67652)](_0x3f7a77,_0x3f5aa6+(0xb09*0x1+0xba6+-0x16ac),-0x200*-0x1+0x230*0x1+0x15*-0x33)-Date[_0x4547d0(_0x6d49a3._0xd4b9ff)](_0x3f7a77,_0x3f5aa6,0xc5b+0x3*-0x8b1+0xdb9)));}return _0x45b619({'period':_0x2cc21a,'label':String(_0x3f7a77),'range':_0x4547d0(_0x6d49a3._0x403dd4)+_0x7746f5[_0x4547d0(_0x6d49a3._0x1f1a96)](pretty,_0x1c45ae),'unit':_0x7746f5[_0x4547d0(_0x6d49a3._0x805fdc)],'ids':[String(_0x3f7a77)],'chart':{'bucket':_0x4547d0(_0x6d49a3._0x155ccf),'ids':Array[_0x4547d0(_0x6d49a3._0x49db32)]({'length':_0x5370c5+(-0x1bbe*0x1+-0x152d+0x30ec)},(_0x48b62a,_0x4147d5)=>monthId(_0x3f7a77,_0x4147d5))},'previous':{'label':_0x7746f5[_0x4547d0(_0x6d49a3._0x26dbab)],'unit':_0x4547d0(_0x6d49a3._0x40bbe5),'ids':[String(_0x3f7a77-(-0x1c7*-0x3+0x55*0x33+0x29*-0x8b))]}},_0x7746f5[_0x4547d0(_0x6d49a3._0x575bd1)](Date[_0x4547d0(_0x6d49a3._0xd4b9ff)](_0x3f7a77,_0x5370c5,_0x54ff6a)-Date[_0x4547d0(_0x6d49a3._0x67652)](_0x3f7a77,0x1194+0x11*0x43+0x1*-0x1607,0x1187+-0x40d*-0x3+-0x1dad),_0x1037e7*(-0x4575e62+0x71c9f3+0x90bf06f))/(Date[_0x4547d0(_0x6d49a3._0x402cc0)](_0x3f7a77+(-0x7b5+0x1069*-0x2+-0x1*-0x2888),0xce5*-0x2+0x1*0x2669+-0xc9f,0xdd4+-0x55*-0x26+-0x1a71)-Date[_0x4547d0(_0x6d49a3._0xe1979b)](_0x3f7a77,0x1788+-0x59*-0x56+-0xe*0x3d1,-0x3*-0x89+0x66c+-0x1a*0x4f)));}function placeOf(_0x546c39,_0x21286d,_0x4f6be7){const _0x5f5d02={_0x1260bf:0x194,_0x452854:0x199,_0xb890e6:0x172,_0x27b5f8:0x175,_0x3b4561:0x163,_0x14b890:0x162,_0x4f6af1:0x152,_0x2dcfd1:0x171,_0x4499b7:0x175,_0x1f6c8f:0x15d,_0x4dc6b6:0x165,_0x2495c7:0x171},_0x5247c9=_0x2997ef,_0x3db702={'vVUjS':function(_0x2de9ba,_0x351f09){return _0x2de9ba<=_0x351f09;}};if(_0x3db702[_0x5247c9(_0x5f5d02._0x1260bf)](ORDER[_0x5247c9(_0x5f5d02._0x452854)](_0x21286d),ORDER[_0x5247c9(_0x5f5d02._0x452854)](_0x546c39[_0x5247c9(_0x5f5d02._0xb890e6)]))){const _0x22567e={'sec':0x13,'min':0x10,'hour':0xd,'day':0xa,'month':0x7,'year':0x4}[_0x546c39[_0x5247c9(_0x5f5d02._0xb890e6)]];return _0x546c39[_0x5247c9(_0x5f5d02._0x27b5f8)][_0x5247c9(_0x5f5d02._0x3b4561)](_0x4f6be7[_0x5247c9(_0x5f5d02._0x14b890)](-0x20bd*0x1+0x7a9+-0x1ac*-0xf,_0x22567e))?_0x5247c9(_0x5f5d02._0x4f6af1):_0x5247c9(_0x5f5d02._0x2dcfd1);}return _0x546c39[_0x5247c9(_0x5f5d02._0x4499b7)][_0x5247c9(_0x5f5d02._0x1f6c8f)](_0x3ee00b=>_0x3ee00b[_0x5247c9(0x141)+'th'](_0x4f6be7))?_0x5247c9(_0x5f5d02._0x4dc6b6):_0x5247c9(_0x5f5d02._0x2495c7);}const ID={'sec':/^\d{4}-\d\d-\d\d-\d\d-\d\d-\d\d$/,'min':/^\d{4}-\d\d-\d\d-\d\d-\d\d$/,'hour':/^\d{4}-\d\d-\d\d-\d\d$/,'day':/^\d{4}-\d\d-\d\d$/,'month':/^\d{4}-\d\d$/,'year':/^\d{4}$/};function _0x3f8b(_0x256092,_0x4fce05){_0x256092=_0x256092-(0x3*-0xb32+0x231a+0x4*-0x11);const _0x1e2cf3=_0x5ed1();let _0x6f2889=_0x1e2cf3[_0x256092];if(_0x3f8b['iqTysy']===undefined){var _0x5e34c6=function(_0x152f60){const _0x8ce96b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5748bb='',_0x3d6e19='';for(let _0x52e80e=-0x259f+-0x3a*-0x89+0x1*0x695,_0x135f2e,_0x3650dc,_0x22a92c=0xf*0x209+0x16ae+0x35*-0x101;_0x3650dc=_0x152f60['charAt'](_0x22a92c++);~_0x3650dc&&(_0x135f2e=_0x52e80e%(0x192b+0x106c+-0x2993)?_0x135f2e*(0x1d79+-0x3c8+-0x1971)+_0x3650dc:_0x3650dc,_0x52e80e++%(0x10c2+-0xb3a+-0x584))?_0x5748bb+=String['fromCharCode'](0x39a*-0x2+0x139*0x9+-0x2ce&_0x135f2e>>(-(-0x2453+-0x2e*-0x4+-0x9*-0x3f5)*_0x52e80e&-0x198e+-0x1*0x3f2+-0x2*-0xec3)):0x2da+0x2146+-0x2420){_0x3650dc=_0x8ce96b['indexOf'](_0x3650dc);}for(let _0x5aaac1=0x6*-0x223+-0x2497+-0x3169*-0x1,_0x48c7ea=_0x5748bb['length'];_0x5aaac1<_0x48c7ea;_0x5aaac1++){_0x3d6e19+='%'+('00'+_0x5748bb['charCodeAt'](_0x5aaac1)['toString'](0x1987+0x192b+-0x32a2))['slice'](-(-0xe08+-0x13b8+0x21c2*0x1));}return decodeURIComponent(_0x3d6e19);};_0x3f8b['uZeetz']=_0x5e34c6,_0x3f8b['LEYeXD']={},_0x3f8b['iqTysy']=!![];}const _0x39f5fb=_0x1e2cf3[0x1f6+-0x1db1+-0x1f*-0xe5];_0x3f8b['CIVwtu']!==_0x39f5fb&&(_0x3f8b['LEYeXD']={},_0x3f8b['CIVwtu']=_0x39f5fb);const _0x41038e=_0x3f8b['LEYeXD'][_0x256092];return _0x41038e===undefined?(_0x6f2889=_0x3f8b['uZeetz'](_0x6f2889),_0x3f8b['LEYeXD'][_0x256092]=_0x6f2889):_0x6f2889=_0x41038e,_0x6f2889;}function parseKey(_0x251cb2,_0x26cd97){const _0x444e17={_0x3030ef:0x141,_0x5aadde:0x162,_0x527396:0x159,_0x5ad59a:0x19d,_0x5dc391:0x1a9,_0x2d219b:0x14a,_0x366bff:0x162,_0x19951d:0x1af,_0x524f43:0x159,_0x6de70a:0x179,_0x25623e:0x155,_0x2b3ff1:0x155,_0x1ce5cc:0x159,_0x77eb13:0x14e,_0x48ee9d:0x159,_0x53752f:0x159,_0x462399:0x16d,_0x3ee8fa:0x173,_0x2ff818:0x159},_0x54289f=_0x2997ef,_0x15ed47={'lXarb':function(_0x12a321,_0x33414c){return _0x12a321-_0x33414c;},'MOAJX':function(_0x471efe,_0x463cbf){return _0x471efe===_0x463cbf;}};if(!_0x26cd97[_0x54289f(_0x444e17._0x3030ef)+'th'](_0x251cb2+':'))return null;const _0x4058a1=_0x26cd97[_0x54289f(_0x444e17._0x5aadde)](_0x251cb2[_0x54289f(_0x444e17._0x527396)]+(0x2175+-0x3d*-0xa+-0x23d6))[_0x54289f(_0x444e17._0x5ad59a)](':'),_0x39a7c9=_0x4058a1[_0x54289f(_0x444e17._0x5dc391)](),_0x1552ae=_0x4058a1[_0x54289f(_0x444e17._0x5dc391)]();if(!ID[_0x1552ae]?.[_0x54289f(_0x444e17._0x2d219b)](_0x39a7c9))return null;const _0x1a4424=_0x26cd97[_0x54289f(_0x444e17._0x366bff)](-0x1f*0x123+-0x791+0x1567*0x2,_0x15ed47[_0x54289f(_0x444e17._0x19951d)](_0x26cd97[_0x54289f(_0x444e17._0x524f43)]-_0x1552ae[_0x54289f(_0x444e17._0x524f43)]-_0x39a7c9[_0x54289f(_0x444e17._0x524f43)],-0x1a13+-0x7e6+0x21fb*0x1)),_0x29f196={'key':_0x26cd97,'base':_0x1a4424,'bucket':_0x1552ae,'id':_0x39a7c9,'errors':![]};if(_0x15ed47[_0x54289f(_0x444e17._0x6de70a)](_0x4058a1[_0x54289f(_0x444e17._0x524f43)],0x101b+0x25b0*-0x1+0x1596)&&_0x4058a1[0x21a3+0xcb5*-0x1+0x72*-0x2f]===_0x54289f(_0x444e17._0x25623e))return{..._0x29f196,'kind':_0x54289f(_0x444e17._0x2b3ff1)};if(_0x4058a1[_0x54289f(_0x444e17._0x1ce5cc)]===0x73e+-0x6e7*-0x5+0x1*-0x29bf&&_0x4058a1[-0x5ab+-0x1d72+0x231e]===_0x54289f(_0x444e17._0x25623e))return{..._0x29f196,'kind':_0x54289f(_0x444e17._0x77eb13),'type':_0x4058a1[0x147+-0x544*-0x7+-0x1*0x2623]};if(_0x4058a1[_0x54289f(_0x444e17._0x48ee9d)]===0x957+-0x1*0x12af+0x1*0x95b||_0x4058a1[_0x54289f(_0x444e17._0x53752f)]===0x1e0a+-0x123f+-0xbc7&&_0x4058a1[0x1b85+0x5d*-0x2b+-0xbe3]===_0x54289f(_0x444e17._0x462399))return{..._0x29f196,'kind':_0x54289f(_0x444e17._0x3ee8fa),'type':_0x4058a1[-0x1*0x2c9+-0x31*0x50+0x1219],'action':_0x4058a1[0x129+0x22df+-0x2407],'name':_0x4058a1[0x1*-0x775+0x1*0x5ed+0x18a],'errors':_0x4058a1[_0x54289f(_0x444e17._0x2ff818)]===0xd8*-0xc+-0x279*-0x2+0x532};return null;}
@@ -0,0 +1,45 @@
1
+ import type { TimeBucket } from "../types";
2
+ export type Source = {
3
+ kind: "global";
4
+ } | {
5
+ kind: "type";
6
+ type: string;
7
+ } | {
8
+ kind: "route";
9
+ type: string;
10
+ action: string;
11
+ name: string;
12
+ } | {
13
+ kind: "pattern";
14
+ type: string;
15
+ action: string;
16
+ name: string;
17
+ };
18
+ type Route = {
19
+ type: string;
20
+ action: string;
21
+ name: string;
22
+ };
23
+ export declare function clearPatternCache(): void;
24
+ export declare function matchRoutes(type: string, action: string, name: string, now?: number): Promise<Route[]>;
25
+ export declare function query(raw: unknown, now?: number): Promise<{
26
+ range: TimeBucket;
27
+ failures: boolean;
28
+ series: any[];
29
+ breakdown: {
30
+ label: string;
31
+ total: number;
32
+ errors: number | null;
33
+ target: Source;
34
+ }[] | undefined;
35
+ }>;
36
+ export declare function matchView(q: URLSearchParams, now?: number): Promise<{
37
+ key: string;
38
+ routes: {
39
+ day: number;
40
+ type: string;
41
+ action: string;
42
+ name: string;
43
+ }[];
44
+ }>;
45
+ export {};
@@ -0,0 +1 @@
1
+ 'use strict';const _0x4cba45=_0xeb8e;(function(_0x22741a,_0x17ab3c){const _0x2c9662={_0x2c4a98:0x1c0,_0x54ead6:0x1de,_0x169b0a:0x1f1,_0x15a381:0x1e7,_0x31f64e:0x1ab,_0x3eec3a:0x20b,_0x216e80:0x1e3,_0x1d084b:0x209,_0x4755d6:0x1a2,_0x5d4c3f:0x1ff,_0x4a22e0:0x1df},_0x214087=_0xeb8e,_0x4bb2f5=_0x22741a();while(!![]){try{const _0xf59f22=parseInt(_0x214087(_0x2c9662._0x2c4a98))/(0x3*0xb21+0x7*-0x2c5+-0x1*0xdff)*(-parseInt(_0x214087(_0x2c9662._0x54ead6))/(0x963+0x1459*0x1+-0x1dba))+parseInt(_0x214087(_0x2c9662._0x169b0a))/(-0x2038+-0xfb5+0x2ff0)+-parseInt(_0x214087(_0x2c9662._0x15a381))/(-0x1*-0xe1f+-0x67*0x15+0x16a*-0x4)*(parseInt(_0x214087(_0x2c9662._0x31f64e))/(0x142*-0x1d+0x2a1+0x21de))+parseInt(_0x214087(_0x2c9662._0x3eec3a))/(-0x1*0xc31+0x9*0x367+-0x1268)*(parseInt(_0x214087(_0x2c9662._0x216e80))/(0x7*-0x32b+0x19d0+0x3*-0x134))+-parseInt(_0x214087(_0x2c9662._0x1d084b))/(-0x2*0x50+-0x439*0x5+0x15c5*0x1)+-parseInt(_0x214087(_0x2c9662._0x4755d6))/(-0x137*-0x1+-0x721+0x5f3)+-parseInt(_0x214087(_0x2c9662._0x5d4c3f))/(-0x2294+0x2421+-0x183)*(-parseInt(_0x214087(_0x2c9662._0x4a22e0))/(-0x2f*-0xd3+0x116c+0x28d*-0x16));if(_0xf59f22===_0x17ab3c)break;else _0x4bb2f5['push'](_0x4bb2f5['shift']());}catch(_0x2b14b5){_0x4bb2f5['push'](_0x4bb2f5['shift']());}}}(_0x3135,-0x7*0x1d815+-0x1f3*-0x5e3+0xefa7c));Object[_0x4cba45(0x1ba)+_0x4cba45(0x1b8)](exports,_0x4cba45(0x206)+'le',{'value':!![]}),exports[_0x4cba45(0x1a7)+_0x4cba45(0x1c8)+'e']=clearPatternCache,exports[_0x4cba45(0x1f5)+_0x4cba45(0x1e1)]=matchRoutes,exports[_0x4cba45(0x1a4)]=query,exports[_0x4cba45(0x1e0)+'w']=matchView;const buckets_1=require('../buckets'),search_1=require('../search'),data_1=require('./data'),MAX_SERIES=0x2640+0x125d+-0x21*0x1b7,MAX_BREAKDOWN=0x2607+0xc7*0x27+0x53e*-0xd,MAX_MATCHES=0x575+-0x1bc*0x8+0x8cf,CACHE_MS=0x5cf0+0x7217+-0x946f,CACHE_SIZE=-0x1260*-0x2+0xa91+-0x21*0x169;function _0xeb8e(_0x308d71,_0x2e6e40){_0x308d71=_0x308d71-(-0xec*0xb+0x1bba+-0xff5);const _0x2a2c26=_0x3135();let _0x10365f=_0x2a2c26[_0x308d71];if(_0xeb8e['drkkGE']===undefined){var _0x46b451=function(_0x18464c){const _0x46e0b0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x535b07='',_0x18d8a6='';for(let _0x4ab485=0x19*0x19+-0x1f28+-0x1cb7*-0x1,_0x2b0e9c,_0x55f737,_0x1a48d6=-0x8d+0x185+0x1f*-0x8;_0x55f737=_0x18464c['charAt'](_0x1a48d6++);~_0x55f737&&(_0x2b0e9c=_0x4ab485%(-0x8b7*0x3+-0x1*-0x183b+0x1ee)?_0x2b0e9c*(-0x15b7+-0x1*0x2047+0x1b1f*0x2)+_0x55f737:_0x55f737,_0x4ab485++%(-0xec2+-0x13*0x113+-0x1*-0x232f))?_0x535b07+=String['fromCharCode'](0x4b1*-0x2+-0x65*0x35+0x537*0x6&_0x2b0e9c>>(-(0x1783*0x1+-0x97*0x39+0x23*0x4a)*_0x4ab485&-0xa92*-0x3+-0xedf+-0x10d1)):-0x2568+-0x1741+-0x125*-0x35){_0x55f737=_0x46e0b0['indexOf'](_0x55f737);}for(let _0x12f888=-0x17c1+-0x1a38+0x31f9,_0x144c67=_0x535b07['length'];_0x12f888<_0x144c67;_0x12f888++){_0x18d8a6+='%'+('00'+_0x535b07['charCodeAt'](_0x12f888)['toString'](-0x1347+-0x1*0x473+0x15*0x122))['slice'](-(-0x205d*0x1+0x69e*-0x4+0x3ad7*0x1));}return decodeURIComponent(_0x18d8a6);};_0xeb8e['ZUsCvg']=_0x46b451,_0xeb8e['IqpVRo']={},_0xeb8e['drkkGE']=!![];}const _0x15f9d4=_0x2a2c26[0x3a4*-0x3+-0xaa6*-0x3+-0x1506];_0xeb8e['gmKPjO']!==_0x15f9d4&&(_0xeb8e['IqpVRo']={},_0xeb8e['gmKPjO']=_0x15f9d4);const _0x2f97ff=_0xeb8e['IqpVRo'][_0x308d71];return _0x2f97ff===undefined?(_0x10365f=_0xeb8e['ZUsCvg'](_0x10365f),_0xeb8e['IqpVRo'][_0x308d71]=_0x10365f):_0x10365f=_0x2f97ff,_0x10365f;}function part(_0x3debfd,_0x183c79,_0x90a1d2){const _0x3a8c86={_0x3e8549:0x1a6,_0x6d156b:0x1bd,_0x1902cb:0x1ec,_0x3e990c:0x214,_0x2a39c0:0x220,_0x390852:0x20a},_0x149c2e=_0x4cba45,_0x459ff9={'wklej':function(_0x10fa6a,_0x15c9ce){return _0x10fa6a!==_0x15c9ce;}},_0x20b5d9=_0x90a1d2?/^[A-Za-z0-9_./<>*@~+=-]+$/:/^[^*?[\]\\]+$/;if(_0x459ff9[_0x149c2e(_0x3a8c86._0x3e8549)](typeof _0x3debfd,_0x149c2e(_0x3a8c86._0x6d156b))||!_0x3debfd||_0x3debfd[_0x149c2e(_0x3a8c86._0x1902cb)]>-0xeed*0x1+-0xd71+0x1d26||!_0x20b5d9[_0x149c2e(_0x3a8c86._0x3e990c)](_0x3debfd))throw new data_1[(_0x149c2e(_0x3a8c86._0x2a39c0))+'st'](_0x149c2e(_0x3a8c86._0x390852)+_0x183c79);return _0x3debfd;}const globRe=_0x4b9b9b=>new RegExp('^'+_0x4b9b9b[_0x4cba45(0x1ce)]('*')[_0x4cba45(0x1c2)](_0x820b0=>_0x820b0[_0x4cba45(0x1e5)](/[.+^${}()|\\]/g,_0x4cba45(0x1d6)))[_0x4cba45(0x1b3)]('.*')+'$'),patternCache=new Map();function _0x3135(){const _0x49a84=['ihrYywnRigK','Cgf0DgvYBG','qLvds0vux0K','C2vJ','DgvYBKnHy2G','zMLUza','z2XVyMfS','DhjHy2TLzdS','uKfor0u','zw5KC1DPDgG','C3bSAxq','oIbNBg9IywW','Aw5JBhvKzxm','zxjYB3jZ','BM93','C2vYAwvZtwe','s0n5tMK','y291BNrZ','xcqM','B1v6ruW','CNn0','ywn0Aw9U','EwvHCG','wuPzuNm','DhbQzKi','C2XPy2u','mZuWAhLhEu1T','mJi2otnOsgrVBNq','Bwf0y2HwAwu','DgvZ','yuTyufq','n3LYzeDyzq','vvr3Avm','CMvWBgfJzq','oMrHEtO','mJy5nty4ngvyqwvevG','CMfUz2uGBxu','CM91DgvZt2y','zsbVzIa','C2v0','BgvUz3rO','zwfJAcbZzxi','ywXS','C3qGyMuGB24','ChvZAa','mtqWodiXmKXNExDQvW','CMvKDwnL','t1vu','shjMBKi','Bwf0y2HsB3u','CMfUz2u','Ag91CG','oMDSB2jHBa','Dg90ywW','uxLLz2C','BgfIzwW','BwLU','BMfTzq','Bw9UDgG','mtGXmtbKEujPu3m','B3rQuhy','C2L6zq','y2XLyxi','zMLSBa','zwvKCYaXihq','zgf5','x19LC01Vzhu','C2vYAwvZ','zMLSDgvY','nJC5oti4mfHMDfjoEq','Aw52ywXPzca','nJq5nZK1oeDfv09qBa','CM91DgvZ','qwXSihrYywy','ig9UihDPDgG','s2rhzve','ihbHDhrLCM4','zM9YrwfJAa','BIbZDgf0Axm','ihr1CM4GAxq','DgvZDa','oJv4Ea','DhjHy2S','BhPUtvq','AwrZ','y29UzMLN','A3rIt2K','yxP2BfG','twzprxC','DhLWzq','zMLJ','AwvZig5Lzwq','qMfKuMvXDwu','CNfyreu','mtu1ndm3ntz5zu5PrNK','C2vHCMnOs2u','CxvLCNK','DhLWzxnpzG','D2TSzwO','y2XLyxjqyxq','CM91Dgu','CM91DguGB3i','ihnVDxjJzxm','nwjxzLbHEG','C291CMnL','DMvNBNG','ChjLzML4','C2vYAwvZig4','zMfPBhvYzxm','lcb0ExbLlca','z2v0','AM9PBG','z2v0twfUEq','igLZig5VDca','yNvJA2v0swq','CYbHigTPBMq','B3bLCNr5','yNjLywTKB3C','zgvMAw5Luhi','qvbiwKe','A2LUza','C3rYAw5N','C29YDa','lMLUAxqGzMK','nJu3mvjkqKzfsa','DMfSDwvZ','BwfW','AxnbCNjHEq'];_0x3135=function(){return _0x49a84;};return _0x3135();}function clearPatternCache(){const _0xeb4def={_0x1e11ea:0x202},_0x3df72d=_0x4cba45;patternCache[_0x3df72d(_0xeb4def._0x1e11ea)]();}async function matchRoutes(_0x226b51,_0x30216d,_0x5f4d14,_0x14aa1a=Date[_0x4cba45(0x1d2)]()){const _0x155e0e={_0x5c851e:0x1ca,_0x24cfe5:0x219,_0x2c6c76:0x205,_0x3801ef:0x1f7,_0x4692ad:0x1fe,_0x23d472:0x1da,_0x567f75:0x1fc,_0x388df5:0x1c7,_0x48025e:0x1c9,_0x18152d:0x1c6,_0xd2ea0b:0x1b2,_0x5e05c4:0x21a,_0x2684e8:0x1ad,_0x19e365:0x20c,_0x1fceac:0x1ae,_0x37ec2c:0x1a3,_0x504e81:0x1dd,_0xb93251:0x1ec,_0x2b1428:0x1e2,_0x392cf8:0x1ec,_0x5e5453:0x1cd,_0x30d516:0x215,_0x2e33a9:0x1ce,_0x87867f:0x1ca,_0x4b27ad:0x217,_0x182c8d:0x1dd,_0x4ca3da:0x1ec,_0x373366:0x1ec,_0x164abb:0x214,_0x44983d:0x214,_0x1241bd:0x1eb,_0x180416:0x20f,_0x2a499c:0x201,_0x106dee:0x1c1,_0x75fcfc:0x201,_0x18895f:0x202},_0x31cc56=_0x4cba45,_0xd8c0fe={'ktbOi':function(_0x21fc48,_0x415f91){return _0x21fc48<_0x415f91;},'vegnx':function(_0x19bc85,_0x5bb62d){return _0x19bc85-_0x5bb62d;},'aKXPT':function(_0xe55fba,_0x250a86){return _0xe55fba-_0x250a86;},'lznMT':_0x31cc56(_0x155e0e._0x5c851e),'KdGeQ':function(_0x39c5a6,_0x20abe3){return _0x39c5a6>=_0x20abe3;}},{cfg:_0x35afdc,buckets:_0x41975a}=(-0x1*-0x1fd1+0x104c+-0x6d*0x71,data_1[_0x31cc56(_0x155e0e._0x24cfe5)])(),_0x490f6b=[_0x31cc56(_0x155e0e._0x2c6c76),_0x31cc56(_0x155e0e._0x3801ef),_0x31cc56(_0x155e0e._0x4692ad),_0x31cc56(_0x155e0e._0x23d472),_0x31cc56(_0x155e0e._0x567f75),_0x31cc56(_0x155e0e._0x388df5)][_0x31cc56(_0x155e0e._0x48025e)](_0x7168af=>_0x41975a[_0x31cc56(0x1d0)](_0x7168af));if(!_0x490f6b)return[];const _0x32b9cb=buckets_1[_0x31cc56(_0x155e0e._0x18152d)+'DS'][_0x490f6b](_0x14aa1a),_0x153c74=_0x226b51+'\x0a'+_0x30216d+'\x0a'+_0x5f4d14+'\x0a'+_0x490f6b+':'+_0x32b9cb,_0x3e28ac=patternCache[_0x31cc56(_0x155e0e._0xd2ea0b)](_0x153c74);if(_0x3e28ac&&_0xd8c0fe[_0x31cc56(_0x155e0e._0x5e05c4)](_0xd8c0fe[_0x31cc56(_0x155e0e._0x2684e8)](_0x14aa1a,_0x3e28ac['at']),CACHE_MS))return _0x3e28ac[_0x31cc56(_0x155e0e._0x19e365)];const _0x35f7c9=_0x35afdc[_0x31cc56(_0x155e0e._0x1fceac)]+':',_0x2d95cc=':'+_0x490f6b+':'+_0x32b9cb,[_0x255e8e,_0xf57d4f,_0xd45513]=[globRe(_0x226b51),globRe(_0x30216d),globRe(_0x5f4d14)],_0x41f2e2=new Map();for(const _0x1fb429 of await(0x3be*-0x8+0x220*0x12+-0x850,search_1[_0x31cc56(_0x155e0e._0x37ec2c)+'ys'])(''+_0x35f7c9+_0x226b51+':'+_0x30216d+':'+_0x5f4d14+_0x2d95cc)){const _0x3052e4=_0x1fb429[_0x31cc56(_0x155e0e._0x504e81)](_0x35f7c9[_0x31cc56(_0x155e0e._0xb93251)],_0xd8c0fe[_0x31cc56(_0x155e0e._0x2b1428)](_0x1fb429[_0x31cc56(_0x155e0e._0x392cf8)],_0x2d95cc[_0x31cc56(_0x155e0e._0x392cf8)]));if(_0x3052e4[_0x31cc56(_0x155e0e._0x5e5453)](_0x31cc56(_0x155e0e._0x30d516)))continue;const [_0x113caf,_0x466792]=_0x3052e4[_0x31cc56(_0x155e0e._0x2e33a9)](':',0x19a5+0x14e5+0x2*-0x1744);if(!_0x466792||_0x113caf===_0x31cc56(_0x155e0e._0x87867f)||_0x466792===_0xd8c0fe[_0x31cc56(_0x155e0e._0x4b27ad)])continue;const _0x30e3eb=_0x3052e4[_0x31cc56(_0x155e0e._0x182c8d)](_0x113caf[_0x31cc56(_0x155e0e._0x4ca3da)]+_0x466792[_0x31cc56(_0x155e0e._0x373366)]+(-0x1b9+0x178b+0x2ba*-0x8));if(_0x255e8e[_0x31cc56(_0x155e0e._0x164abb)](_0x113caf)&&_0xf57d4f[_0x31cc56(_0x155e0e._0x44983d)](_0x466792)&&_0xd45513[_0x31cc56(_0x155e0e._0x164abb)](_0x30e3eb))_0x41f2e2[_0x31cc56(_0x155e0e._0x1241bd)](_0x3052e4,{'type':_0x113caf,'action':_0x466792,'name':_0x30e3eb});if(_0xd8c0fe[_0x31cc56(_0x155e0e._0x180416)](_0x41f2e2[_0x31cc56(_0x155e0e._0x2a499c)],MAX_MATCHES))break;}const _0x434964=[..._0x41f2e2[_0x31cc56(_0x155e0e._0x106dee)]()];if(patternCache[_0x31cc56(_0x155e0e._0x75fcfc)]>=CACHE_SIZE)patternCache[_0x31cc56(_0x155e0e._0x18895f)]();return patternCache[_0x31cc56(_0x155e0e._0x1241bd)](_0x153c74,{'at':_0x14aa1a,'routes':_0x434964}),_0x434964;}function tracked(_0x436004,_0x4b4cf8){const _0x34488b={_0x5b0ffc:0x220,_0x354562:0x1b5,_0x2626ac:0x1cb,_0x5c9b87:0x213,_0x1dcf31:0x20e,_0x1b7dc8:0x1c4,_0x358285:0x212,_0x5b118c:0x1bf,_0x3a4d4e:0x1d8},_0x1da144=_0x4cba45;if(_0x4b4cf8[_0x436004]===![])throw new data_1[(_0x1da144(_0x34488b._0x5b0ffc))+'st'](_0x436004+(_0x1da144(_0x34488b._0x354562)+_0x1da144(_0x34488b._0x2626ac)+_0x1da144(_0x34488b._0x5c9b87)+_0x1da144(_0x34488b._0x1dcf31)+_0x1da144(_0x34488b._0x1b7dc8)+_0x1da144(_0x34488b._0x358285)+_0x1da144(_0x34488b._0x5b118c)+_0x1da144(_0x34488b._0x3a4d4e)));return _0x436004;}function readSource(_0x397b6,_0x5583e8){const _0x1e213e={_0x1916f6:0x1fd,_0x140eb3:0x1bc,_0x224085:0x1ca,_0x52c03c:0x21d,_0x2a03be:0x21d,_0x1a3567:0x21d,_0x5184dd:0x1a8,_0x52911c:0x21d,_0x549336:0x1d9,_0x230d82:0x1d9,_0x35ccf1:0x1fd,_0xd859ab:0x1fd,_0x491837:0x1a1,_0x37232e:0x1c5,_0x146f72:0x1d9,_0x3180ed:0x21c,_0xeb7f70:0x1fd,_0x3c9c2c:0x1d7,_0x46779a:0x220,_0x3bab37:0x1ed,_0x407a64:0x21f,_0x1ad6ef:0x1b7,_0x431079:0x1cf,_0x517dc0:0x1b1,_0x568b26:0x1a9,_0x1b7774:0x210},_0x2cba9f=_0x4cba45,_0x363363={'rqXDE':function(_0x43925a,_0x43bd4c){return _0x43925a===_0x43bd4c;},'MfOEw':function(_0x5823b8,_0x22fde4,_0x50fb7c,_0x1d72c5){return _0x5823b8(_0x22fde4,_0x50fb7c,_0x1d72c5);},'oUzEL':_0x2cba9f(_0x1e213e._0x1916f6)},_0x30a8fa=_0x397b6?.[_0x2cba9f(_0x1e213e._0x140eb3)];if(_0x30a8fa===_0x2cba9f(_0x1e213e._0x224085))return{'kind':_0x30a8fa};if(_0x30a8fa===_0x2cba9f(_0x1e213e._0x52c03c))return{'kind':_0x30a8fa,'type':tracked(part(_0x397b6[_0x2cba9f(_0x1e213e._0x2a03be)],_0x2cba9f(_0x1e213e._0x1a3567),![]),_0x5583e8)};if(_0x30a8fa===_0x2cba9f(_0x1e213e._0x5184dd))return{'kind':_0x30a8fa,'type':tracked(part(_0x397b6[_0x2cba9f(_0x1e213e._0x1a3567)],_0x2cba9f(_0x1e213e._0x52911c),![]),_0x5583e8),'action':part(_0x397b6[_0x2cba9f(_0x1e213e._0x549336)],_0x2cba9f(_0x1e213e._0x230d82),![]),'name':part(_0x397b6[_0x2cba9f(_0x1e213e._0x35ccf1)],_0x2cba9f(_0x1e213e._0xd859ab),![])};if(_0x363363[_0x2cba9f(_0x1e213e._0x491837)](_0x30a8fa,_0x2cba9f(_0x1e213e._0x37232e)))return{'kind':_0x30a8fa,'type':tracked(part(_0x397b6[_0x2cba9f(_0x1e213e._0x2a03be)],_0x2cba9f(_0x1e213e._0x52911c),!![]),_0x5583e8),'action':part(_0x397b6[_0x2cba9f(_0x1e213e._0x146f72)],_0x2cba9f(_0x1e213e._0x230d82),!![]),'name':_0x363363[_0x2cba9f(_0x1e213e._0x3180ed)](part,_0x397b6[_0x2cba9f(_0x1e213e._0xeb7f70)],_0x363363[_0x2cba9f(_0x1e213e._0x3c9c2c)],!![])};throw new data_1[(_0x2cba9f(_0x1e213e._0x46779a))+'st'](_0x2cba9f(_0x1e213e._0x3bab37)+_0x2cba9f(_0x1e213e._0x407a64)+_0x2cba9f(_0x1e213e._0x1ad6ef)+_0x2cba9f(_0x1e213e._0x431079)+_0x2cba9f(_0x1e213e._0x517dc0)+_0x2cba9f(_0x1e213e._0x568b26)+_0x2cba9f(_0x1e213e._0x1b7774));}async function todayCounts(_0x3ede78,_0x276a58,_0x4fe5b1,_0x26d6df){const _0x1436b3={_0x31db09:0x205,_0x11cebb:0x1c2,_0x1d7808:0x1c6,_0x55085c:0x1b4},_0x1ef854=_0x4cba45;if(!_0x4fe5b1(_0x1ef854(_0x1436b3._0x31db09)))return _0x276a58[_0x1ef854(_0x1436b3._0x11cebb)](()=>-0x5fc+0x71*-0x41+0x22ad);const _0x59418e=buckets_1[_0x1ef854(_0x1436b3._0x1d7808)+'DS'][_0x1ef854(_0x1436b3._0x31db09)](_0x26d6df);return(-0x6f6+-0x65*-0x43+0x3e5*-0x5,data_1[_0x1ef854(_0x1436b3._0x55085c)])(_0x276a58[_0x1ef854(_0x1436b3._0x11cebb)](_0x53b59e=>_0x3ede78+':'+_0x53b59e[_0x1ef854(0x21d)]+':'+_0x53b59e[_0x1ef854(0x1d9)]+':'+_0x53b59e[_0x1ef854(0x1fd)]+_0x1ef854(0x1e6)+_0x59418e));}const sumInto=(_0x2387e6,_0x14a71a)=>_0x14a71a[_0x4cba45(0x211)]((_0x25c7a6,_0x39fa97)=>_0x2387e6[_0x39fa97]=(_0x2387e6[_0x39fa97]??0xeab+0x12d4+-0x217f)+_0x25c7a6),total=_0x5465da=>_0x5465da?_0x5465da[_0x4cba45(0x1f2)]((_0x117209,_0x370383)=>_0x117209+_0x370383,-0xfea+-0x1378+0x2362*0x1):null;async function query(_0x325901,_0x43b337=Date[_0x4cba45(0x1d2)]()){const _0xa90f91={_0x3045c:0x1a8,_0x3d88f7:0x219,_0x3b3d1f:0x1d0,_0x4c83fe:0x1f6,_0x3ec19f:0x220,_0x17db96:0x1e8,_0x2ec59d:0x1ef,_0x47abb7:0x1ea,_0x50257f:0x1b3,_0x4ce3e1:0x1c3,_0x30abce:0x207,_0x5e3c90:0x207,_0x542b3e:0x1ec,_0x50c943:0x1af,_0x1c8519:0x204,_0x14c989:0x1aa,_0x52e69c:0x1c2,_0x237b69:0x1cc,_0x1fe894:0x1ae,_0x1c7ae2:0x1ee,_0x22eba7:0x1b9,_0x1b19d1:0x1bc,_0x3619c8:0x1a8,_0x455e71:0x1c2,_0x29749b:0x1ca,_0x4f4a25:0x1a5,_0x590846:0x208,_0x192dd7:0x1d3,_0x3ccba0:0x1c2,_0xc5ba26:0x21d,_0x28865a:0x1e9,_0x26d0ea:0x21d,_0x419d21:0x1bb,_0x3ac6f3:0x1d9,_0x13e9f0:0x1fd,_0x3ff41e:0x1c2,_0x593d26:0x1be,_0x8cafa1:0x1dd,_0x5f0528:0x1c2,_0x3fb54d:0x1f0,_0x4f3a22:0x1b0,_0x417dee:0x1f0,_0x1b2688:0x215,_0xc36900:0x1d3,_0x155d3a:0x1b0,_0x421d44:0x1c2},_0x3ecdf4={_0x343e63:0x1bc,_0x31d99f:0x1ca,_0x2f5152:0x1bc,_0x1a316b:0x21d,_0x2b1b6c:0x1bc,_0x3eaca9:0x1f8,_0x2553cc:0x1f8,_0x4d1e86:0x1d3,_0xda8a22:0x1ca,_0x386cba:0x20d,_0xd064e0:0x21e,_0x43aef5:0x21d,_0x430104:0x218,_0x4c8f47:0x1d5,_0x272778:0x1bc,_0x4212b5:0x200,_0x5accf4:0x21d,_0x49e479:0x1d9,_0x2acf40:0x1fd,_0x36bf2d:0x1d9,_0x35cd77:0x1fd,_0xf49de:0x1f0,_0x273721:0x1b0,_0x2f6417:0x215,_0x58e3a1:0x1d3,_0x2c4c48:0x203,_0x1b513b:0x211,_0x1ece5f:0x1e4,_0x2d62ee:0x1a8,_0x5b843b:0x1fd,_0x1f01cf:0x21d,_0x130108:0x21d,_0x21b496:0x1d9,_0x3fba51:0x1fd,_0x83ff1f:0x1b6,_0x1fd3b0:0x1bc,_0x1a3145:0x1c5,_0x2ffad7:0x1ec},_0x1a4ea6=_0x4cba45,_0x18d9cf={'otjPv':_0x1a4ea6(_0xa90f91._0x3045c),'UTwiS':function(_0x5d0a65,_0x3eb837){return _0x5d0a65===_0x3eb837;},'APHZA':function(_0xa67005,_0x2044d4,_0x11534d,_0x4d32aa,_0x21ce34){return _0xa67005(_0x2044d4,_0x11534d,_0x4d32aa,_0x21ce34);}},_0x55410f=_0x325901,{cfg:_0x466d61,buckets:_0x4afdff}=(-0xfe5*0x1+-0x5*0x10d+0x1526,data_1[_0x1a4ea6(_0xa90f91._0x3d88f7)])(),_0x373b10=_0x11aeb3=>_0x4afdff[_0x1a4ea6(0x1d0)](_0x11aeb3);if(!_0x4afdff[_0x1a4ea6(_0xa90f91._0x3b3d1f)](_0x55410f?.[_0x1a4ea6(_0xa90f91._0x4c83fe)]))throw new data_1[(_0x1a4ea6(_0xa90f91._0x3ec19f))+'st'](_0x1a4ea6(_0xa90f91._0x17db96)+_0x1a4ea6(_0xa90f91._0x2ec59d)+_0x1a4ea6(_0xa90f91._0x47abb7)+_0x4afdff[_0x1a4ea6(_0xa90f91._0x50257f)](',\x20'));const _0x58dbb4=_0x55410f[_0x1a4ea6(_0xa90f91._0x4c83fe)];if(!Array[_0x1a4ea6(_0xa90f91._0x4ce3e1)](_0x55410f[_0x1a4ea6(_0xa90f91._0x30abce)])||!_0x55410f[_0x1a4ea6(_0xa90f91._0x5e3c90)][_0x1a4ea6(_0xa90f91._0x542b3e)]||_0x55410f[_0x1a4ea6(_0xa90f91._0x30abce)][_0x1a4ea6(_0xa90f91._0x542b3e)]>MAX_SERIES)throw new data_1[(_0x1a4ea6(_0xa90f91._0x3ec19f))+'st'](_0x1a4ea6(_0xa90f91._0x50c943)+_0x1a4ea6(_0xa90f91._0x1c8519)+'o\x20'+MAX_SERIES+_0x1a4ea6(_0xa90f91._0x14c989));const _0x1ae65e=_0x55410f[_0x1a4ea6(_0xa90f91._0x30abce)][_0x1a4ea6(_0xa90f91._0x52e69c)](_0xe8a425=>readSource(_0xe8a425,_0x466d61[_0x1a4ea6(0x216)])),_0x1cab0a=data_1[_0x1a4ea6(_0xa90f91._0x237b69)][_0x58dbb4],_0x5ed4f=_0x466d61[_0x1a4ea6(_0xa90f91._0x1fe894)],_0x115ce3=await Promise[_0x1a4ea6(_0xa90f91._0x1c7ae2)](_0x1ae65e[_0x1a4ea6(_0xa90f91._0x52e69c)](async _0x50f86d=>{const _0x43175b=_0x1a4ea6;if(_0x50f86d[_0x43175b(_0x3ecdf4._0x343e63)]===_0x43175b(_0x3ecdf4._0x31d99f)||_0x50f86d[_0x43175b(_0x3ecdf4._0x2f5152)]===_0x43175b(_0x3ecdf4._0x1a316b)){const _0x27c0ac=_0x50f86d[_0x43175b(_0x3ecdf4._0x2b1b6c)]===_0x43175b(_0x3ecdf4._0x31d99f)?_0x5ed4f+_0x43175b(_0x3ecdf4._0x3eaca9):_0x5ed4f+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x1a316b)]+_0x43175b(_0x3ecdf4._0x2553cc),[_0x362c8d]=await(-0x4f0+0x5*-0x6b5+0x2679,data_1[_0x43175b(_0x3ecdf4._0x4d1e86)+'ny'])([[_0x27c0ac,_0x58dbb4,_0x1cab0a]],_0x43b337);return{'source':_0x50f86d,'label':_0x50f86d[_0x43175b(_0x3ecdf4._0x2b1b6c)]===_0x43175b(_0x3ecdf4._0xda8a22)?_0x43175b(_0x3ecdf4._0x386cba)+_0x43175b(_0x3ecdf4._0xd064e0):_0x50f86d[_0x43175b(_0x3ecdf4._0x43aef5)],'key':_0x27c0ac,'ids':_0x362c8d[_0x43175b(_0x3ecdf4._0x430104)],'counts':_0x362c8d[_0x43175b(_0x3ecdf4._0x4c8f47)],'errors':null};}const _0x1a5e54=_0x50f86d[_0x43175b(_0x3ecdf4._0x272778)]===_0x18d9cf[_0x43175b(_0x3ecdf4._0x4212b5)]?[_0x50f86d]:await matchRoutes(_0x50f86d[_0x43175b(_0x3ecdf4._0x5accf4)],_0x50f86d[_0x43175b(_0x3ecdf4._0x49e479)],_0x50f86d[_0x43175b(_0x3ecdf4._0x2acf40)],_0x43b337),_0x1b4410=[];for(const _0x554868 of _0x1a5e54){const _0x3d0f8d=_0x5ed4f+':'+_0x554868[_0x43175b(_0x3ecdf4._0x1a316b)]+':'+_0x554868[_0x43175b(_0x3ecdf4._0x36bf2d)]+':'+_0x554868[_0x43175b(_0x3ecdf4._0x35cd77)];_0x1b4410[_0x43175b(_0x3ecdf4._0xf49de)]([_0x3d0f8d,_0x58dbb4,_0x1cab0a]);if(_0x466d61[_0x43175b(_0x3ecdf4._0x273721)])_0x1b4410[_0x43175b(_0x3ecdf4._0xf49de)]([_0x3d0f8d+_0x43175b(_0x3ecdf4._0x2f6417),_0x58dbb4,_0x1cab0a]);}const _0x1d9808=await(0x231c+-0x5*0x6d9+0x1*-0xdf,data_1[_0x43175b(_0x3ecdf4._0x58e3a1)+'ny'])(_0x1b4410,_0x43b337),_0x2fd1ab=new Array(_0x1cab0a)[_0x43175b(_0x3ecdf4._0x2c4c48)](-0x6a+-0x1*-0x260a+-0x25a0),_0x353abb=_0x466d61[_0x43175b(_0x3ecdf4._0x273721)]?new Array(_0x1cab0a)[_0x43175b(_0x3ecdf4._0x2c4c48)](0xb1c+-0xe11+-0x2f5*-0x1):null;return _0x1d9808[_0x43175b(_0x3ecdf4._0x1b513b)]((_0x5a7234,_0x1059a6)=>sumInto(_0x466d61[_0x43175b(0x1b0)]&&_0x1059a6%(0x3*-0x23b+0x2cc*0x2+-0x11b*-0x1)?_0x353abb:_0x2fd1ab,_0x5a7234[_0x43175b(0x1d5)])),{'source':_0x50f86d,'label':_0x18d9cf[_0x43175b(_0x3ecdf4._0x1ece5f)](_0x50f86d[_0x43175b(_0x3ecdf4._0x272778)],_0x43175b(_0x3ecdf4._0x2d62ee))?_0x50f86d[_0x43175b(_0x3ecdf4._0x36bf2d)]+'\x20'+_0x50f86d[_0x43175b(_0x3ecdf4._0x5b843b)]:_0x50f86d[_0x43175b(_0x3ecdf4._0x1f01cf)]+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x49e479)]+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x2acf40)],'key':_0x5ed4f+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x130108)]+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x21b496)]+':'+_0x50f86d[_0x43175b(_0x3ecdf4._0x3fba51)],'ids':_0x1d9808[-0xe96+-0x50f+0x1*0x13a5]?.[_0x43175b(_0x3ecdf4._0x430104)]??(0x979+-0x125*0x1+-0x52*0x1a,data_1[_0x43175b(_0x3ecdf4._0x83ff1f)+'s'])(_0x58dbb4,_0x1cab0a,_0x43b337),'counts':_0x2fd1ab,'errors':_0x353abb,'matched':_0x50f86d[_0x43175b(_0x3ecdf4._0x1fd3b0)]===_0x43175b(_0x3ecdf4._0x1a3145)?_0x1a5e54[_0x43175b(_0x3ecdf4._0x2ffad7)]:undefined};}));let _0x49bb96;if(_0x55410f[_0x1a4ea6(_0xa90f91._0x22eba7)+'n']){const _0x127852=_0x1ae65e[_0x1a4ea6(_0xa90f91._0x542b3e)]===0xaf3+-0xdf1+0x2ff*0x1?_0x1ae65e[0x76a*0x2+-0xc2b*0x1+-0x2a9*0x1]:null;if(!_0x127852||_0x127852[_0x1a4ea6(_0xa90f91._0x1b19d1)]===_0x1a4ea6(_0xa90f91._0x3619c8))_0x49bb96=_0x115ce3[_0x1a4ea6(_0xa90f91._0x455e71)](_0xb3200a=>({'label':_0xb3200a[_0x1a4ea6(0x1fb)],'total':total(_0xb3200a[_0x1a4ea6(0x1d5)]),'errors':total(_0xb3200a[_0x1a4ea6(0x1d1)]),'target':_0xb3200a[_0x1a4ea6(0x1ac)]}));else{if(_0x127852[_0x1a4ea6(_0xa90f91._0x1b19d1)]===_0x1a4ea6(_0xa90f91._0x29749b)){const _0x24f5a8=(-0x6*-0x3e6+0x332*0xb+-0x7f*0x76,data_1[_0x1a4ea6(_0xa90f91._0x4f4a25)])(_0x466d61)[_0x1a4ea6(_0xa90f91._0x590846)](_0x39a68b=>_0x39a68b!==_0x1a4ea6(0x1f3)),_0x4745c9=await(-0x2*-0x6c+0x1*0x7c9+0x2f*-0x2f,data_1[_0x1a4ea6(_0xa90f91._0x192dd7)+'ny'])(_0x24f5a8[_0x1a4ea6(_0xa90f91._0x3ccba0)](_0x228b11=>[_0x5ed4f+':'+_0x228b11+_0x1a4ea6(0x1f8),_0x58dbb4,_0x1cab0a]),_0x43b337);_0x49bb96=_0x24f5a8[_0x1a4ea6(_0xa90f91._0x3ccba0)]((_0xf08734,_0x585a86)=>({'label':_0xf08734,'total':total(_0x4745c9[_0x585a86][_0x1a4ea6(0x1d5)]),'errors':null,'target':{'kind':_0x1a4ea6(0x21d),'type':_0xf08734}}));}else{const _0x1c0a06=_0x127852[_0x1a4ea6(_0xa90f91._0x1b19d1)]===_0x1a4ea6(_0xa90f91._0xc5ba26)?(await(-0x1*0xfd6+0x1a64+-0xa8e,data_1[_0x1a4ea6(_0xa90f91._0x28865a)])(_0x5ed4f,_0x127852[_0x1a4ea6(_0xa90f91._0x26d0ea)],_0x4afdff,_0x43b337))[_0x1a4ea6(_0xa90f91._0x52e69c)](_0x3f872a=>({'type':_0x127852[_0x1a4ea6(0x21d)],..._0x3f872a})):await _0x18d9cf[_0x1a4ea6(_0xa90f91._0x419d21)](matchRoutes,_0x127852[_0x1a4ea6(_0xa90f91._0xc5ba26)],_0x127852[_0x1a4ea6(_0xa90f91._0x3ac6f3)],_0x127852[_0x1a4ea6(_0xa90f91._0x13e9f0)],_0x43b337),_0x1e77dc=await _0x18d9cf[_0x1a4ea6(_0xa90f91._0x419d21)](todayCounts,_0x5ed4f,_0x1c0a06,_0x373b10,_0x43b337),_0x6812b1=_0x1c0a06[_0x1a4ea6(_0xa90f91._0x3ff41e)]((_0x1b489a,_0x15c54a)=>({'r':_0x1b489a,'d':_0x1e77dc[_0x15c54a]}))[_0x1a4ea6(_0xa90f91._0x593d26)]((_0x2b0e0c,_0x21c149)=>_0x21c149['d']-_0x2b0e0c['d'])[_0x1a4ea6(_0xa90f91._0x8cafa1)](0xc3c+0xbba+-0x17f6,MAX_BREAKDOWN)[_0x1a4ea6(_0xa90f91._0x5f0528)](_0x3a1675=>_0x3a1675['r']),_0x1a981d=[];for(const _0x4afafd of _0x6812b1){const _0xf02d38=_0x5ed4f+':'+_0x4afafd[_0x1a4ea6(_0xa90f91._0xc5ba26)]+':'+_0x4afafd[_0x1a4ea6(_0xa90f91._0x3ac6f3)]+':'+_0x4afafd[_0x1a4ea6(_0xa90f91._0x13e9f0)];_0x1a981d[_0x1a4ea6(_0xa90f91._0x3fb54d)]([_0xf02d38,_0x58dbb4,_0x1cab0a]);if(_0x466d61[_0x1a4ea6(_0xa90f91._0x4f3a22)])_0x1a981d[_0x1a4ea6(_0xa90f91._0x417dee)]([_0xf02d38+_0x1a4ea6(_0xa90f91._0x1b2688),_0x58dbb4,_0x1cab0a]);}const _0x4e3a22=await(-0x1bec+0x9d0+0x121c,data_1[_0x1a4ea6(_0xa90f91._0xc36900)+'ny'])(_0x1a981d,_0x43b337),_0x2dfec5=_0x466d61[_0x1a4ea6(_0xa90f91._0x4f3a22)]?-0x8d2+-0x987+0x125b:-0x1ef4*0x1+0x1*0xdfa+0x10fb;_0x49bb96=_0x6812b1[_0x1a4ea6(_0xa90f91._0x52e69c)]((_0x4a7ede,_0x4437f1)=>({'label':''+(_0x127852[_0x1a4ea6(0x1bc)]===_0x1a4ea6(0x21d)?'':_0x4a7ede[_0x1a4ea6(0x21d)]+'\x20')+_0x4a7ede[_0x1a4ea6(0x1d9)]+'\x20'+_0x4a7ede[_0x1a4ea6(0x1fd)],'total':total(_0x4e3a22[_0x4437f1*_0x2dfec5][_0x1a4ea6(0x1d5)]),'errors':_0x466d61[_0x1a4ea6(0x1b0)]?total(_0x4e3a22[_0x4437f1*_0x2dfec5+(-0x59e*-0x4+0x12*-0xbb+-0x9*0x109)][_0x1a4ea6(0x1d5)]):null,'target':{'kind':_0x1a4ea6(0x1a8),..._0x4a7ede}}));}}_0x49bb96=_0x49bb96[_0x1a4ea6(_0xa90f91._0x590846)](_0x3fcf47=>_0x3fcf47[_0x1a4ea6(0x1f9)]>0x209d+-0x2b4*-0xb+-0x3e59||(_0x3fcf47[_0x1a4ea6(0x1d1)]??0x1*0x209f+-0x22ec*-0x1+0x438b*-0x1)>-0x1*-0xfa2+0x1ea4+0x2e46*-0x1)[_0x1a4ea6(_0xa90f91._0x593d26)]((_0x4ac32a,_0x3e3954)=>_0x3e3954[_0x1a4ea6(0x1f9)]-_0x4ac32a[_0x1a4ea6(0x1f9)]);}return{'range':_0x58dbb4,'failures':_0x466d61[_0x1a4ea6(_0xa90f91._0x155d3a)],'series':_0x115ce3[_0x1a4ea6(_0xa90f91._0x421d44)](({source:_0x4b8fcc,..._0x2af90e})=>_0x2af90e),'breakdown':_0x49bb96};}async function matchView(_0x19306a,_0x527c06=Date[_0x4cba45(0x1d2)]()){const _0x5a4726={_0x28bbe9:0x21d,_0x386d79:0x1d9,_0x4c4a7a:0x1fd,_0x5db3bc:0x219,_0x574f03:0x1b2,_0x367474:0x1d4,_0x212348:0x1b2,_0x12a65d:0x21b,_0x5e6182:0x1d9,_0x155e1f:0x1db,_0x5d8aab:0x1fa,_0x4c1d37:0x1dc,_0x265d69:0x1f4,_0x5ef19f:0x1ae,_0x1090b4:0x1ae,_0x57f6c6:0x1c2,_0x33101d:0x1be,_0x4fed55:0x1dd},_0x21d3ab=_0x4cba45,_0x42c076={'KCyNi':_0x21d3ab(_0x5a4726._0x28bbe9),'azvlX':_0x21d3ab(_0x5a4726._0x386d79),'YJYRs':function(_0x572900,_0x46b1b0,_0x571c3c,_0x4a16f4){return _0x572900(_0x46b1b0,_0x571c3c,_0x4a16f4);},'Qyegg':_0x21d3ab(_0x5a4726._0x4c4a7a),'tpjfB':function(_0x4eb5b7,_0x4ce96d,_0xbeff04,_0x39c1aa,_0x183fd8){return _0x4eb5b7(_0x4ce96d,_0xbeff04,_0x39c1aa,_0x183fd8);},'HrfnB':function(_0x46d087,_0x507a30,_0x1f26a0,_0x287dda,_0x3ea51d){return _0x46d087(_0x507a30,_0x1f26a0,_0x287dda,_0x3ea51d);}},{cfg:_0x462504,buckets:_0x536e95}=(-0x5*0x7+0xc3a+-0x26b*0x5,data_1[_0x21d3ab(_0x5a4726._0x5db3bc)])(),_0x3350fd=part(_0x19306a[_0x21d3ab(_0x5a4726._0x574f03)](_0x42c076[_0x21d3ab(_0x5a4726._0x367474)]),_0x42c076[_0x21d3ab(_0x5a4726._0x367474)],!![]),_0x3c449a=part(_0x19306a[_0x21d3ab(_0x5a4726._0x212348)](_0x42c076[_0x21d3ab(_0x5a4726._0x12a65d)]),_0x21d3ab(_0x5a4726._0x5e6182),!![]),_0x34ded6=_0x42c076[_0x21d3ab(_0x5a4726._0x155e1f)](part,_0x19306a[_0x21d3ab(_0x5a4726._0x574f03)](_0x21d3ab(_0x5a4726._0x4c4a7a)),_0x42c076[_0x21d3ab(_0x5a4726._0x5d8aab)],!![]),_0x31520e=await _0x42c076[_0x21d3ab(_0x5a4726._0x4c1d37)](matchRoutes,_0x3350fd,_0x3c449a,_0x34ded6,_0x527c06),_0x243fde=await _0x42c076[_0x21d3ab(_0x5a4726._0x265d69)](todayCounts,_0x462504[_0x21d3ab(_0x5a4726._0x5ef19f)],_0x31520e,_0x30d0fc=>_0x536e95[_0x21d3ab(0x1d0)](_0x30d0fc),_0x527c06);return{'key':_0x462504[_0x21d3ab(_0x5a4726._0x1090b4)]+':'+_0x3350fd+':'+_0x3c449a+':'+_0x34ded6,'routes':_0x31520e[_0x21d3ab(_0x5a4726._0x57f6c6)]((_0x3b4775,_0x2bac92)=>({..._0x3b4775,'day':_0x243fde[_0x2bac92]}))[_0x21d3ab(_0x5a4726._0x33101d)]((_0x3923c6,_0x572c9a)=>_0x572c9a[_0x21d3ab(0x205)]-_0x3923c6[_0x21d3ab(0x205)])[_0x21d3ab(_0x5a4726._0x4fed55)](0x7b4+0x1*0x25af+-0x2d63*0x1,-0x1780*0x1+-0x1792+0x2f44)};}
@@ -0,0 +1,181 @@
1
+ import { type Period } from "./periods";
2
+ type Row = {
3
+ total: number;
4
+ errors: number | null;
5
+ };
6
+ export type Report = Awaited<ReturnType<typeof buildReport>>;
7
+ export type ReportMeta = {
8
+ id: string;
9
+ kind?: "view";
10
+ period: Period | null;
11
+ label: string;
12
+ range: string;
13
+ createdAt: string;
14
+ total: number | null;
15
+ errors: number | null;
16
+ format: string;
17
+ };
18
+ export declare const MAX_VIEW_BYTES = 1000000;
19
+ export declare function clearReportCache(): void;
20
+ declare function buildReport(period: Period, now: number): Promise<{
21
+ prefix: string;
22
+ period: Period;
23
+ label: string;
24
+ range: string;
25
+ timezone: string;
26
+ generatedAt: string;
27
+ failures: boolean;
28
+ total: number;
29
+ errors: number | null;
30
+ previous: {
31
+ label: string;
32
+ total: number;
33
+ } | null;
34
+ chart: {
35
+ bucket: import("..").TimeBucket;
36
+ ids: string[];
37
+ counts: number[];
38
+ } | null;
39
+ types: {
40
+ total: number;
41
+ errors: number | null;
42
+ type: string;
43
+ }[];
44
+ routeCount: number;
45
+ routes: (Row & {
46
+ type: string;
47
+ action: string;
48
+ name: string;
49
+ })[];
50
+ }>;
51
+ export declare function reportView(periodParam: string | null, now?: number): Promise<{
52
+ prefix: string;
53
+ period: Period;
54
+ label: string;
55
+ range: string;
56
+ timezone: string;
57
+ generatedAt: string;
58
+ failures: boolean;
59
+ total: number;
60
+ errors: number | null;
61
+ previous: {
62
+ label: string;
63
+ total: number;
64
+ } | null;
65
+ chart: {
66
+ bucket: import("..").TimeBucket;
67
+ ids: string[];
68
+ counts: number[];
69
+ } | null;
70
+ types: {
71
+ total: number;
72
+ errors: number | null;
73
+ type: string;
74
+ }[];
75
+ routeCount: number;
76
+ routes: (Row & {
77
+ type: string;
78
+ action: string;
79
+ name: string;
80
+ })[];
81
+ }>;
82
+ export declare function cleanView(v: any): {
83
+ kind: "view";
84
+ screen: string;
85
+ title: string;
86
+ range: string;
87
+ total: number | null;
88
+ kpis: {
89
+ label: string;
90
+ value: string | number | null;
91
+ note: string;
92
+ }[];
93
+ charts: {
94
+ title: string;
95
+ unit: string;
96
+ ids: string[];
97
+ series: {
98
+ label: string;
99
+ values: (number | null)[];
100
+ }[];
101
+ }[];
102
+ tables: {
103
+ title: string;
104
+ columns: string[];
105
+ rows: (string | number | null)[][];
106
+ }[];
107
+ };
108
+ export declare function saveReport(body: any, now?: number): Promise<{
109
+ meta: ReportMeta;
110
+ report: {
111
+ prefix: string;
112
+ timezone: string;
113
+ generatedAt: string;
114
+ kind: "view";
115
+ screen: string;
116
+ title: string;
117
+ range: string;
118
+ total: number | null;
119
+ kpis: {
120
+ label: string;
121
+ value: string | number | null;
122
+ note: string;
123
+ }[];
124
+ charts: {
125
+ title: string;
126
+ unit: string;
127
+ ids: string[];
128
+ series: {
129
+ label: string;
130
+ values: (number | null)[];
131
+ }[];
132
+ }[];
133
+ tables: {
134
+ title: string;
135
+ columns: string[];
136
+ rows: (string | number | null)[][];
137
+ }[];
138
+ };
139
+ } | {
140
+ meta: ReportMeta;
141
+ report: {
142
+ prefix: string;
143
+ period: Period;
144
+ label: string;
145
+ range: string;
146
+ timezone: string;
147
+ generatedAt: string;
148
+ failures: boolean;
149
+ total: number;
150
+ errors: number | null;
151
+ previous: {
152
+ label: string;
153
+ total: number;
154
+ } | null;
155
+ chart: {
156
+ bucket: import("..").TimeBucket;
157
+ ids: string[];
158
+ counts: number[];
159
+ } | null;
160
+ types: {
161
+ total: number;
162
+ errors: number | null;
163
+ type: string;
164
+ }[];
165
+ routeCount: number;
166
+ routes: (Row & {
167
+ type: string;
168
+ action: string;
169
+ name: string;
170
+ })[];
171
+ };
172
+ }>;
173
+ export declare function listReports(): Promise<{
174
+ key: string;
175
+ reports: ReportMeta[];
176
+ }>;
177
+ export declare function getReport(idParam: string | null): Promise<any>;
178
+ export declare function deleteReport(idParam: string | null): Promise<{
179
+ ok: boolean;
180
+ }>;
181
+ export {};
@@ -0,0 +1 @@
1
+ 'use strict';const _0x376527=_0x2885;(function(_0x306dac,_0x54a280){const _0x441a63={_0x2e01ce:0x1ad,_0x11d92c:0x1dd,_0x4faefa:0x1ac,_0x275353:0x16c,_0x40ed01:0x1d3,_0x301200:0x171,_0x1d3be7:0x1aa,_0x2eb14a:0x1c8,_0x3d5dc0:0x1cf,_0x2fde88:0x193},_0x26c580=_0x2885,_0x50341d=_0x306dac();while(!![]){try{const _0x16756b=-parseInt(_0x26c580(_0x441a63._0x2e01ce))/(0x13c8+-0x18f4*-0x1+0x2cbb*-0x1)+parseInt(_0x26c580(_0x441a63._0x11d92c))/(-0x2f*0x21+-0x1d74+0x2385)+-parseInt(_0x26c580(_0x441a63._0x4faefa))/(0x431*0x6+-0x1cf5+-0x1*-0x3d2)+parseInt(_0x26c580(_0x441a63._0x275353))/(-0x98a+0x4*-0x614+0x21de)*(parseInt(_0x26c580(_0x441a63._0x40ed01))/(0x1*0x12b8+0x424+-0x16d7))+parseInt(_0x26c580(_0x441a63._0x301200))/(0x581*0x2+0x15ce*0x1+-0x3*0xaee)+-parseInt(_0x26c580(_0x441a63._0x1d3be7))/(0x1a28+0x768+-0x2189)*(-parseInt(_0x26c580(_0x441a63._0x2eb14a))/(-0x5*0x3e5+-0x12*0xb8+0x2071))+parseInt(_0x26c580(_0x441a63._0x3d5dc0))/(0x222f*0x1+-0xb1e*-0x1+-0x16a2*0x2)*(-parseInt(_0x26c580(_0x441a63._0x2fde88))/(0xc69+-0x11bd*0x2+0x1c7*0xd));if(_0x16756b===_0x54a280)break;else _0x50341d['push'](_0x50341d['shift']());}catch(_0x1c8cd3){_0x50341d['push'](_0x50341d['shift']());}}}(_0x56f5,-0x4755b+-0x8e66+0x7a7ec));Object[_0x376527(0x1e4)+_0x376527(0x194)](exports,_0x376527(0x18f)+'le',{'value':!![]}),exports[_0x376527(0x19b)+_0x376527(0x18c)]=void(-0x2415*0x1+-0x6a7*-0x1+0x2*0xeb7),exports[_0x376527(0x170)+_0x376527(0x1f0)]=clearReportCache,exports[_0x376527(0x1bb)+'ew']=reportView,exports[_0x376527(0x195)+'w']=cleanView,exports[_0x376527(0x1ec)+'rt']=saveReport,exports[_0x376527(0x1b6)+_0x376527(0x1bd)]=listReports,exports[_0x376527(0x198)+'t']=getReport,exports[_0x376527(0x177)+_0x376527(0x19f)]=deleteReport;const node_crypto_1=require('node:crypto'),search_1=require('../search'),state_1=require('../state'),data_1=require('./data'),periods_1=require('./periods'),MAX_ROUTES=-0x81*-0x3d+0x1*-0x802+-0x14c7,MAX_REPORTS=-0x755+0x21cc+-0xf*0x1bd,CACHE_MS=0x175*0x3c+0xdaa+0x101a,FORMATS=[_0x376527(0x1ca),_0x376527(0x17e),_0x376527(0x1b9)];exports[_0x376527(0x19b)+_0x376527(0x18c)]=0x74a5e+0xb97c4+0x2*-0x1cff1;const cache=new Map();function clearReportCache(){const _0x4ad3d0={_0x168f01:0x164},_0x35153b=_0x376527;cache[_0x35153b(_0x4ad3d0._0x168f01)]();}async function buildReport(_0x28cde7,_0x4df86e){const _0x435800={_0x15aec2:0x197,_0x160932:0x175,_0x560494:0x1d9,_0xbdc3dc:0x1e1,_0x5d4850:0x1d2,_0x5a64d9:0x1ab,_0x252e6b:0x1a7,_0x4109b3:0x1f2,_0x361548:0x1e1,_0x299b0e:0x192,_0x446290:0x1b0,_0x60f132:0x174,_0x3b22f1:0x1d0,_0x3ba175:0x1c1,_0x4e9df5:0x166,_0x1f31af:0x1c6,_0xe1891d:0x179,_0x1279ce:0x1ea,_0x2e4593:0x1e1,_0x2f9bdc:0x186,_0xe9d2f1:0x1cc,_0x374b4c:0x1a6,_0x51e044:0x1a8,_0x30d4c4:0x1cc,_0x4c4f63:0x1c7,_0x5aa5e9:0x169,_0x23d266:0x1f1,_0xf0d61d:0x19c,_0x476ea0:0x1d5,_0x162ca4:0x1a1,_0x2db460:0x1a1,_0x54b6b3:0x1c4,_0x63e25a:0x1c4,_0x2420c7:0x1c4,_0x1ba31e:0x180,_0x55623c:0x19c,_0x18291c:0x1f1,_0xe85632:0x1c4,_0x5b5bab:0x1d5,_0x3066d6:0x1cc,_0x10aef6:0x1a6,_0xf9b31f:0x16d,_0x15aa4b:0x16d,_0x50570b:0x1df,_0x5a8dc4:0x1c9,_0x12742c:0x1a1,_0x4f46ef:0x1a6,_0xcc986b:0x1df,_0x8b0b33:0x1c3,_0x3666ac:0x1e0,_0x2085e7:0x1af,_0x1e0ad3:0x1d9,_0x350bd2:0x1eb,_0x3448a2:0x1e1,_0x2877d9:0x1a1,_0x3b4385:0x1e7,_0x3aa36c:0x1cc,_0x2d7bcd:0x1eb,_0x5874e6:0x1cc,_0x448621:0x199,_0x37a82d:0x178,_0x520c13:0x196,_0x31e8b0:0x1a2,_0x5124df:0x1d5,_0x11a202:0x1e0,_0x4d4b78:0x1e0,_0x2f352c:0x166,_0xc8a05b:0x183},_0x4f5f9b={_0x3b2882:0x18a,_0xce11c3:0x1b5,_0x390ac2:0x1c9,_0x53fee1:0x163,_0x1fc8b6:0x19c,_0x9ed218:0x180,_0x1595f6:0x19c,_0xadc67c:0x1f1,_0x1d595d:0x19c,_0x1ed59f:0x19d,_0x5052bb:0x1ef,_0x440856:0x19c,_0x1127c5:0x1ef,_0x23ab25:0x1d5,_0x100cd2:0x1c4,_0x372adf:0x1c4,_0x5e2668:0x1a1},_0xe5b036=_0x376527,_0x251e84={'aGmpk':function(_0x3366b2,_0xcc7a75){return _0x3366b2===_0xcc7a75;},'LFAfI':function(_0x5bcee0,_0x39d5f0){return _0x5bcee0===_0x39d5f0;}},{cfg:_0x3b9bf3,buckets:_0x4e29f7}=(0x37d+0x1f98+-0x2315,data_1[_0xe5b036(_0x435800._0x15aec2)])(),_0x5e2b54=(-0x26ac+0x1afe+-0x256*-0x5,periods_1[_0xe5b036(_0x435800._0x160932)])(_0x28cde7,_0x4df86e);if(!_0x4e29f7[_0xe5b036(_0x435800._0x560494)](_0x5e2b54[_0xe5b036(_0x435800._0xbdc3dc)]))throw new data_1[(_0xe5b036(_0x435800._0x5d4850))+'st'](_0x5e2b54[_0xe5b036(_0x435800._0x5a64d9)]+(_0xe5b036(_0x435800._0x252e6b)+_0xe5b036(_0x435800._0x4109b3))+_0x5e2b54[_0xe5b036(_0x435800._0x361548)]+(_0xe5b036(_0x435800._0x299b0e)+_0xe5b036(_0x435800._0x446290)+_0xe5b036(_0x435800._0x60f132)+_0xe5b036(_0x435800._0x3b22f1)+_0xe5b036(_0x435800._0x3ba175)+'ig'));const _0xef2622=_0x5e2b54[_0xe5b036(_0x435800._0x4e9df5)][_0xe5b036(_0x435800._0x1f31af)]===0x1*0x162d+0x17d8+-0x13*0x26c?_0x3b9bf3[_0xe5b036(_0x435800._0xe1891d)]+_0xe5b036(_0x435800._0x1279ce)+_0x5e2b54[_0xe5b036(_0x435800._0x2e4593)]+':'+_0x5e2b54[_0xe5b036(_0x435800._0x4e9df5)][-0x1315+-0x21de+0x34f3]:_0x3b9bf3[_0xe5b036(_0x435800._0xe1891d)]+_0xe5b036(_0x435800._0x1279ce)+_0x5e2b54[_0xe5b036(_0x435800._0x361548)]+':*',_0x1fa4b7=(await(-0x7ef*-0x1+0xf67*0x2+0x1*-0x26bd,search_1[_0xe5b036(_0x435800._0x2f9bdc)+'ys'])(_0xef2622))[_0xe5b036(_0x435800._0xe9d2f1)](_0x4a3ec3=>(0x1*-0x13be+0xbb7*-0x1+0x1*0x1f75,periods_1[_0xe5b036(0x1c0)])(_0x3b9bf3[_0xe5b036(0x179)],_0x4a3ec3))[_0xe5b036(_0x435800._0x374b4c)](_0x3ad0ed=>_0x3ad0ed&&_0x5e2b54[_0xe5b036(0x166)][_0xe5b036(0x1d9)](_0x3ad0ed['id'])),_0x390943=await(0x2*-0xfe8+0x244c+-0x47c,data_1[_0xe5b036(_0x435800._0x51e044)])(_0x1fa4b7[_0xe5b036(_0x435800._0x30d4c4)](_0x5f5c80=>_0x5f5c80[_0xe5b036(0x191)]));let _0x34d7a9=0x15e9+0xb*-0x24c+-0x35b*-0x1;const _0x301624=new Map(),_0x47ecd0=new Map(),_0x2c849e=new Map();_0x1fa4b7[_0xe5b036(_0x435800._0x4c4f63)]((_0x37b99c,_0x244ddf)=>{const _0x3a722a=_0xe5b036,_0x105339=_0x390943[_0x244ddf];if(_0x251e84[_0x3a722a(_0x4f5f9b._0x3b2882)](_0x37b99c[_0x3a722a(_0x4f5f9b._0xce11c3)],_0x3a722a(_0x4f5f9b._0x390ac2)))_0x34d7a9+=_0x105339;else{if(_0x251e84[_0x3a722a(_0x4f5f9b._0x53fee1)](_0x37b99c[_0x3a722a(_0x4f5f9b._0xce11c3)],_0x3a722a(_0x4f5f9b._0x1fc8b6)))_0x47ecd0[_0x3a722a(_0x4f5f9b._0x9ed218)](_0x37b99c[_0x3a722a(_0x4f5f9b._0x1595f6)],(_0x47ecd0[_0x3a722a(_0x4f5f9b._0xadc67c)](_0x37b99c[_0x3a722a(_0x4f5f9b._0x1d595d)])??0x10d*-0x1+-0x19fa+0x1b07)+_0x105339);else{const _0x23a116=_0x37b99c[_0x3a722a(_0x4f5f9b._0x1fc8b6)]+':'+_0x37b99c[_0x3a722a(_0x4f5f9b._0x1ed59f)]+':'+_0x37b99c[_0x3a722a(_0x4f5f9b._0x5052bb)],_0x337ceb=_0x2c849e[_0x3a722a(_0x4f5f9b._0xadc67c)](_0x23a116)??{'type':_0x37b99c[_0x3a722a(_0x4f5f9b._0x440856)],'action':_0x37b99c[_0x3a722a(_0x4f5f9b._0x1ed59f)],'name':_0x37b99c[_0x3a722a(_0x4f5f9b._0x1127c5)],'total':0x0,'errors':_0x3b9bf3[_0x3a722a(_0x4f5f9b._0x23ab25)]?-0x1*-0xad3+0x18a9*-0x1+0xe*0xfd:null};if(_0x37b99c[_0x3a722a(_0x4f5f9b._0x100cd2)])_0x337ceb[_0x3a722a(_0x4f5f9b._0x372adf)]=(_0x337ceb[_0x3a722a(_0x4f5f9b._0x372adf)]??-0xbbc*0x2+0x37d+-0x37*-0x5d)+_0x105339;else _0x337ceb[_0x3a722a(_0x4f5f9b._0x5e2668)]+=_0x105339;_0x2c849e[_0x3a722a(_0x4f5f9b._0x9ed218)](_0x23a116,_0x337ceb);}}});for(const _0x868cd3 of _0x2c849e[_0xe5b036(_0x435800._0x5aa5e9)]()){const _0x9f3cce=_0x301624[_0xe5b036(_0x435800._0x23d266)](_0x868cd3[_0xe5b036(_0x435800._0xf0d61d)])??{'total':0x0,'errors':_0x3b9bf3[_0xe5b036(_0x435800._0x476ea0)]?0x889+0x13e4+-0x1c6d:null};_0x9f3cce[_0xe5b036(_0x435800._0x162ca4)]+=_0x868cd3[_0xe5b036(_0x435800._0x2db460)];if(_0x868cd3[_0xe5b036(_0x435800._0x54b6b3)]!==null)_0x9f3cce[_0xe5b036(_0x435800._0x63e25a)]=(_0x9f3cce[_0xe5b036(_0x435800._0x63e25a)]??0x2208+-0x682*-0x5+-0x4292)+_0x868cd3[_0xe5b036(_0x435800._0x2420c7)];_0x301624[_0xe5b036(_0x435800._0x1ba31e)](_0x868cd3[_0xe5b036(_0x435800._0x55623c)],_0x9f3cce);}for(const [_0x1922b1,_0x1dd595]of _0x47ecd0)_0x301624[_0xe5b036(_0x435800._0x1ba31e)](_0x1922b1,{'total':_0x1dd595,'errors':_0x301624[_0xe5b036(_0x435800._0x18291c)](_0x1922b1)?.[_0xe5b036(_0x435800._0xe85632)]??(_0x3b9bf3[_0xe5b036(_0x435800._0x5b5bab)]?0x5*0x4e7+0x1a0c+0x2b*-0x12d:null)});const _0x174954=[..._0x301624][_0xe5b036(_0x435800._0x3066d6)](([_0x3c5203,_0xccd623])=>({'type':_0x3c5203,..._0xccd623}))[_0xe5b036(_0x435800._0x10aef6)](_0x2b0dcb=>_0x2b0dcb[_0xe5b036(0x1a1)]||_0x2b0dcb[_0xe5b036(0x1c4)])[_0xe5b036(_0x435800._0xf9b31f)]((_0x4e8e8e,_0x40e499)=>_0x40e499[_0xe5b036(0x1a1)]-_0x4e8e8e[_0xe5b036(0x1a1)]),_0x374183=[..._0x2c849e[_0xe5b036(_0x435800._0x5aa5e9)]()][_0xe5b036(_0x435800._0x10aef6)](_0x84ba3d=>_0x84ba3d[_0xe5b036(0x1a1)]||_0x84ba3d[_0xe5b036(0x1c4)])[_0xe5b036(_0x435800._0x15aa4b)]((_0x364cc8,_0x166e35)=>_0x166e35[_0xe5b036(0x1a1)]-_0x364cc8[_0xe5b036(0x1a1)]),_0x5d16c8=_0x3b9bf3[_0xe5b036(_0x435800._0x5b5bab)]?_0x374183[_0xe5b036(_0x435800._0x50570b)]((_0x18e09a,_0x2cc42a)=>_0x18e09a+(_0x2cc42a[_0xe5b036(0x1c4)]??0x1519+-0x45c+-0x10bd),0x1*0x577+-0x1289+0xd12):null,_0x3e7962=_0x3b9bf3[_0xe5b036(_0x435800._0x5a8dc4)][_0xe5b036(_0x435800._0x12742c)]?_0x34d7a9:_0x174954[_0xe5b036(_0x435800._0x4f46ef)](_0x478b81=>_0x478b81[_0xe5b036(0x19c)]!==_0xe5b036(0x1d7))[_0xe5b036(_0x435800._0xcc986b)]((_0x181a26,_0x10be83)=>_0x181a26+_0x10be83[_0xe5b036(0x1a1)],0x1b*-0x63+0x1f69+-0x14f8),_0x109d65=_0x3b9bf3[_0xe5b036(_0x435800._0xe1891d)]+_0xe5b036(_0x435800._0x8b0b33),_0x269e0c=_0x4e29f7[_0xe5b036(_0x435800._0x560494)](_0x5e2b54[_0xe5b036(_0x435800._0x3666ac)][_0xe5b036(_0x435800._0x2085e7)])&&_0x3b9bf3[_0xe5b036(_0x435800._0x5a8dc4)][_0xe5b036(_0x435800._0x12742c)],_0x248bf7=_0x4e29f7[_0xe5b036(_0x435800._0x1e0ad3)](_0x5e2b54[_0xe5b036(_0x435800._0x350bd2)][_0xe5b036(_0x435800._0x3448a2)])&&_0x3b9bf3[_0xe5b036(_0x435800._0x5a8dc4)][_0xe5b036(_0x435800._0x2877d9)],[_0x3bbb17,_0x5d3be1]=await Promise[_0xe5b036(_0x435800._0x3b4385)]([_0x269e0c?(0xf10+0x1*-0x14b+-0xdc5*0x1,data_1[_0xe5b036(_0x435800._0x51e044)])(_0x5e2b54[_0xe5b036(_0x435800._0x3666ac)][_0xe5b036(_0x435800._0x4e9df5)][_0xe5b036(_0x435800._0x3aa36c)](_0x1f52d0=>_0x109d65+':'+_0x5e2b54[_0xe5b036(0x1e0)][_0xe5b036(0x1af)]+':'+_0x1f52d0)):null,_0x248bf7?(0x325+-0xd*0x2b9+-0x18*-0x158,data_1[_0xe5b036(_0x435800._0x51e044)])(_0x5e2b54[_0xe5b036(_0x435800._0x2d7bcd)][_0xe5b036(_0x435800._0x4e9df5)][_0xe5b036(_0x435800._0x5874e6)](_0x281453=>_0x109d65+':'+_0x5e2b54[_0xe5b036(0x1eb)][_0xe5b036(0x1e1)]+':'+_0x281453)):null]);return{'prefix':_0x3b9bf3[_0xe5b036(_0x435800._0xe1891d)],'period':_0x28cde7,'label':_0x5e2b54[_0xe5b036(_0x435800._0x5a64d9)],'range':_0x5e2b54[_0xe5b036(_0x435800._0x448621)],'timezone':_0xe5b036(_0x435800._0x37a82d),'generatedAt':new Date(_0x4df86e)[_0xe5b036(_0x435800._0x520c13)+_0xe5b036(_0x435800._0x31e8b0)](),'failures':_0x3b9bf3[_0xe5b036(_0x435800._0x5124df)],'total':_0x3e7962,'errors':_0x5d16c8,'previous':_0x5d3be1?{'label':_0x5e2b54[_0xe5b036(_0x435800._0x2d7bcd)][_0xe5b036(_0x435800._0x5a64d9)],'total':_0x5d3be1[_0xe5b036(_0x435800._0x50570b)]((_0xefd80b,_0xfee2c1)=>_0xefd80b+_0xfee2c1,-0x150+-0x9e2+0x1*0xb32)}:null,'chart':_0x3bbb17?{'bucket':_0x5e2b54[_0xe5b036(_0x435800._0x11a202)][_0xe5b036(_0x435800._0x2085e7)],'ids':_0x5e2b54[_0xe5b036(_0x435800._0x4d4b78)][_0xe5b036(_0x435800._0x2f352c)],'counts':_0x3bbb17}:null,'types':_0x174954,'routeCount':_0x374183[_0xe5b036(_0x435800._0x1f31af)],'routes':_0x374183[_0xe5b036(_0x435800._0xc8a05b)](-0x2132+-0x1*0x12d1+0xa67*0x5,MAX_ROUTES)};}async function reportView(_0x444da3,_0x5f1e1d=Date[_0x376527(0x1e8)]()){const _0x4f4ecc={_0x2d9396:0x1b4,_0x474d02:0x1d2,_0x144e3b:0x16a,_0x4ec924:0x1a0,_0x478f8d:0x17b,_0x2e4778:0x1bc,_0x2b0359:0x1a3,_0x2dd531:0x1dc,_0x232552:0x1f1,_0x4fe852:0x1e3,_0x2c1e61:0x180},_0x3f6285=_0x376527;if(!(-0x459+-0x2*-0x463+-0xb*0x67,periods_1[_0x3f6285(_0x4f4ecc._0x2d9396)])(_0x444da3))throw new data_1[(_0x3f6285(_0x4f4ecc._0x474d02))+'st'](_0x3f6285(_0x4f4ecc._0x144e3b)+_0x3f6285(_0x4f4ecc._0x4ec924)+_0x3f6285(_0x4f4ecc._0x478f8d)+_0x3f6285(_0x4f4ecc._0x2e4778)+_0x3f6285(_0x4f4ecc._0x2b0359)+_0x3f6285(_0x4f4ecc._0x2dd531)+'ar');const _0x3cf00e=cache[_0x3f6285(_0x4f4ecc._0x232552)](_0x444da3);if(_0x3cf00e&&_0x5f1e1d-_0x3cf00e['at']<CACHE_MS)return _0x3cf00e[_0x3f6285(_0x4f4ecc._0x4fe852)];const _0x421f65=await buildReport(_0x444da3,_0x5f1e1d);return cache[_0x3f6285(_0x4f4ecc._0x2c1e61)](_0x444da3,{'at':_0x5f1e1d,'report':_0x421f65}),_0x421f65;}function _0x2885(_0x6407ce,_0x24dcaf){_0x6407ce=_0x6407ce-(-0x2*-0x4c+0x8*-0x259+0x1393*0x1);const _0x3bce96=_0x56f5();let _0x188180=_0x3bce96[_0x6407ce];if(_0x2885['SEArYx']===undefined){var _0x5cee15=function(_0xfd40f3){const _0x21b26='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f07f5='',_0x35a2ff='';for(let _0x35e1da=0x5e8+-0x15e3+0xffb,_0x54ff75,_0x2476de,_0x1b5cc6=-0x2037+0x19a9*0x1+-0x68e*-0x1;_0x2476de=_0xfd40f3['charAt'](_0x1b5cc6++);~_0x2476de&&(_0x54ff75=_0x35e1da%(0x1102+-0x3*-0xafb+-0x31ef)?_0x54ff75*(0x32f+0x1040+-0x132f)+_0x2476de:_0x2476de,_0x35e1da++%(0x922+-0x1491+-0xb73*-0x1))?_0x1f07f5+=String['fromCharCode'](0x1*0x8d2+0x11e4+0x19b7*-0x1&_0x54ff75>>(-(-0xc6c+0xbc1+0xad)*_0x35e1da&-0x5*-0x28+0x2*-0x594+-0x1*-0xa66)):0x167a+-0x1425+-0x255){_0x2476de=_0x21b26['indexOf'](_0x2476de);}for(let _0xe3699c=-0x12*0x16b+0x2*-0x11b+0x5*0x58c,_0x351b55=_0x1f07f5['length'];_0xe3699c<_0x351b55;_0xe3699c++){_0x35a2ff+='%'+('00'+_0x1f07f5['charCodeAt'](_0xe3699c)['toString'](0xd53*-0x1+0x538*-0x5+-0x277b*-0x1))['slice'](-(-0x48a+0x49c+-0x4*0x4));}return decodeURIComponent(_0x35a2ff);};_0x2885['SwWPha']=_0x5cee15,_0x2885['vCPPtW']={},_0x2885['SEArYx']=!![];}const _0x81e36e=_0x3bce96[0x10d1+0x23aa+0xa7f*-0x5];_0x2885['HhIHFE']!==_0x81e36e&&(_0x2885['vCPPtW']={},_0x2885['HhIHFE']=_0x81e36e);const _0x10cc00=_0x2885['vCPPtW'][_0x6407ce];return _0x10cc00===undefined?(_0x188180=_0x2885['SwWPha'](_0x188180),_0x2885['vCPPtW'][_0x6407ce]=_0x188180):_0x188180=_0x10cc00,_0x188180;}const listKey=()=>_0x376527(0x17a)+_0x376527(0x17c)+_0x376527(0x1be)+(0x5fa+0x1*0x15ec+-0x1be6,data_1[_0x376527(0x197)])()[_0x376527(0x1d6)][_0x376527(0x179)],reportKey=_0x2e2f9e=>_0x376527(0x17a)+_0x376527(0x17c)+_0x376527(0x184)+(-0x43*0x49+0x1399+0x12*-0x7,data_1[_0x376527(0x197)])()[_0x376527(0x1d6)][_0x376527(0x179)]+':'+_0x2e2f9e,text=(_0x45aac5,_0x56b389=0x1*-0x3d9+-0x19b3*0x1+-0x7ae*-0x4)=>typeof _0x45aac5===_0x376527(0x18b)?_0x45aac5[_0x376527(0x183)](-0x108*-0x1d+-0x565*-0x6+-0x2*0x1f23,_0x56b389):typeof _0x45aac5===_0x376527(0x1b1)&&Number[_0x376527(0x18d)](_0x45aac5)?String(_0x45aac5):'',num=_0x7e9cc4=>typeof _0x7e9cc4===_0x376527(0x1b1)&&Number[_0x376527(0x18d)](_0x7e9cc4)?_0x7e9cc4:null,cell=_0x58e9c7=>typeof _0x58e9c7===_0x376527(0x1b1)?num(_0x58e9c7):_0x58e9c7===null||_0x58e9c7===undefined?null:text(_0x58e9c7,-0xb0+-0x1ed2+0x2176),list=(_0x4d63ec,_0x2516b6)=>Array[_0x376527(0x1b2)](_0x4d63ec)?_0x4d63ec[_0x376527(0x183)](0x1800+0xbc*-0x10+-0xc40,_0x2516b6):[];function cleanView(_0x199df6){const _0x18ef44={_0xe75d10:0x1bf,_0x2dd860:0x1b2,_0x28388e:0x1d2,_0x57f8ff:0x1d1,_0x576268:0x172,_0x4ac703:0x1e2,_0x275bf8:0x165,_0x1f4600:0x190,_0x1da2d8:0x1a4,_0xc36ab1:0x1b3,_0x3bc35c:0x185,_0x2c0e10:0x18e,_0x3beadb:0x199,_0x5adff5:0x1a1,_0x54fc88:0x1db,_0x403775:0x1cc,_0x419155:0x188,_0x10146d:0x1cc,_0x30aa44:0x1ee},_0x218250={_0x22dfe5:0x1da,_0x219bf7:0x1cc,_0x531806:0x1e2,_0x101d6a:0x1e9,_0xf85081:0x1cc},_0x559da0={_0x21fe6b:0x166,_0x42b744:0x1cc,_0x36043d:0x1e2,_0x524ca4:0x1e1,_0x13b187:0x1f3,_0x3338c4:0x1cc},_0x51b609=_0x376527;if(!_0x199df6||typeof _0x199df6!==_0x51b609(_0x18ef44._0xe75d10)||Array[_0x51b609(_0x18ef44._0x2dd860)](_0x199df6))throw new data_1[(_0x51b609(_0x18ef44._0x28388e))+'st'](_0x51b609(_0x18ef44._0x57f8ff)+_0x51b609(_0x18ef44._0x576268)+_0x51b609(_0x18ef44._0xe75d10));const _0x58090c=text(_0x199df6[_0x51b609(_0x18ef44._0x4ac703)],0xeb*0x13+-0x26e9*-0x1+-0x3792)[_0x51b609(_0x18ef44._0x275bf8)]();if(!_0x58090c)throw new data_1[(_0x51b609(_0x18ef44._0x28388e))+'st'](_0x51b609(_0x18ef44._0x1f4600)+_0x51b609(_0x18ef44._0x1da2d8)+_0x51b609(_0x18ef44._0xc36ab1));return{'kind':_0x51b609(_0x18ef44._0x3bc35c),'screen':text(_0x199df6[_0x51b609(_0x18ef44._0x2c0e10)],-0xdf1+-0x1069+0x1e82),'title':_0x58090c,'range':text(_0x199df6[_0x51b609(_0x18ef44._0x3beadb)],0x2f*0x51+0x16*0xf5+-0x2325),'total':num(_0x199df6[_0x51b609(_0x18ef44._0x5adff5)]),'kpis':list(_0x199df6[_0x51b609(_0x18ef44._0x54fc88)],-0x650*-0x3+-0x1a7b+0x7a3)[_0x51b609(_0x18ef44._0x403775)](_0x3cf482=>({'label':text(_0x3cf482?.[_0x51b609(0x1ab)],-0x25cb+-0x672+-0x69*-0x6d),'value':cell(_0x3cf482?.[_0x51b609(0x19e)]),'note':text(_0x3cf482?.[_0x51b609(0x187)],-0x1b5*-0x2+0x1c5*0x1+-0x31*0x17)})),'charts':list(_0x199df6[_0x51b609(_0x18ef44._0x419155)],0x2078+0x1*0x137+0x3*-0xb2d)[_0x51b609(_0x18ef44._0x10146d)](_0x51ad52=>{const _0x4e2ca0=_0x51b609,_0x1ceb7a=list(_0x51ad52?.[_0x4e2ca0(_0x559da0._0x21fe6b)],-0x1b*-0x16d+0x3*-0xa99+-0x26*0x20)[_0x4e2ca0(_0x559da0._0x42b744)](_0x12cf5d=>text(_0x12cf5d,0x233b+-0x1e4+-0x212f));return{'title':text(_0x51ad52?.[_0x4e2ca0(_0x559da0._0x36043d)],-0x3*-0x37e+-0x1fe3*0x1+-0x1*-0x1631),'unit':text(_0x51ad52?.[_0x4e2ca0(_0x559da0._0x524ca4)],0x51f*0x4+-0x56*-0x2f+-0x121f*0x2),'ids':_0x1ceb7a,'series':list(_0x51ad52?.[_0x4e2ca0(_0x559da0._0x13b187)],0xbe+-0xf0*0x24+0x1087*0x2)[_0x4e2ca0(_0x559da0._0x3338c4)](_0x102229=>({'label':text(_0x102229?.[_0x4e2ca0(0x1ab)],-0xe5*-0x1c+-0x194a+0x106),'values':list(_0x102229?.[_0x4e2ca0(0x169)],_0x1ceb7a[_0x4e2ca0(0x1c6)])[_0x4e2ca0(0x1cc)](num)}))};}),'tables':list(_0x199df6[_0x51b609(_0x18ef44._0x30aa44)],0x16fc+0x19c6+-0x2*0x184d)[_0x51b609(_0x18ef44._0x403775)](_0x59500c=>{const _0xcb7865=_0x51b609,_0x154434=list(_0x59500c?.[_0xcb7865(_0x218250._0x22dfe5)],-0xf9f+-0x14ae*-0x1+-0x1*0x503)[_0xcb7865(_0x218250._0x219bf7)](_0x1e30fc=>text(_0x1e30fc,-0x352+0x2030+-0x5b6*0x5));return{'title':text(_0x59500c?.[_0xcb7865(_0x218250._0x531806)],0x56e*0x2+-0x1*-0x1421+-0x1e35),'columns':_0x154434,'rows':list(_0x59500c?.[_0xcb7865(_0x218250._0x101d6a)],-0x2*0x914+0x1*0x14e3+0x515)[_0xcb7865(_0x218250._0xf85081)](_0x39d741=>list(_0x39d741,_0x154434[_0xcb7865(0x1c6)])[_0xcb7865(0x1cc)](cell))};})};}async function keep(_0xca9ded,_0x586365){const _0xcc4f9b={_0x1fdec3:0x1d4,_0xb4349f:0x16f,_0x28ab17:0x180,_0x2790e7:0x16b,_0x3e6c79:0x1ed,_0x206fce:0x1a9,_0x16f59b:0x181,_0xb07cb4:0x1c6,_0xf44d88:0x1e5,_0x45c400:0x1b8,_0x4a60f6:0x1ba},_0x1855cc=_0x376527,_0x4dd718={'XqUFi':function(_0x2dfee6){return _0x2dfee6();}},_0x303fee=await(0x88f+-0x11*-0xf6+0x18e5*-0x1,state_1[_0x1855cc(_0xcc4f9b._0x1fdec3)+_0x1855cc(_0xcc4f9b._0xb4349f)])();await _0x303fee[_0x1855cc(_0xcc4f9b._0x28ab17)](reportKey(_0xca9ded['id']),JSON[_0x1855cc(_0xcc4f9b._0x2790e7)+'y'](_0x586365)),await _0x303fee[_0x1855cc(_0xcc4f9b._0x3e6c79)](listKey(),JSON[_0x1855cc(_0xcc4f9b._0x2790e7)+'y'](_0xca9ded));const _0x338a9e=await _0x303fee[_0x1855cc(_0xcc4f9b._0x206fce)](_0x4dd718[_0x1855cc(_0xcc4f9b._0x16f59b)](listKey),MAX_REPORTS,-(0x1*0x1acf+0x564+-0x2032));if(_0x338a9e[_0x1855cc(_0xcc4f9b._0xb07cb4)]){await _0x303fee[_0x1855cc(_0xcc4f9b._0xf44d88)](listKey(),0x77*0x4c+0xba1+-0x2ef5*0x1,MAX_REPORTS-(-0x1085*0x2+-0x1512+0x361d));for(const _0x1f8f65 of _0x338a9e){try{await _0x303fee[_0x1855cc(_0xcc4f9b._0x45c400)](reportKey(JSON[_0x1855cc(_0xcc4f9b._0x4a60f6)](_0x1f8f65)['id']));}catch{}}}}const newId=_0x3a2993=>''+_0x3a2993[_0x376527(0x1b7)](0x2643+-0x13ff+-0x1220)+(-0x1a3f*0x1+-0x1*-0x173f+0x8*0x60,node_crypto_1[_0x376527(0x167)+_0x376527(0x1ce)])(0x1eaf+-0x1418*0x1+-0x1*0xa94)[_0x376527(0x1b7)](_0x376527(0x17d));function _0x56f5(){const _0x15169c=['A2LUza','BgLZDfjLCg8','Dg9tDhjPBMC','zgvS','ANnVBG','CgfYC2u','CMvWB3j0vMK','zwSSig1VBNq','CNrZ','zxbVCNrZoG','B2jQzwn0','CgfYC2vlzxK','DgLTzunVBMy','Aw52ywXPzca','oMDSB2jHBa','zxjYB3jZ','CgvYAw9K','BgvUz3rO','zM9YrwfJAa','mZm5mtG0v2jzBNL1','z2XVyMfS','y3n2','ChvZAa','BwfW','vgHHDcbYzxa','DgvZ','mtm0mZDUAfvTCue','ig9MzIbPBIa','DMLLDYbTDxm','qMfKuMvXDwu','otu1rNjOy3DZ','z2v0uMvHzhK','zMfPBhvYzxm','y2zN','t1vu','CMvWB3j0igK','Aw5JBhvKzxm','y29SDw1UCW','A3bPCW','zxiGB3iGEwu','nJaZnJi2tvrNBLnw','BhjLBq','CMvKDwnL','y2HHCNq','Dw5PDa','DgL0Bgu','CMvWB3j0','zgvMAw5Luhi','BhrYAw0','vevvq2G','ywXS','BM93','CM93CW','oIO6','ChjLDMLVDxm','C2f2zvjLCg8','Bhb1C2G','DgfIBgvZ','BMfTzq','B3j0q2fJAgu','z2v0','AguG','C2vYAwvZ','tezbzKK','y2XLyxi','DhjPBq','AwrZ','CMfUzg9TqNK','DgvZDa','DMfSDwvZ','CgvYAw9Kig0','C3rYAw5NAwy','mZiYmhvirhHgAW','C29YDa','zM9YBwf0','uMvKAxm','y2XLyxjszxa','mtm0mtyWmfjQwNHxqG','DcbIzsbHBIa','ihnHDMvK','CYb0DxjUzwq','C3bHBK9M','sezYAKC','zgvSzxrLuMu','svnu','ChjLzML4','C3LZDgvTlxq','B2rHEsWGD2u','CMfJA2vYoNi','Agv4','CgrM','B3j0igLZig4','C2v0','whfvrMK','zef0','C2XPy2u','zxbVCNq6','DMLLDW','C2vHCMnOs2u','BM90zq','y2HHCNrZ','BYbSB25Nzxi','yuDTCgS','C3rYAw5N','x0jzvevt','AxngAw5PDgu','C2nYzwvU','x19LC01Vzhu','DMLLDY50Axq','A2v5','igj1y2TLDcW','mtGXmeHuvvjRAG','B3bLCNr5','y2XLyw5wAwu','Dg9ju09tDhi','y29UzMLN','z2v0uMvWB3i','CMfUz2u','z2vUzxjHDgu','tufyx1zjrvC','DhLWzq','ywn0Aw9U','DMfSDwu','Cg9YDa','Dxn0igjLihq','Dg90ywW','Aw5N','AcWGCxvHCNq','BguGAxmGCMu','y3fJrfO','zMLSDgvY','ig5LzwrZihq','z2v0twfUEq','BhjHBMDL','n2DZt0D2wq','BgfIzwW','ntq5mZe4t1PtCvDy','otuXmJHbsMHswum','q2HACMm','yNvJA2v0','ihDOAwnOigK','BNvTyMvY','AxnbCNjHEq','CxvPCMvK','AxnqzxjPB2q'];_0x56f5=function(){return _0x15169c;};return _0x56f5();}async function saveReport(_0x171bc9,_0x3cc191=Date[_0x376527(0x1e8)]()){const _0x3906db={_0x1a1c51:0x1d9,_0x2160ed:0x16e,_0x2dbd9d:0x16e,_0x3ef142:0x1b9,_0x23c563:0x185,_0x5546e7:0x197,_0x49355e:0x1d6,_0x10e003:0x179,_0x4bf4cb:0x178,_0x28f56a:0x196,_0x5c47c2:0x1a2,_0x4ea480:0x185,_0x244c67:0x1e2,_0x1c4206:0x199,_0x525197:0x19a,_0x3c93ec:0x182,_0x214d2e:0x1a1,_0x189d4b:0x176,_0x276a85:0x1b4,_0xcb6539:0x1c5,_0x4c70c6:0x1d2,_0x2d4276:0x16a,_0x47602d:0x1a0,_0x29d03e:0x17b,_0x180000:0x1bc,_0x1b6c56:0x1a3,_0x271f63:0x1dc,_0x28142c:0x180,_0x555f0a:0x1ab,_0x436038:0x19a,_0x270c87:0x1c4},_0x4726a2=_0x376527,_0x4b987e={'HFrjG':function(_0x361d47,_0x407e27,_0x10ba4a){return _0x361d47(_0x407e27,_0x10ba4a);}},_0x599d8d=FORMATS[_0x4726a2(_0x3906db._0x1a1c51)](_0x171bc9?.[_0x4726a2(_0x3906db._0x2160ed)])?_0x171bc9[_0x4726a2(_0x3906db._0x2dbd9d)]:_0x4726a2(_0x3906db._0x3ef142);if(_0x171bc9?.[_0x4726a2(_0x3906db._0x23c563)]!==undefined){const _0x3178a2=cleanView(_0x171bc9[_0x4726a2(_0x3906db._0x23c563)]),_0x21d325={..._0x3178a2,'prefix':(0x2038+-0x14fe+0x3be*-0x3,data_1[_0x4726a2(_0x3906db._0x5546e7)])()[_0x4726a2(_0x3906db._0x49355e)][_0x4726a2(_0x3906db._0x10e003)],'timezone':_0x4726a2(_0x3906db._0x4bf4cb),'generatedAt':new Date(_0x3cc191)[_0x4726a2(_0x3906db._0x28f56a)+_0x4726a2(_0x3906db._0x5c47c2)]()},_0x12fe95={'id':newId(_0x3cc191),'kind':_0x4726a2(_0x3906db._0x4ea480),'period':null,'label':_0x21d325[_0x4726a2(_0x3906db._0x244c67)],'range':_0x21d325[_0x4726a2(_0x3906db._0x1c4206)],'createdAt':_0x21d325[_0x4726a2(_0x3906db._0x525197)+_0x4726a2(_0x3906db._0x3c93ec)],'total':_0x21d325[_0x4726a2(_0x3906db._0x214d2e)],'errors':null,'format':_0x599d8d};return await _0x4b987e[_0x4726a2(_0x3906db._0x189d4b)](keep,_0x12fe95,_0x21d325),{'meta':_0x12fe95,'report':_0x21d325};}if(!(0xe0f+-0x1*0x43f+0x9d*-0x10,periods_1[_0x4726a2(_0x3906db._0x276a85)])(_0x171bc9?.[_0x4726a2(_0x3906db._0xcb6539)]))throw new data_1[(_0x4726a2(_0x3906db._0x4c70c6))+'st'](_0x4726a2(_0x3906db._0x2d4276)+_0x4726a2(_0x3906db._0x47602d)+_0x4726a2(_0x3906db._0x29d03e)+_0x4726a2(_0x3906db._0x180000)+_0x4726a2(_0x3906db._0x1b6c56)+_0x4726a2(_0x3906db._0x271f63)+'ar');const _0x2c548e=await buildReport(_0x171bc9[_0x4726a2(_0x3906db._0xcb6539)],_0x3cc191);cache[_0x4726a2(_0x3906db._0x28142c)](_0x171bc9[_0x4726a2(_0x3906db._0xcb6539)],{'at':_0x3cc191,'report':_0x2c548e});const _0x49d7aa=newId(_0x3cc191),_0x2a7fa0={'id':_0x49d7aa,'period':_0x2c548e[_0x4726a2(_0x3906db._0xcb6539)],'label':_0x2c548e[_0x4726a2(_0x3906db._0x555f0a)],'range':_0x2c548e[_0x4726a2(_0x3906db._0x1c4206)],'createdAt':_0x2c548e[_0x4726a2(_0x3906db._0x436038)+_0x4726a2(_0x3906db._0x3c93ec)],'total':_0x2c548e[_0x4726a2(_0x3906db._0x214d2e)],'errors':_0x2c548e[_0x4726a2(_0x3906db._0x270c87)],'format':_0x599d8d};return await keep(_0x2a7fa0,_0x2c548e),{'meta':_0x2a7fa0,'report':_0x2c548e};}async function listReports(){const _0x3f1989={_0x43cd81:0x1d4,_0x129dc2:0x16f,_0xc232d7:0x1a9,_0x2829d1:0x1cb,_0x1b2399:0x1ba},_0x14bbd3=_0x376527,_0x4a25d6=await(await(-0x1*0xd27+0x16ed+-0x9c6,state_1[_0x14bbd3(_0x3f1989._0x43cd81)+_0x14bbd3(_0x3f1989._0x129dc2)])())[_0x14bbd3(_0x3f1989._0xc232d7)](listKey(),-0x197b+-0x81e+0x2199,-(0x5*0x45d+0xc8e*0x1+-0x225e)),_0x1d35bc=[];for(const _0x6d942 of _0x4a25d6){try{_0x1d35bc[_0x14bbd3(_0x3f1989._0x2829d1)](JSON[_0x14bbd3(_0x3f1989._0x1b2399)](_0x6d942));}catch{}}return{'key':listKey(),'reports':_0x1d35bc};}function validId(_0x3084e1){const _0x1d24e8={_0x317c36:0x168,_0x521f39:0x1d2,_0x38048b:0x1c2,_0x363fa9:0x1d8},_0x4fb0d0=_0x376527;if(!_0x3084e1||!/^[a-z0-9]{6,40}$/[_0x4fb0d0(_0x1d24e8._0x317c36)](_0x3084e1))throw new data_1[(_0x4fb0d0(_0x1d24e8._0x521f39))+'st'](_0x4fb0d0(_0x1d24e8._0x38048b)+_0x4fb0d0(_0x1d24e8._0x363fa9)+'d');return _0x3084e1;}async function getReport(_0x586be2){const _0xd5bee0={_0x3a9d84:0x1d4,_0x2a8102:0x16f,_0x384884:0x1f1,_0x8ae156:0x1e6,_0x253a38:0x1d2,_0x1513a8:0x1cd,_0x1c88f7:0x17f,_0x3dbe83:0x189,_0x40276e:0x173,_0x1674b2:0x1ba},_0x58f589=_0x376527,_0x2a803a={'TEUCh':function(_0x6d4211,_0x264997){return _0x6d4211(_0x264997);}},_0x3cca7f=await(await(0xd5*-0x1+-0x1e11+-0xf73*-0x2,state_1[_0x58f589(_0xd5bee0._0x3a9d84)+_0x58f589(_0xd5bee0._0x2a8102)])())[_0x58f589(_0xd5bee0._0x384884)](_0x2a803a[_0x58f589(_0xd5bee0._0x8ae156)](reportKey,validId(_0x586be2)));if(!_0x3cca7f)throw new data_1[(_0x58f589(_0xd5bee0._0x253a38))+'st'](_0x58f589(_0xd5bee0._0x1513a8)+_0x58f589(_0xd5bee0._0x1c88f7)+_0x58f589(_0xd5bee0._0x3dbe83)+_0x58f589(_0xd5bee0._0x40276e));return JSON[_0x58f589(_0xd5bee0._0x1674b2)](_0x3cca7f);}async function deleteReport(_0x3d58b8){const _0x3cd133={_0x3f7989:0x1a5,_0x4ebb97:0x1d4,_0x4e8b9a:0x16f,_0x5c196a:0x1a9,_0x17ce81:0x1ba,_0x589706:0x1de,_0x111bd8:0x1b8,_0x42d780:0x1ae},_0x41befd=_0x376527,_0x193725={'cqcDZ':function(_0xb5c88f,_0x24f470){return _0xb5c88f(_0x24f470);},'ChZrc':function(_0x38a6f3,_0x4a716f){return _0x38a6f3(_0x4a716f);}},_0x4b0240=_0x193725[_0x41befd(_0x3cd133._0x3f7989)](validId,_0x3d58b8),_0xb3d9ec=await(0x1c09+-0x1*0x959+-0x12b0,state_1[_0x41befd(_0x3cd133._0x4ebb97)+_0x41befd(_0x3cd133._0x4e8b9a)])();for(const _0x11f5fc of await _0xb3d9ec[_0x41befd(_0x3cd133._0x5c196a)](listKey(),0x1f9*0x2+0x1731+-0x1b23,-(-0x5c0+0x410+0x1b1))){try{if(JSON[_0x41befd(_0x3cd133._0x17ce81)](_0x11f5fc)['id']===_0x4b0240)await _0xb3d9ec[_0x41befd(_0x3cd133._0x589706)](listKey(),-0x6ba+-0x276+0x931,_0x11f5fc);}catch{}}return await _0xb3d9ec[_0x41befd(_0x3cd133._0x111bd8)](_0x193725[_0x41befd(_0x3cd133._0x42d780)](reportKey,_0x4b0240)),{'ok':!![]};}
@@ -0,0 +1,5 @@
1
+ export declare function resetData(body: any, now?: number): Promise<{
2
+ dryRun: boolean;
3
+ deleted: number;
4
+ lowered: number;
5
+ }>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x5b10f3=_0x1c0b;function _0x1c0b(_0x565d7e,_0x401f1f){_0x565d7e=_0x565d7e-(0x2130+0x2350+0x28*-0x1b1);const _0x54f95a=_0x246f();let _0x41a00f=_0x54f95a[_0x565d7e];if(_0x1c0b['sbGTlJ']===undefined){var _0x51d719=function(_0x4ef5fb){const _0x262618='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a4ff5='',_0x24f2a8='';for(let _0x368946=0x9a*-0x5+0x971+-0x3*0x225,_0x34e89f,_0x1d3421,_0x1ca5fa=0x1d35+0x1206+0x71*-0x6b;_0x1d3421=_0x4ef5fb['charAt'](_0x1ca5fa++);~_0x1d3421&&(_0x34e89f=_0x368946%(0x1*-0xc6f+0x713+0x560)?_0x34e89f*(0x34b*0x7+-0x1dba+-0x24f*-0x3)+_0x1d3421:_0x1d3421,_0x368946++%(0x23f4+0x1f7+-0x25e7))?_0x4a4ff5+=String['fromCharCode'](-0x48d+-0x1f4a+0x73*0x52&_0x34e89f>>(-(-0x1*-0x1943+-0x1ce+-0x45*0x57)*_0x368946&0x1b16+0xc7f+-0x278f)):-0x1837+0x56a+-0x1*-0x12cd){_0x1d3421=_0x262618['indexOf'](_0x1d3421);}for(let _0x59b030=-0x16fe+-0x1*-0x1497+0x267,_0x4228da=_0x4a4ff5['length'];_0x59b030<_0x4228da;_0x59b030++){_0x24f2a8+='%'+('00'+_0x4a4ff5['charCodeAt'](_0x59b030)['toString'](0x1*0xd88+-0x17a7+0xa2f))['slice'](-(-0x1e50+-0x27*-0x29+-0x1813*-0x1));}return decodeURIComponent(_0x24f2a8);};_0x1c0b['cnkykx']=_0x51d719,_0x1c0b['celBja']={},_0x1c0b['sbGTlJ']=!![];}const _0x3382cc=_0x54f95a[-0x13d2+0x4*-0x490+-0xb*-0x376];_0x1c0b['VOuhDr']!==_0x3382cc&&(_0x1c0b['celBja']={},_0x1c0b['VOuhDr']=_0x3382cc);const _0x137050=_0x1c0b['celBja'][_0x565d7e];return _0x137050===undefined?(_0x41a00f=_0x1c0b['cnkykx'](_0x41a00f),_0x1c0b['celBja'][_0x565d7e]=_0x41a00f):_0x41a00f=_0x137050,_0x41a00f;}(function(_0x48dd79,_0x11740f){const _0x4d274b={_0x48c587:0x103,_0x753c2f:0x156,_0x3c8eee:0x12f,_0x5c6cfe:0x104,_0x3b546b:0x150,_0x40c1e4:0xea,_0x2b83f9:0x10b,_0xe3e516:0x140,_0x5cf9d5:0x11c},_0x14aeb4=_0x1c0b,_0xa107d2=_0x48dd79();while(!![]){try{const _0x4c4551=-parseInt(_0x14aeb4(_0x4d274b._0x48c587))/(0x1ef7+0x23d6+-0x39*0x12c)+-parseInt(_0x14aeb4(_0x4d274b._0x753c2f))/(0x244b+-0x7b1*-0x2+-0x33ab)*(-parseInt(_0x14aeb4(_0x4d274b._0x3c8eee))/(0x583+0x36+-0x2db*0x2))+parseInt(_0x14aeb4(_0x4d274b._0x5c6cfe))/(-0xc30+-0x94f+0x1583*0x1)+-parseInt(_0x14aeb4(_0x4d274b._0x3b546b))/(-0x8ef*0x2+-0x1*0x145c+0x263f)+parseInt(_0x14aeb4(_0x4d274b._0x40c1e4))/(0xe2+-0x1*-0x19b1+-0x1a8d)+parseInt(_0x14aeb4(_0x4d274b._0x2b83f9))/(-0x25e7+0xa2+0x2*0x12a6)+-parseInt(_0x14aeb4(_0x4d274b._0xe3e516))/(0x3+-0x1e68+0x1*0x1e6d)*(parseInt(_0x14aeb4(_0x4d274b._0x5cf9d5))/(0x1a50+-0x1565+-0xa*0x7d));if(_0x4c4551===_0x11740f)break;else _0xa107d2['push'](_0xa107d2['shift']());}catch(_0x1963a2){_0xa107d2['push'](_0xa107d2['shift']());}}}(_0x246f,-0x1*-0x55b47+-0x14fcae+0x1da19a));function _0x246f(){const _0x1ddfa8=['zNvUy3rPB24','BM93','D2HHDcbTDxm','z2vdywnOzq','EhDcyuS','AwrZ','y2XLyxjszxa','DgvdywnOzq','zMLSDgvY','m0PUDenpwq','zxjYB3jZ','rw54EMi','t1vu','D2HHDa','C3bHBK9M','zgvMAw5Luhi','zgvS','Dg90ywW','DcbIzsbHBgW','ChvZAa','A2LUza','uNrbDvC','A2v5','DgvZDa','yxjVDw5K','yMLUza','mtzUwunqAeK','ywXSihrPBwu','s2v5','CMqGCMvZzxq','uMvKAxm','Dw5PDa','ig1VBNrOlca','CMvKDwnL','B3j0q2fJAgu','y2XLyxjqyxq','z2XVyMfS','EgPez3i','BgWSihrVzge','C2fTCgXLC0S','DhLWzq','Aw5ZAwrL','mJG2odm1Bu9ws3fv','D2fYBG','CMfNzunHy2G','tuvtu0fhrq','C2L6zq','qMfKuMvXDwu','mZeZotK4sej0tgHs','Aw5JBhvKzxm','zhj5uNvU','yNvJA2v0','z2v0','C2vHCMnOs2u','AwDODhndywm','igrHC2HIB2e','C3rHCNrZv2K','CMvZzxreyxq','CgXHy2vpzG','CIbYB3v0zq','w3n5C3rLBs0','zgvJCG','EsWGD2vLAYW','AxnqzxjPB2q','y2XLyxjsyw4','BgvUz3rO','yMfZzq','Bw1HBMq','mZm3nZmXmfHgq3ntwa','lcb0ExbLig8','y2XLyxjjBNm','Dxn0igjLige','EwnkA1e','DhLWzsa','y29UzMLN','zMfPBhvYzxm','CYWGBg93zxi','CKj5','DgvYBKnHy2G','C3LZDgvTvhi','oMDSB2jHBa','CuXUvge','zM9YrwfJAa','z2v0twfUEq','CM91Dgu','vLDbAeK','CgvYAw9Kig0','DhjHy2TLCL0','CxvHCNrLCIa','B3iGEwvHCG','zwqG','CgvYvhLWzq','ru9XvKK','nZa4mZC5EvzMvxDW','ntuXmZaYnerMzMD0tq','ignVDw50zxi','ywnRzxjezwm','zMXHDe1HCa','ktOGzgvSzxq','BwfW','ihrVDgfSCW','mte0nJe2odfvAuvQDwm','BMfTzq','C0H3ELK','uL9eruXfveu','AxndBhvZDgu','B3bLCNr5','v1nt','z2v0uMvHzhK','zgvMAw5Lq28','CM91DguG','zxzLCNL0AgK','CgfYC2vlzxK','zfH6vfm','CgvYAw9K','y2XLyxjtDg8','C3rYAw5N','Aw52ywXPzca','otiZndK5oxPkuhz4rG','y2XLyxjsB3u','revduKjzx08','x19LC01Vzhu','ywXS','ywn0Aw9U','ChjLzML4','C2v0','C2XPy2u','rvzftLq'];_0x246f=function(){return _0x1ddfa8;};return _0x246f();}Object[_0x5b10f3(0x135)+_0x5b10f3(0x110)](exports,_0x5b10f3(0x11f)+'le',{'value':!![]}),exports[_0x5b10f3(0xdf)+'a']=resetData;const search_1=require('../search'),state_1=require('../state'),lua_1=require('../lua'),data_1=require('./data'),periods_1=require('./periods'),report_1=require('./report'),insights_1=require('./insights'),storage_1=require('./storage'),query_1=require('./query'),samples_1=require('../auto/samples'),DECR_COMMAND=_0x5b10f3(0xf5)+_0x5b10f3(0x106)+_0x5b10f3(0xf3);function validPart(_0x21fcf1,_0x472c65){const _0x42eb01={_0x3cefe8:0x11a,_0x198fb8:0xe7,_0x35d981:0x13d,_0x520b16:0x155,_0x12750a:0x11b},_0x536d31=_0x5b10f3;if(typeof _0x21fcf1!==_0x536d31(_0x42eb01._0x3cefe8)||!_0x21fcf1||_0x21fcf1[_0x536d31(_0x42eb01._0x198fb8)]>-0xd46+0x1546+-0x26*0x2e||/[:*?[\]\\]/[_0x536d31(_0x42eb01._0x35d981)](_0x21fcf1))throw new data_1[(_0x536d31(_0x42eb01._0x520b16))+'st'](_0x536d31(_0x42eb01._0x12750a)+_0x472c65);return _0x21fcf1;}async function plan(_0x446558,_0x4e4cc8){const _0x226ea0={_0x2996e6:0x14e,_0x28df38:0xf0,_0x2e5c0a:0x133,_0x5e2d0b:0x120,_0x4dea9d:0x14e,_0x101e4f:0xfa,_0x468d1e:0x157,_0x42137c:0x155,_0xdc2edb:0x128,_0x371178:0x138,_0x3b74f8:0xeb,_0x574141:0xe1,_0x5d6d24:0x14b,_0x33b631:0x118,_0x436644:0xe5,_0x4618db:0xfc,_0xfde1d7:0xed,_0x1fe45a:0x14c,_0x1b95a1:0xe4,_0x3e85bf:0x146,_0x453628:0xfe,_0x28e766:0xff,_0x4116b6:0xee,_0x4aeec2:0x14e,_0x312836:0xf7,_0x39bf96:0xfa,_0xcb34a2:0x102,_0x3ea3c0:0x121,_0x34b1fa:0x121,_0x3f1289:0x10c,_0x6dc8fc:0x10c,_0x43c2cc:0x118,_0x9a8dd7:0x134,_0x53fe8b:0x120,_0xf35c79:0x122,_0x1e41d0:0xdb,_0x78186e:0x109,_0x4c29ab:0x12e,_0x175a89:0x12e,_0x242ff6:0x107,_0x5d50c9:0xf9,_0x1dbd24:0xf8,_0x31790e:0x12e,_0x5aa463:0xf9,_0x5f3512:0x109,_0x30b438:0x117,_0xa4f719:0xe0,_0x26165d:0xd9,_0x216935:0x13e,_0x2ecf0a:0x123,_0x207f30:0x13c,_0x3e275e:0x123,_0x37b26f:0x120,_0x5b83d4:0x131,_0x44a174:0x13a,_0x2b03e4:0x130,_0x21be79:0xfa,_0xb7cc2a:0x14a,_0xfdbc18:0x101,_0x2a68d9:0x139,_0x4cb604:0x122,_0x4e2a66:0xf6,_0x189138:0x14b,_0x302d04:0x14e,_0x3262ed:0x132,_0x416889:0xee,_0x5dffa6:0x111,_0x48d6f3:0x153,_0x23cd01:0x121,_0x4a1114:0x125,_0x360ea1:0x14a,_0x30ce96:0x137,_0x301712:0x139,_0x344efb:0xf6,_0x5e988a:0xd9,_0x81f53:0xda},_0x173dca={_0x283005:0x139,_0x391d6e:0x13c,_0x10163c:0x123},_0x848659=_0x5b10f3,_0x412841={'xjDgr':function(_0x3a5b3e,_0x452b50){return _0x3a5b3e!==_0x452b50;},'ycJkQ':function(_0x2cb30c,_0x3e07a2){return _0x2cb30c===_0x3e07a2;},'qLnTa':_0x848659(_0x226ea0._0x2996e6),'EOqVI':function(_0x7b366f,_0x57fdce,_0xf942bf){return _0x7b366f(_0x57fdce,_0xf942bf);},'dXzTS':function(_0x2de200,_0x4f4f2b){return _0x2de200!==_0x4f4f2b;},'Enxzb':function(_0x3106f9,_0x2a6cd1){return _0x3106f9!==_0x2a6cd1;}},{cfg:_0x1f427d}=(0x7b3+0x10*0x1d8+-0x1*0x2533,data_1[_0x848659(_0x226ea0._0x28df38)])(),_0x1db8dc=_0x446558?.[_0x848659(_0x226ea0._0x2e5c0a)];if(![_0x848659(_0x226ea0._0x5e2d0b),_0x848659(_0x226ea0._0x4dea9d),_0x848659(_0x226ea0._0x101e4f)][_0x848659(_0x226ea0._0x468d1e)](_0x1db8dc))throw new data_1[(_0x848659(_0x226ea0._0x42137c))+'st'](_0x848659(_0x226ea0._0xdc2edb)+_0x848659(_0x226ea0._0x371178)+_0x848659(_0x226ea0._0x3b74f8)+_0x848659(_0x226ea0._0x574141));if(_0x412841[_0x848659(_0x226ea0._0x5d6d24)](_0x446558[_0x848659(_0x226ea0._0x33b631)],_0x848659(_0x226ea0._0x5e2d0b))&&!(-0xb1d+-0x2625+-0x1e5*-0x1a,periods_1[_0x848659(_0x226ea0._0x436644)])(_0x446558[_0x848659(_0x226ea0._0x33b631)]))throw new data_1[(_0x848659(_0x226ea0._0x42137c))+'st'](_0x848659(_0x226ea0._0x4618db)+_0x848659(_0x226ea0._0xfde1d7)+_0x848659(_0x226ea0._0x1fe45a)+_0x848659(_0x226ea0._0x1b95a1)+_0x848659(_0x226ea0._0x3e85bf)+_0x848659(_0x226ea0._0x453628)+_0x848659(_0x226ea0._0x28e766));const _0x2e027e=_0x412841[_0x848659(_0x226ea0._0x4116b6)](_0x1db8dc,_0x848659(_0x226ea0._0x5e2d0b))?'':validPart(_0x446558[_0x848659(_0x226ea0._0x4aeec2)],_0x412841[_0x848659(_0x226ea0._0x312836)]),_0x4a617f=_0x1db8dc===_0x848659(_0x226ea0._0x39bf96)?_0x412841[_0x848659(_0x226ea0._0xcb34a2)](validPart,_0x446558[_0x848659(_0x226ea0._0x3ea3c0)],_0x848659(_0x226ea0._0x34b1fa)):'',_0x10adf4=_0x1db8dc===_0x848659(_0x226ea0._0x101e4f)?validPart(_0x446558[_0x848659(_0x226ea0._0x3f1289)],_0x848659(_0x226ea0._0x6dc8fc)):'',_0x44df4b=_0x446558[_0x848659(_0x226ea0._0x43c2cc)]===_0x848659(_0x226ea0._0x5e2d0b)?null:(0x2e*-0xd3+0x7*0x257+-0x1589*-0x1,periods_1[_0x848659(_0x226ea0._0x9a8dd7)])(_0x446558[_0x848659(_0x226ea0._0x33b631)],_0x4e4cc8),_0x5e9ec3=_0x1db8dc===_0x848659(_0x226ea0._0x53fe8b)?_0x1f427d[_0x848659(_0x226ea0._0xf35c79)]+':*':_0x1db8dc===_0x848659(_0x226ea0._0x2996e6)?_0x1f427d[_0x848659(_0x226ea0._0xf35c79)]+':'+_0x2e027e+':*':_0x1f427d[_0x848659(_0x226ea0._0xf35c79)]+':'+_0x2e027e+':'+_0x4a617f+':'+_0x10adf4+':*',_0x5ee84b=(await(-0x236d+-0x49a+-0x2807*-0x1,search_1[_0x848659(_0x226ea0._0x1e41d0)+'ys'])(_0x5e9ec3))[_0x848659(_0x226ea0._0x78186e)](_0x1e5bbf=>(-0x1c1e*0x1+0xb2+-0xc*-0x249,periods_1[_0x848659(0x116)])(_0x1f427d[_0x848659(0x122)],_0x1e5bbf))[_0x848659(_0x226ea0._0x4c29ab)](_0xbfea1=>!!_0xbfea1&&(_0x1db8dc!==_0x848659(0xfa)||_0xbfea1[_0x848659(0x13a)]===_0x848659(0xfa)&&_0xbfea1[_0x848659(0x121)]===_0x4a617f&&_0xbfea1[_0x848659(0x10c)]===_0x10adf4)),_0x3f74ac=new Map();if(_0x44df4b){const _0x521289=[...new Set(_0x5ee84b[_0x848659(_0x226ea0._0x175a89)](_0x3c7454=>(0x15*-0x72+0x23a7+-0x1a4d,periods_1[_0x848659(0xe0)])(_0x44df4b,_0x3c7454[_0x848659(0xd9)],_0x3c7454['id'])===_0x848659(0x13e))[_0x848659(_0x226ea0._0x78186e)](_0x321c95=>_0x321c95[_0x848659(0xe8)]))][_0x848659(_0x226ea0._0x242ff6)](_0x1b8135=>_0x44df4b[_0x848659(0x12b)][_0x848659(0x109)](_0x47eaa7=>_0x1b8135+':'+_0x44df4b[_0x848659(0x145)]+':'+_0x47eaa7)),_0x3947e0=await(-0x114c+0x413+0xd39*0x1,data_1[_0x848659(_0x226ea0._0x5d50c9)])(_0x521289);_0x521289[_0x848659(_0x226ea0._0x1dbd24)]((_0x35a067,_0x5b1aac)=>_0x3f74ac[_0x848659(0x123)](_0x35a067,_0x3947e0[_0x5b1aac]));}const _0x1993aa=_0xa33e0f=>_0x44df4b[_0x848659(0x12b)][_0x848659(0x12e)](_0x54bf48=>_0x54bf48[_0x848659(0xde)+'th'](_0xa33e0f['id']))[_0x848659(0x147)]((_0x5bb187,_0x448e34)=>_0x5bb187+(_0x3f74ac[_0x848659(0xda)](_0xa33e0f[_0x848659(0xe8)]+':'+_0x44df4b[_0x848659(0x145)]+':'+_0x448e34)??-0x2e3*0x2+0x3ce+-0x12*-0x1c),-0x1ac4+-0x1026+-0x3*-0xe4e),_0x52722e=[],_0x3435e1=new Map(),_0x529e37=new Map(),_0x1062d0=_0x5ee84b[_0x848659(_0x226ea0._0x31790e)](_0x4ac8a1=>!_0x44df4b||(0x142b+0x943+-0x1d6e*0x1,periods_1[_0x848659(0xe0)])(_0x44df4b,_0x4ac8a1[_0x848659(0xd9)],_0x4ac8a1['id'])===_0x848659(0x14f)),_0x2ec6b2=await(-0x1e40+0x7a0+0x10*0x16a,data_1[_0x848659(_0x226ea0._0x5aa463)])(_0x1062d0[_0x848659(_0x226ea0._0x5f3512)](_0x215793=>_0x215793[_0x848659(0x13c)]));_0x1062d0[_0x848659(_0x226ea0._0x1dbd24)]((_0x469cf4,_0x344dfe)=>{const _0x250b97=_0x848659;_0x52722e[_0x250b97(_0x173dca._0x283005)](_0x469cf4[_0x250b97(_0x173dca._0x391d6e)]),_0x529e37[_0x250b97(_0x173dca._0x10163c)](_0x469cf4,_0x2ec6b2[_0x344dfe]);});if(_0x44df4b)for(const _0x2512c2 of _0x5ee84b){if(_0x412841[_0x848659(_0x226ea0._0x30b438)]((-0x238*-0x1+0x1e62*0x1+-0x56f*0x6,periods_1[_0x848659(_0x226ea0._0xa4f719)])(_0x44df4b,_0x2512c2[_0x848659(_0x226ea0._0x26165d)],_0x2512c2['id']),_0x848659(_0x226ea0._0x216935)))continue;const _0x1bdd54=_0x1993aa(_0x2512c2);_0x1bdd54>-0x3*0x79d+-0x1329+-0x600*-0x7&&(_0x3435e1[_0x848659(_0x226ea0._0x2ecf0a)](_0x2512c2[_0x848659(_0x226ea0._0x207f30)],_0x1bdd54),_0x529e37[_0x848659(_0x226ea0._0x3e275e)](_0x2512c2,_0x1bdd54));}if(_0x1db8dc!==_0x848659(_0x226ea0._0x37b26f))for(const [_0x26e945,_0x485a18]of _0x529e37){if(_0x412841[_0x848659(_0x226ea0._0x5b83d4)](_0x26e945[_0x848659(_0x226ea0._0x44a174)],_0x848659(_0x226ea0._0x101e4f))||_0x26e945[_0x848659(_0x226ea0._0x2b03e4)]||!_0x485a18)continue;const _0x2dc4c0=[];if(_0x1db8dc===_0x848659(_0x226ea0._0x21be79)&&_0x1f427d[_0x848659(_0x226ea0._0xb7cc2a)][_0x848659(_0x226ea0._0xfdbc18)])_0x2dc4c0[_0x848659(_0x226ea0._0x2a68d9)](_0x1f427d[_0x848659(_0x226ea0._0x4cb604)]+':'+_0x26e945[_0x848659(_0x226ea0._0x4dea9d)]+_0x848659(_0x226ea0._0x4e2a66));const _0x229849=_0x412841[_0x848659(_0x226ea0._0x189138)](_0x26e945[_0x848659(_0x226ea0._0x302d04)],_0x848659(_0x226ea0._0x3262ed))&&!(_0x412841[_0x848659(_0x226ea0._0x416889)](_0x26e945[_0x848659(_0x226ea0._0x4aeec2)],_0x848659(_0x226ea0._0x5dffa6))&&(_0x26e945[_0x848659(_0x226ea0._0x34b1fa)]===_0x848659(_0x226ea0._0x48d6f3)||_0x26e945[_0x848659(_0x226ea0._0x23cd01)]===_0x848659(_0x226ea0._0x4a1114)));if(_0x1f427d[_0x848659(_0x226ea0._0x360ea1)][_0x848659(_0x226ea0._0x30ce96)]&&_0x229849)_0x2dc4c0[_0x848659(_0x226ea0._0x301712)](_0x1f427d[_0x848659(_0x226ea0._0xf35c79)]+_0x848659(_0x226ea0._0x344efb));for(const _0x41cb67 of _0x2dc4c0){const _0x52b309=_0x41cb67+':'+_0x26e945[_0x848659(_0x226ea0._0x5e988a)]+':'+_0x26e945['id'];_0x3435e1[_0x848659(_0x226ea0._0x2ecf0a)](_0x52b309,(_0x3435e1[_0x848659(_0x226ea0._0x81f53)](_0x52b309)??-0x8d4+0x1a*-0x10f+-0x63*-0x5e)+_0x485a18);}}return{'what':_0x1db8dc,'del':_0x52722e,'decr':_0x3435e1};}function decrCommand(_0x5acca3){const _0x306864={_0x324c6b:0x126,_0x2d804a:0x113,_0x1a38a9:0xe9,_0xba601c:0x11e,_0x4365b8:0x10e,_0x43131a:0x13f},_0x248cfb=_0x5b10f3;if(typeof _0x5acca3[DECR_COMMAND]!==_0x248cfb(_0x306864._0x324c6b))_0x5acca3[_0x248cfb(_0x306864._0x2d804a)+_0x248cfb(_0x306864._0x1a38a9)](DECR_COMMAND,{'numberOfKeys':0x1,'lua':lua_1[_0x248cfb(_0x306864._0xba601c)+_0x248cfb(_0x306864._0x4365b8)]});return _0x5acca3[DECR_COMMAND][_0x248cfb(_0x306864._0x43131a)](_0x5acca3);}async function clearKept(_0x34fb64,_0x17bf3c){const _0x315509={_0x239dbf:0xf0,_0x443d1f:0x133,_0x3cbb27:0x120,_0x2242be:0x133,_0x242510:0x14e,_0x54a704:0x14e,_0xeda176:0x14e,_0x425d97:0x121,_0x35f793:0x10c,_0x3b7ae7:0x157,_0x488a81:0xdb,_0x37fed1:0x14d,_0x543fa3:0x122,_0x261c72:0xf1,_0x31bd83:0x142,_0x36717c:0x136},_0x3348dd=_0x5b10f3,{cfg:_0x14643a}=(-0x2322+-0x7a0+0x2ac2,data_1[_0x3348dd(_0x315509._0x239dbf)])(),_0x59289b=_0x17bf3c[_0x3348dd(_0x315509._0x443d1f)]===_0x3348dd(_0x315509._0x3cbb27)?'*':_0x17bf3c[_0x3348dd(_0x315509._0x2242be)]===_0x3348dd(_0x315509._0x242510)?_0x17bf3c[_0x3348dd(_0x315509._0x54a704)]+':*':_0x17bf3c[_0x3348dd(_0x315509._0xeda176)]+':'+_0x17bf3c[_0x3348dd(_0x315509._0x425d97)]+':'+_0x17bf3c[_0x3348dd(_0x315509._0x35f793)],_0x3222c2=_0x59289b[_0x3348dd(_0x315509._0x3b7ae7)]('*')?[...await(-0xfa4+-0x115*-0x1e+0x869*-0x2,search_1[_0x3348dd(_0x315509._0x488a81)+'ys'])((-0x1*-0x613+0x1*-0x1019+0xa06,samples_1[_0x3348dd(_0x315509._0x37fed1)+'ey'])(_0x14643a[_0x3348dd(_0x315509._0x543fa3)],_0x59289b)),...await(0x2f7*-0xa+-0x7fa*0x3+0x3594*0x1,search_1[_0x3348dd(_0x315509._0x488a81)+'ys'])((-0x5c9+0x1b7e+-0x15b5,samples_1[_0x3348dd(_0x315509._0x261c72)+_0x3348dd(_0x315509._0x31bd83)])(_0x14643a[_0x3348dd(_0x315509._0x543fa3)],_0x59289b))]:[(-0x1390+-0xb72+0xa2*0x31,samples_1[_0x3348dd(_0x315509._0x37fed1)+'ey'])(_0x14643a[_0x3348dd(_0x315509._0x543fa3)],_0x59289b),(-0x26e*-0xc+-0xe48+-0xee0,samples_1[_0x3348dd(_0x315509._0x261c72)+_0x3348dd(_0x315509._0x31bd83)])(_0x14643a[_0x3348dd(_0x315509._0x543fa3)],_0x59289b)];for(const _0x30bd1f of _0x3222c2)await _0x34fb64[_0x3348dd(_0x315509._0x36717c)](_0x30bd1f);}async function resetData(_0x5dc019,_0x2bdbd1=Date[_0x5b10f3(0x127)]()){const _0x559131={_0xa75462:0x120,_0x54c94f:0x141,_0x2df17c:0xd8,_0x1627b9:0x136,_0x4da037:0xe7,_0x572afe:0xe3,_0x4c083d:0x154,_0x57c9eb:0x112,_0x52020d:0x144,_0x3e6690:0x10f,_0x5d1977:0x136,_0x1b4ce3:0x124,_0x23d815:0x10d,_0x322a70:0x118,_0x5ceb19:0x12a,_0x402ad5:0x11d,_0x181f4c:0x12d,_0x3bd307:0xe6,_0xf6bb2b:0x129,_0x248d2f:0x12c,_0x2f9353:0x148,_0x375f95:0xec,_0xe00363:0xdc,_0x43d6ec:0x119,_0x805a29:0x152,_0x3bde07:0x149,_0x11f8d3:0xf4,_0x23b8f2:0x133,_0x5dc5b8:0x115,_0x2c6554:0x14e,_0x3c84c2:0xef,_0x66bca1:0x14e,_0x11f4df:0x114,_0x345a45:0x121,_0x1899fa:0x10c,_0x300ffe:0x151,_0x3ddf4f:0xe2,_0x535a7a:0xfd,_0x15f66b:0xdd,_0x33f8b8:0x143,_0x36d531:0xfb,_0x2a21b4:0x120,_0x2eb251:0x13b,_0x6847cd:0x118,_0x764900:0x108,_0x4967fc:0x100,_0x2d04c5:0x105,_0x3bfbfd:0xf2,_0x1adc35:0xe3,_0x45dfa4:0x154,_0x2b5408:0x10a,_0x5e31ad:0xe7},_0x2012a2=_0x5b10f3,_0x235138={'sHwzY':function(_0x5bea56,_0x224e1a){return _0x5bea56+_0x224e1a;},'xwBaK':_0x2012a2(_0x559131._0xa75462),'VWAhI':function(_0x1c02e6,_0x357631){return _0x1c02e6===_0x357631;},'RtAuW':_0x2012a2(_0x559131._0x54c94f)},_0x23f976=await plan(_0x5dc019,_0x2bdbd1);if(_0x5dc019?.[_0x2012a2(_0x559131._0x2df17c)])return{'dryRun':!![],'deleted':_0x23f976[_0x2012a2(_0x559131._0x1627b9)][_0x2012a2(_0x559131._0x4da037)],'lowered':_0x23f976[_0x2012a2(_0x559131._0x572afe)][_0x2012a2(_0x559131._0x4c083d)]};const _0x23759a=await(0x12ee+-0x1*0x19ed+0x6ff,state_1[_0x2012a2(_0x559131._0x57c9eb)+_0x2012a2(_0x559131._0x52020d)])(),_0x398672=decrCommand(_0x23759a);for(const [_0x3296c3,_0x59b4e2]of _0x23f976[_0x2012a2(_0x559131._0x572afe)])await _0x398672(_0x3296c3,_0x59b4e2);if(_0x23759a[_0x2012a2(_0x559131._0x3e6690)+'r']){for(const _0x7e78f2 of _0x23f976[_0x2012a2(_0x559131._0x1627b9)])await _0x23759a[_0x2012a2(_0x559131._0x5d1977)](_0x7e78f2);}else{for(let _0x3930d0=0x6a4*-0x1+-0x4fa+-0x2*-0x5cf;_0x3930d0<_0x23f976[_0x2012a2(_0x559131._0x1627b9)][_0x2012a2(_0x559131._0x4da037)];_0x3930d0+=0x1b91+0x1d3*-0xe+-0x13)await _0x23759a[_0x2012a2(_0x559131._0x5d1977)](..._0x23f976[_0x2012a2(_0x559131._0x5d1977)][_0x2012a2(_0x559131._0x1b4ce3)](_0x3930d0,_0x235138[_0x2012a2(_0x559131._0x23d815)](_0x3930d0,0x1783*-0x1+0x25fd+0x1*-0xc86)));}if(_0x5dc019[_0x2012a2(_0x559131._0x322a70)]===_0x235138[_0x2012a2(_0x559131._0x5ceb19)])await clearKept(_0x23759a,_0x5dc019);(-0x14e8+-0x11cd*-0x1+-0x35*-0xf,data_1[_0x2012a2(_0x559131._0x402ad5)+_0x2012a2(_0x559131._0x181f4c)])(),(0x405+-0x1*0x2111+0x2a4*0xb,data_1[_0x2012a2(_0x559131._0x3bd307)+_0x2012a2(_0x559131._0xf6bb2b)])(),(0x1323+0x1a6b+-0x2d8e,report_1[_0x2012a2(_0x559131._0x248d2f)+_0x2012a2(_0x559131._0x2f9353)])(),(-0xb*0x10f+0x6ef*0x4+0x1*-0x1017,insights_1[_0x2012a2(_0x559131._0x375f95)+_0x2012a2(_0x559131._0xe00363)+'he'])(),(0xedb*0x1+-0xb7*0x2d+0x4*0x454,storage_1[_0x2012a2(_0x559131._0x43d6ec)+_0x2012a2(_0x559131._0x805a29)+'e'])(),(0x2222+-0x1dca+-0x458,query_1[_0x2012a2(_0x559131._0x3bde07)+_0x2012a2(_0x559131._0x11f8d3)+'e'])();const _0x539910=_0x23f976[_0x2012a2(_0x559131._0x23b8f2)]===_0x2012a2(_0x559131._0xa75462)?_0x2012a2(_0x559131._0x5dc5b8)+'ng':_0x23f976[_0x2012a2(_0x559131._0x23b8f2)]===_0x2012a2(_0x559131._0x2c6554)?_0x2012a2(_0x559131._0x3c84c2)+_0x5dc019[_0x2012a2(_0x559131._0x66bca1)]:_0x2012a2(_0x559131._0x11f4df)+_0x5dc019[_0x2012a2(_0x559131._0x66bca1)]+'\x20'+_0x5dc019[_0x2012a2(_0x559131._0x345a45)]+'\x20'+_0x5dc019[_0x2012a2(_0x559131._0x1899fa)];return console[_0x2012a2(_0x559131._0x300ffe)](_0x2012a2(_0x559131._0x3ddf4f)+_0x2012a2(_0x559131._0x535a7a)+_0x2012a2(_0x559131._0x15f66b)+_0x2012a2(_0x559131._0x33f8b8)+'\x20('+_0x539910+',\x20'+(_0x235138[_0x2012a2(_0x559131._0x36d531)](_0x5dc019[_0x2012a2(_0x559131._0x322a70)],_0x2012a2(_0x559131._0x2a21b4))?_0x235138[_0x2012a2(_0x559131._0x2eb251)]:_0x5dc019[_0x2012a2(_0x559131._0x6847cd)])+(_0x2012a2(_0x559131._0x764900)+_0x2012a2(_0x559131._0x4967fc))+_0x23f976[_0x2012a2(_0x559131._0x1627b9)][_0x2012a2(_0x559131._0x4da037)]+(_0x2012a2(_0x559131._0x2d04c5)+_0x2012a2(_0x559131._0x3bfbfd)+_0x2012a2(_0x559131._0x4967fc))+_0x23f976[_0x2012a2(_0x559131._0x1adc35)][_0x2012a2(_0x559131._0x45dfa4)]+_0x2012a2(_0x559131._0x2b5408)),{'dryRun':![],'deleted':_0x23f976[_0x2012a2(_0x559131._0x5d1977)][_0x2012a2(_0x559131._0x5e31ad)],'lowered':_0x23f976[_0x2012a2(_0x559131._0x572afe)][_0x2012a2(_0x559131._0x45dfa4)]};}
@@ -0,0 +1,37 @@
1
+ import type { TimeBucket } from "../types";
2
+ declare const GROUPS: readonly [...TimeBucket[], "otherCounters", "samples", "failures", "boards", "reports"];
3
+ type Group = (typeof GROUPS)[number];
4
+ type GroupStat = {
5
+ keys: number;
6
+ bytes: number | null;
7
+ };
8
+ export type StorageView = {
9
+ redis: {
10
+ used: number | null;
11
+ limit: number | null;
12
+ limitFrom: "maxmemory" | "ram" | null;
13
+ keys: number | null;
14
+ nodes: number;
15
+ };
16
+ tracker: {
17
+ keys: number;
18
+ bytes: number | null;
19
+ groups: Record<Group, GroupStat>;
20
+ expiry: Partial<Record<TimeBucket, number>>;
21
+ sampled: number;
22
+ at: number;
23
+ } | null;
24
+ other: {
25
+ keys: number | null;
26
+ bytes: number | null;
27
+ } | null;
28
+ scanning: {
29
+ checked: number;
30
+ since: number;
31
+ } | null;
32
+ notes: string[];
33
+ };
34
+ export declare function storageView(recount?: boolean, now?: number): Promise<StorageView>;
35
+ export declare function storageSettled(): Promise<void>;
36
+ export declare function clearStorageCache(): void;
37
+ export {};
@@ -0,0 +1 @@
1
+ 'use strict';const _0x3dc3cd=_0x56ed;(function(_0x37aa25,_0x5b0a1e){const _0x3544d2={_0x17d4c5:0x199,_0x21fe39:0x175,_0x5195a3:0x17d,_0x485194:0x174,_0x53b791:0x196,_0x45c81a:0x11e,_0x1366c6:0x14c,_0x41f44d:0x163},_0x2cff66=_0x56ed,_0x3b2a8e=_0x37aa25();while(!![]){try{const _0x3dfaed=parseInt(_0x2cff66(_0x3544d2._0x17d4c5))/(0x1*-0x1215+0x1cdd+-0xac7)+parseInt(_0x2cff66(_0x3544d2._0x21fe39))/(0x171+0x25c7+-0x2736)+-parseInt(_0x2cff66(_0x3544d2._0x5195a3))/(0x3*-0x477+0xf78+-0x210)+-parseInt(_0x2cff66(_0x3544d2._0x485194))/(0x1*-0x55e+-0x1204+-0xa*-0x257)*(parseInt(_0x2cff66(_0x3544d2._0x53b791))/(-0x2526+-0x3c5*-0x5+0x23*0x86))+parseInt(_0x2cff66(_0x3544d2._0x45c81a))/(-0x2bd*-0x5+-0x5a6*0x6+0x1439)+-parseInt(_0x2cff66(_0x3544d2._0x1366c6))/(-0x1c*-0x5+0x21d4+-0x3d1*0x9)+parseInt(_0x2cff66(_0x3544d2._0x41f44d))/(-0xe57+0x5aa+0x8b5);if(_0x3dfaed===_0x5b0a1e)break;else _0x3b2a8e['push'](_0x3b2a8e['shift']());}catch(_0x55e119){_0x3b2a8e['push'](_0x3b2a8e['shift']());}}}(_0x1705,-0x2d9a4*-0x1+-0x5*-0x8bf3+-0x38213));Object[_0x3dc3cd(0x172)+_0x3dc3cd(0x160)](exports,_0x3dc3cd(0x19a)+'le',{'value':!![]}),exports[_0x3dc3cd(0x148)+_0x3dc3cd(0x13a)]=storageView,exports[_0x3dc3cd(0x16b)+_0x3dc3cd(0x141)]=storageSettled,exports[_0x3dc3cd(0x158)+_0x3dc3cd(0x184)+'e']=clearStorageCache;const data_1=require('./data'),periods_1=require('./periods'),state_1=require('../state'),logger_1=require('../logger'),BUCKETS=[_0x3dc3cd(0x152),_0x3dc3cd(0x133),_0x3dc3cd(0x18d),_0x3dc3cd(0x129),_0x3dc3cd(0x198),_0x3dc3cd(0x164)],GROUPS=[...BUCKETS,_0x3dc3cd(0x19e)+_0x3dc3cd(0x140),_0x3dc3cd(0x185),_0x3dc3cd(0x18f),_0x3dc3cd(0x15b),_0x3dc3cd(0x177)],SCAN_EVERY_MS=(0x25*0xf4+-0x2c2+-0x2078)*(-0x64d*-0xb+0x5ab8+-0x7*-0xa9f),RECOUNT_AFTER_MS=0x8647+-0x1fdd*-0x3+-0x3857*0x2,INFO_CACHE_MS=0x292*-0x8+0x92c*0x1+0x1eec,SAMPLE_PER_GROUP=0x2*-0x347+0x1*0x1b79+-0x14ab*0x1,SCAN_COUNT=-0x1361+-0x10*-0x20+-0x1*-0x1549;function _0x56ed(_0x918534,_0x5d1538){_0x918534=_0x918534-(0x117b+0x67*-0x47+0xc2d*0x1);const _0xc400c=_0x1705();let _0x267e8d=_0xc400c[_0x918534];if(_0x56ed['NWZtAO']===undefined){var _0x2fb28a=function(_0x37b4e3){const _0x57763f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50387a='',_0x2b9755='';for(let _0x5371aa=0x23a*-0x10+0x1088+0x1318,_0x2aa579,_0x8f07e4,_0xeebb59=0x67f*0x4+0x631*0x5+0x153*-0x2b;_0x8f07e4=_0x37b4e3['charAt'](_0xeebb59++);~_0x8f07e4&&(_0x2aa579=_0x5371aa%(0x1*-0x943+0x51*0x1b+0x5e*0x2)?_0x2aa579*(0x6fe+0x4*-0x26c+0x1d*0x1a)+_0x8f07e4:_0x8f07e4,_0x5371aa++%(-0xc80+-0x272*0x4+0x164c))?_0x50387a+=String['fromCharCode'](0x13fe+-0x12a3*-0x1+-0x12d1*0x2&_0x2aa579>>(-(0xaf+-0x92*0x1a+0xe27)*_0x5371aa&-0x1*-0x1efd+-0x85b+-0x169c)):0xf*0x1f+0xf0c+0x10dd*-0x1){_0x8f07e4=_0x57763f['indexOf'](_0x8f07e4);}for(let _0x57b2a6=-0x6*-0x116+-0x1bc6*0x1+-0x6*-0x38b,_0x20bb63=_0x50387a['length'];_0x57b2a6<_0x20bb63;_0x57b2a6++){_0x2b9755+='%'+('00'+_0x50387a['charCodeAt'](_0x57b2a6)['toString'](-0xbc5*0x1+-0x16fe+0x22d3))['slice'](-(-0x3*-0xac1+-0x1967+-0x6da));}return decodeURIComponent(_0x2b9755);};_0x56ed['qcxXhd']=_0x2fb28a,_0x56ed['YvjEBG']={},_0x56ed['NWZtAO']=!![];}const _0x57aca1=_0xc400c[-0x2537+0x26c4+-0x18d];_0x56ed['nHZLnL']!==_0x57aca1&&(_0x56ed['YvjEBG']={},_0x56ed['nHZLnL']=_0x57aca1);const _0x5a07c9=_0x56ed['YvjEBG'][_0x918534];return _0x5a07c9===undefined?(_0x267e8d=_0x56ed['qcxXhd'](_0x267e8d),_0x56ed['YvjEBG'][_0x918534]=_0x267e8d):_0x267e8d=_0x5a07c9,_0x267e8d;}let last=null,running=null,info=null;function masters(_0x5cd3d6){const _0x307111={_0x4b24b9:0x150,_0x49e35b:0x155,_0x23f71f:0x122},_0x301ab4=_0x3dc3cd;return _0x5cd3d6[_0x301ab4(_0x307111._0x4b24b9)+'r']?_0x5cd3d6[_0x301ab4(_0x307111._0x49e35b)](_0x301ab4(_0x307111._0x23f71f)):[_0x5cd3d6];}function field(_0x3a173c,_0x2ff9e8){const _0x5126ad={_0x424548:0x17f,_0x9c56c3:0x136},_0x1e1168=_0x3dc3cd,_0x3eef91=new RegExp('^'+_0x2ff9e8+_0x1e1168(_0x5126ad._0x424548),'m')[_0x1e1168(_0x5126ad._0x9c56c3)](_0x3a173c);return _0x3eef91?Number(_0x3eef91[-0x4*0x399+-0x1ffe+-0x13*-0x271]):null;}async function readInfo(_0x4b2360){const _0x187886={_0x19ccc8:0x1a3,_0x1c16be:0x1a2,_0x501a30:0x134,_0x97f1df:0x14d,_0x2f8a8a:0x12f,_0x2f3fc5:0x17a,_0x36e531:0x190,_0x29250b:0x181,_0x3476cf:0x168,_0x1dd066:0x1a5,_0x54501a:0x154,_0x35bdd2:0x183,_0x17712b:0x165,_0x5f634a:0x188,_0x588ce4:0x168,_0x1afa9f:0x15f,_0x584ec0:0x16c,_0xe6a29c:0x17b,_0x161a4f:0x166,_0x3b44dc:0x19d,_0xba729b:0x171,_0x398aab:0x186,_0x28ba4e:0x1a0,_0x5d171c:0x15e},_0x4a52ab={_0x2a84b8:0x14f,_0xf5b467:0x16f,_0x57140d:0x130,_0xc318ca:0x182,_0x2e697b:0x134,_0x4c2be5:0x127,_0x37197f:0x194,_0x3e8f1e:0x1a2,_0x362ab6:0x143,_0x10aba2:0x179,_0x265091:0x121,_0x4cf27f:0x15a,_0x2ef96d:0x17c,_0x3a7cb2:0x15d,_0x4f078a:0x13c,_0x3a15fe:0x117,_0x32db3d:0x143},_0x8cdda8=_0x3dc3cd,_0x8452b9={'hAqvE':_0x8cdda8(_0x187886._0x19ccc8)+_0x8cdda8(_0x187886._0x1c16be),'UuCzs':function(_0x590aa5,_0x22cee7,_0x2c03c3){return _0x590aa5(_0x22cee7,_0x2c03c3);},'qNaMn':function(_0x51021a,_0x5225ac){return _0x51021a+_0x5225ac;},'VjKsi':function(_0x39d337,_0x7c45c8){return _0x39d337===_0x7c45c8;},'qiheY':function(_0x3abe82,_0x59df61){return _0x3abe82===_0x59df61;},'bzdID':function(_0xa987b3,_0x3e648a){return _0xa987b3+_0x3e648a;},'dQPXy':function(_0x5c3037,_0x1e7245){return _0x5c3037(_0x1e7245);},'pDMDt':function(_0x4798b2,_0xa9d3ed){return _0x4798b2===_0xa9d3ed;},'DXVLY':_0x8cdda8(_0x187886._0x501a30)+'y'},_0x34f6a7=[];let _0x354972=-0x23fe*-0x1+-0x147d+-0xbd*0x15,_0x3d56ed=-0x15be+-0xe9*0x7+-0x3*-0x95f,_0x5ce4e1=0x1*0x1b4c+-0xb11+-0x103b,_0x3c6061=0x5*-0x47e+0x2*0x1f+0x1638;const _0x2feda7=masters(_0x4b2360);await Promise[_0x8cdda8(_0x187886._0x97f1df)](_0x2feda7[_0x8cdda8(_0x187886._0x2f8a8a)](async _0x2a03ba=>{const _0xdeb1b1=_0x8cdda8;try{const _0x1afe75=await _0x2a03ba[_0xdeb1b1(_0x4a52ab._0x2a84b8)](_0xdeb1b1(_0x4a52ab._0xf5b467)),_0x477a41=field(_0x1afe75,_0x8452b9[_0xdeb1b1(_0x4a52ab._0x57140d)]),_0x53cff2=_0x8452b9[_0xdeb1b1(_0x4a52ab._0xc318ca)](field,_0x1afe75,_0xdeb1b1(_0x4a52ab._0x2e697b)+'y'),_0x32d190=field(_0x1afe75,_0xdeb1b1(_0x4a52ab._0x4c2be5)+_0xdeb1b1(_0x4a52ab._0x37197f)+_0xdeb1b1(_0x4a52ab._0x3e8f1e));_0x354972=_0x354972===null||_0x477a41===null?null:_0x8452b9[_0xdeb1b1(_0x4a52ab._0x362ab6)](_0x354972,_0x477a41),_0x3d56ed=_0x3d56ed===null||_0x8452b9[_0xdeb1b1(_0x4a52ab._0x10aba2)](_0x53cff2,null)||_0x8452b9[_0xdeb1b1(_0x4a52ab._0x265091)](_0x53cff2,0x14e3+0x3*0x7af+-0x2bf0)?null:_0x3d56ed+_0x53cff2,_0x5ce4e1=_0x5ce4e1===null||_0x32d190===null||_0x32d190===-0x407+0x64*0x59+-0x1ebd?null:_0x8452b9[_0xdeb1b1(_0x4a52ab._0x4cf27f)](_0x5ce4e1,_0x32d190);}catch{_0x354972=_0x3d56ed=_0x5ce4e1=null;}try{const _0xf2d147=_0x8452b9[_0xdeb1b1(_0x4a52ab._0x2ef96d)](Number,await _0x2a03ba[_0xdeb1b1(_0x4a52ab._0x3a7cb2)]());_0x3c6061=_0x8452b9[_0xdeb1b1(_0x4a52ab._0x4f078a)](_0x3c6061,null)||!Number[_0xdeb1b1(_0x4a52ab._0x3a15fe)](_0xf2d147)?null:_0x8452b9[_0xdeb1b1(_0x4a52ab._0x32db3d)](_0x3c6061,_0xf2d147);}catch{_0x3c6061=null;}}));if(_0x354972===null)_0x34f6a7[_0x8cdda8(_0x187886._0x2f3fc5)](_0x8cdda8(_0x187886._0x36e531)+_0x8cdda8(_0x187886._0x29250b)+_0x8cdda8(_0x187886._0x3476cf)+_0x8cdda8(_0x187886._0x1dd066)+_0x8cdda8(_0x187886._0x54501a)+_0x8cdda8(_0x187886._0x35bdd2)+_0x8cdda8(_0x187886._0x17712b)+_0x8cdda8(_0x187886._0x5f634a));if(_0x3c6061===null)_0x34f6a7[_0x8cdda8(_0x187886._0x2f3fc5)](_0x8cdda8(_0x187886._0x36e531)+_0x8cdda8(_0x187886._0x29250b)+_0x8cdda8(_0x187886._0x588ce4)+_0x8cdda8(_0x187886._0x1afa9f)+_0x8cdda8(_0x187886._0x584ec0)+_0x8cdda8(_0x187886._0xe6a29c)+_0x8cdda8(_0x187886._0x161a4f)+_0x8cdda8(_0x187886._0x3b44dc)+_0x8cdda8(_0x187886._0xba729b));const _0x3aaa61=_0x3d56ed??_0x5ce4e1;return{'used':_0x354972,'limit':_0x3aaa61,'limitFrom':_0x3d56ed?_0x8452b9[_0x8cdda8(_0x187886._0x398aab)]:_0x5ce4e1?_0x8cdda8(_0x187886._0x28ba4e):null,'keys':_0x3c6061,'nodes':_0x2feda7[_0x8cdda8(_0x187886._0x5d171c)],'notes':_0x34f6a7};}function ownGroup(_0x1b7941,_0x3c6d4b){const _0x2c4f2b={_0x4e1be8:0x151,_0x42faa4:0x15b,_0x24febe:0x136,_0x142a43:0x177,_0x4039da:0x191,_0x2eb1f4:0x14e,_0x478fe6:0x146,_0x351e0a:0x13e},_0x3431d8=_0x3dc3cd,_0x3d0531={'edmAI':_0x3431d8(_0x2c4f2b._0x4e1be8)+'ds','rmvdv':_0x3431d8(_0x2c4f2b._0x42faa4)},_0x18b154=/^system-tracker:(samples|failures|dashboards|reports|report):(.*)$/[_0x3431d8(_0x2c4f2b._0x24febe)](_0x1b7941);if(!_0x18b154)return null;const _0x1f31b0=_0x18b154[0x1*0xb2d+-0x1f*0x10f+-0xad3*-0x2],_0xf61bbb=_0x18b154[-0x3*0x1b1+-0x1c3+0x6d7]===_0x3431d8(_0x2c4f2b._0x4e1be8)+'ds'||_0x18b154[-0x259*0x4+-0x94*0xf+0x1211]===_0x3431d8(_0x2c4f2b._0x142a43)?_0x1f31b0===_0x3c6d4b:_0x1f31b0[_0x3431d8(_0x2c4f2b._0x4039da)+'th'](_0x3c6d4b+':');if(!_0xf61bbb)return null;return _0x18b154[0x581+-0x18a2+0x1322]===_0x3d0531[_0x3431d8(_0x2c4f2b._0x2eb1f4)]?_0x3d0531[_0x3431d8(_0x2c4f2b._0x478fe6)]:_0x18b154[0xa7+-0x1*0x23be+0x8*0x463]===_0x3431d8(_0x2c4f2b._0x351e0a)?_0x3431d8(_0x2c4f2b._0x142a43):_0x18b154[-0x7f*-0x29+0xb*0x334+-0x943*0x6];}function counterGroup(_0xe8b812,_0x3c9b9e){const _0x47bb64={_0x1e57b6:0x19e,_0x56d45a:0x140,_0x19bce8:0x1a1,_0x523180:0x19c,_0x5c4907:0x13f},_0x40cd1d=_0x3dc3cd,_0xd803d5={'OYRUc':_0x40cd1d(_0x47bb64._0x1e57b6)+_0x40cd1d(_0x47bb64._0x56d45a)};return(-0x1834+-0x14e5+0x2d19,periods_1[_0x40cd1d(_0x47bb64._0x19bce8)])(_0x3c9b9e,_0xe8b812)?.[_0x40cd1d(_0x47bb64._0x523180)]??_0xd803d5[_0x40cd1d(_0x47bb64._0x5c4907)];}function add(_0x3b663f,_0x3bfe95){const _0x4901f4={_0x4a5829:0x156,_0x334ee2:0x18b,_0x511196:0x11f,_0x3f3287:0x189,_0x5dea43:0x15e,_0x168bc9:0x189,_0x1180fc:0x17a,_0x507168:0x1a4,_0x25478e:0x135,_0x242673:0x18b,_0x3f80c4:0x189},_0x518a87=_0x3dc3cd,_0x1b2191={'YMKJq':function(_0xcf631a,_0x26199d){return _0xcf631a<_0x26199d;}};_0x3b663f[_0x518a87(_0x4901f4._0x4a5829)]++,_0x3b663f[_0x518a87(_0x4901f4._0x334ee2)]++;if(_0x1b2191[_0x518a87(_0x4901f4._0x511196)](_0x3b663f[_0x518a87(_0x4901f4._0x3f3287)][_0x518a87(_0x4901f4._0x5dea43)],SAMPLE_PER_GROUP))_0x3b663f[_0x518a87(_0x4901f4._0x168bc9)][_0x518a87(_0x4901f4._0x1180fc)](_0x3bfe95);else{const _0x56b273=Math[_0x518a87(_0x4901f4._0x507168)](Math[_0x518a87(_0x4901f4._0x25478e)]()*_0x3b663f[_0x518a87(_0x4901f4._0x242673)]);if(_0x56b273<SAMPLE_PER_GROUP)_0x3b663f[_0x518a87(_0x4901f4._0x3f80c4)][_0x56b273]=_0x3bfe95;}}async function scanNode(_0x24d13d,_0x4f1e96,_0x2b45e0,_0x8239e6){const _0x3ae124={_0x25074c:0x162,_0x12fae1:0x16d,_0x46d225:0x159,_0xa00f93:0x139,_0x9d7fd4:0x128},_0x1d4835=_0x3dc3cd,_0x409f94={'kOuen':_0x1d4835(_0x3ae124._0x25074c),'YJBxW':function(_0x4a54c6,_0x1140f1){return _0x4a54c6!==_0x1140f1;}};let _0x3c5df4='0';do{const [_0x282230,_0x3d5512]=await _0x24d13d[_0x1d4835(_0x3ae124._0x12fae1)](_0x3c5df4,_0x1d4835(_0x3ae124._0x46d225),_0x4f1e96,_0x409f94[_0x1d4835(_0x3ae124._0xa00f93)],SCAN_COUNT);_0x3c5df4=_0x282230;for(const _0x51e452 of _0x3d5512)_0x2b45e0(_0x51e452);_0x8239e6(),await new Promise(_0x4f1e48=>setImmediate(_0x4f1e48));}while(_0x409f94[_0x1d4835(_0x3ae124._0x9d7fd4)](_0x3c5df4,'0'));}async function memoryOf(_0x2678cc,_0x149c15){const _0x3a568e={_0x2e3b8d:0x15e,_0x4858dc:0x150,_0x6d31dd:0x14d,_0x351141:0x12f,_0x3a23af:0x120,_0x185244:0x192,_0x351dc6:0x136},_0x5715fa={_0x25f4d3:0x14b},_0x514a66=_0x3dc3cd,_0x4e8b6c={'uSWzr':function(_0x56250c,_0xfc171c){return _0x56250c(_0xfc171c);}};if(!_0x149c15[_0x514a66(_0x3a568e._0x2e3b8d)])return[];if(_0x2678cc[_0x514a66(_0x3a568e._0x4858dc)+'r'])return Promise[_0x514a66(_0x3a568e._0x6d31dd)](_0x149c15[_0x514a66(_0x3a568e._0x351141)](_0x5063be=>_0x2678cc[_0x514a66(0x16f)](_0x514a66(0x176),_0x5063be)[_0x514a66(0x12e)](_0x16e0b3=>_0x16e0b3===null?null:Number(_0x16e0b3))));const _0x147bca=await _0x149c15[_0x514a66(_0x3a568e._0x3a23af)]((_0x5b4be9,_0x128737)=>_0x5b4be9[_0x514a66(0x16f)](_0x514a66(0x176),_0x128737),_0x2678cc[_0x514a66(_0x3a568e._0x185244)]())[_0x514a66(_0x3a568e._0x351dc6)]();return _0x147bca[_0x514a66(_0x3a568e._0x351141)](([_0x4f6012,_0x376de4])=>{const _0x528cd8=_0x514a66;if(_0x4f6012)throw _0x4f6012;return _0x376de4===null?null:_0x4e8b6c[_0x528cd8(_0x5715fa._0x25f4d3)](Number,_0x376de4);});}async function scan(_0x3348ec,_0x240870){const _0x1a74b0={_0x142274:0x12b,_0x3ef388:0x131,_0x257444:0x14a,_0x22bf32:0x11a,_0x7188ce:0x12f,_0x3797fc:0x147,_0x591fb9:0x12a,_0x938863:0x123,_0x2dfe69:0x156,_0x31c1b2:0x156,_0x2451fc:0x156,_0x1378f3:0x189,_0x1f904e:0x145,_0x2b21a0:0x15e,_0x50a26c:0x12c,_0xb34bf9:0x170,_0x505424:0x120,_0x32d856:0x15e,_0x18b3c2:0x156,_0x33cde3:0x17a,_0x2e291d:0x190,_0x19aefa:0x181,_0x3bd297:0x168,_0x585e87:0x144,_0x3cb81d:0x19b,_0x2fdf39:0x119,_0xdfcf6:0x137,_0x2b3442:0x193,_0x1e10f9:0x16a,_0x54bf5c:0x125,_0x4f6810:0x18e,_0x30537a:0x120,_0x1c526e:0x120,_0x3abf95:0x12c,_0x402899:0x195},_0x331d3d={_0x4aa01f:0x15c},_0xe17b6c=_0x3dc3cd,_0x1dc302={'RvxQk':function(_0xb32398,_0x5b3987,_0x1933b0){return _0xb32398(_0x5b3987,_0x1933b0);},'PKFOg':function(_0x300b16,_0x58882d){return _0x300b16(_0x58882d);}},_0x3bc201=await(0x24a+-0x96f+0x1*0x725,state_1[_0xe17b6c(_0x1a74b0._0x142274)+_0xe17b6c(_0x1a74b0._0x3ef388)])(),_0x15001a=Object[_0xe17b6c(_0x1a74b0._0x257444)+_0xe17b6c(_0x1a74b0._0x22bf32)](GROUPS[_0xe17b6c(_0x1a74b0._0x7188ce)](_0x450209=>[_0x450209,{'keys':0x0,'seen':0x0,'sample':[]}]));let _0xa31f38=-0x1aa2+-0xa*-0x19f+-0x2e*-0x3a;const _0x4e5423=()=>_0x240870(_0xa31f38);for(const _0x2139ad of _0x1dc302[_0xe17b6c(_0x1a74b0._0x3797fc)](masters,_0x3bc201)){await scanNode(_0x2139ad,_0x3348ec+':*',_0x28f0b3=>{_0xa31f38++,add(_0x15001a[counterGroup(_0x28f0b3,_0x3348ec)],_0x28f0b3);},_0x4e5423),await scanNode(_0x2139ad,_0xe17b6c(_0x1a74b0._0x591fb9)+_0xe17b6c(_0x1a74b0._0x938863),_0x40ad02=>{const _0x64065e=_0xe17b6c;_0xa31f38++;const _0x489fbe=_0x1dc302[_0x64065e(_0x331d3d._0x4aa01f)](ownGroup,_0x40ad02,_0x3348ec);if(_0x489fbe)add(_0x15001a[_0x489fbe],_0x40ad02);},_0x4e5423);}const _0x2eb8bb=[],_0x1d4c7a={};let _0x33145e=!![],_0x55472d=-0x28c*0x7+0x1f7*-0xa+0x171*0x1a;for(const _0x3d3152 of GROUPS){const _0x393963=_0x15001a[_0x3d3152];_0x1d4c7a[_0x3d3152]={'keys':_0x393963[_0xe17b6c(_0x1a74b0._0x2dfe69)],'bytes':_0x393963[_0xe17b6c(_0x1a74b0._0x31c1b2)]?null:-0x4*0x71e+0xe*0x44+-0x4*-0x630};if(!_0x393963[_0xe17b6c(_0x1a74b0._0x2451fc)]||!_0x33145e)continue;try{const _0xcef7b=(await memoryOf(_0x3bc201,_0x393963[_0xe17b6c(_0x1a74b0._0x1378f3)]))[_0xe17b6c(_0x1a74b0._0x1f904e)](_0x470837=>_0x470837!==null&&Number[_0xe17b6c(0x117)](_0x470837));_0x55472d+=_0xcef7b[_0xe17b6c(_0x1a74b0._0x2b21a0)],_0x1d4c7a[_0x3d3152][_0xe17b6c(_0x1a74b0._0x50a26c)]=_0xcef7b[_0xe17b6c(_0x1a74b0._0x2b21a0)]?Math[_0xe17b6c(_0x1a74b0._0xb34bf9)](_0xcef7b[_0xe17b6c(_0x1a74b0._0x505424)]((_0xc7bd11,_0x2dadcd)=>_0xc7bd11+_0x2dadcd,0x59*-0xd+-0x1*-0x1127+-0xca2)/_0xcef7b[_0xe17b6c(_0x1a74b0._0x32d856)]*_0x393963[_0xe17b6c(_0x1a74b0._0x18b3c2)]):0x23cf+0x1a90+-0x3e5f;}catch{_0x33145e=![],_0x2eb8bb[_0xe17b6c(_0x1a74b0._0x33cde3)](_0xe17b6c(_0x1a74b0._0x2e291d)+_0xe17b6c(_0x1a74b0._0x19aefa)+_0xe17b6c(_0x1a74b0._0x3bd297)+_0xe17b6c(_0x1a74b0._0x585e87)+_0xe17b6c(_0x1a74b0._0x3cb81d)+_0xe17b6c(_0x1a74b0._0x2fdf39)+_0xe17b6c(_0x1a74b0._0xdfcf6)+_0xe17b6c(_0x1a74b0._0x2b3442)+_0xe17b6c(_0x1a74b0._0x1e10f9)+_0xe17b6c(_0x1a74b0._0x54bf5c)+_0xe17b6c(_0x1a74b0._0x4f6810));}}const _0x363389=GROUPS[_0xe17b6c(_0x1a74b0._0x30537a)]((_0x35d0c7,_0x24723e)=>_0x35d0c7+_0x1d4c7a[_0x24723e][_0xe17b6c(0x156)],-0x10df+-0x25b2+0x1*0x3691),_0x5c87bd=_0x33145e?GROUPS[_0xe17b6c(_0x1a74b0._0x1c526e)]((_0x431c74,_0x474e8c)=>_0x431c74+(_0x1d4c7a[_0x474e8c][_0xe17b6c(0x12c)]??-0x2439+-0x7ad+0x2be6),-0x266a+0x158f*0x1+-0x5*-0x35f):null;if(!_0x33145e){for(const _0x4200bf of GROUPS)_0x1d4c7a[_0x4200bf][_0xe17b6c(_0x1a74b0._0x3abf95)]=null;}return{'groups':_0x1d4c7a,'keys':_0x363389,'bytes':_0x5c87bd,'sampled':_0x55472d,'at':Date[_0xe17b6c(_0x1a74b0._0x402899)](),'notes':_0x2eb8bb};}function startScan(_0x474f10){const _0x3c192b={_0x3a8e21:0x12d,_0x23ced1:0x195,_0x4f8291:0x161,_0xf86a12:0x178,_0x5eefc5:0x12e,_0x59a6c6:0x138,_0x579a12:0x124},_0x4bee40={_0x23b509:0x180},_0x16f46c={_0x8fa80e:0x11d},_0x482e4e=_0x3dc3cd,_0x1d8eea={'WymVr':function(_0x110844,_0xe24bf6){return _0x110844===_0xe24bf6;}};if(running&&running[_0x482e4e(_0x3c192b._0x3a8e21)]===_0x474f10)return;const _0x305b2f={'prefix':_0x474f10,'checked':0x0,'since':Date[_0x482e4e(_0x3c192b._0x23ced1)](),'done':Promise[_0x482e4e(_0x3c192b._0x4f8291)]()};_0x305b2f[_0x482e4e(_0x3c192b._0xf86a12)]=scan(_0x474f10,_0x1f7588=>{const _0x132bb8=_0x482e4e;_0x305b2f[_0x132bb8(_0x16f46c._0x8fa80e)]=_0x1f7588;})[_0x482e4e(_0x3c192b._0x5eefc5)](_0x5dc657=>{last={..._0x5dc657,'prefix':_0x474f10};})[_0x482e4e(_0x3c192b._0x59a6c6)](_0x87807c=>(-0x1*-0x313+0xf7f+0x1*-0x1292,logger_1[_0x482e4e(0x17e)+_0x482e4e(0x13d)])(_0x482e4e(0x151)+_0x482e4e(0x11b)+'e',_0x87807c,{'prefix':_0x474f10}))[_0x482e4e(_0x3c192b._0x579a12)](()=>{const _0x91e264=_0x482e4e;if(_0x1d8eea[_0x91e264(_0x4bee40._0x23b509)](running,_0x305b2f))running=null;}),running=_0x305b2f;}function _0x1705(){const _0x26952e=['CMvWB3j0','t1Lsvwm','BNrLCNm','zxr0BgvK','DMfSDwu','Cu5Htw4','ie1ftu9swsa','zMLSDgvY','CM12zhy','ueTgt2C','C3rVCMfNzvy','tMHnzg8','zNjVBuvUDhi','DvnxENi','ndiZndiZrKnUyK9l','ywXS','zwrTquK','Aw5MBW','AxndBhvZDgu','zgfZAgjVyxi','C2vJ','AfDmwvm','BYbPDhmGDg8','BM9Kzxm','A2v5CW','zw5HyMXL','y2XLyxjtDg8','tufuq0G','yNPKsuq','yM9HCMrZ','uNz4uwS','zgjZAxPL','BgvUz3rO','iercu0LArsW','B3bLCNr5','CMvZB2X2zq','q09vtLq','mJq1ntiWmhLzEwfgAG','EwvHCG','CNKGAxmGDw4','EsbJB3vUDca','y29UzMLN','j3qGywXSB3C','BL9Zzwm','B3DUigzVCIa','C3rVCMfNzvm','ihnVigL0CYa','C2nHBG','z3jVDxbZ','BwvTB3j5','CM91BMq','D24U','zgvMAw5Luhi','BM90zxm','mte3mZy4ufLkz1f4','mtC3otuYCxboBvbg','vvnbr0u','CMvWB3j0CW','zg9Uzq','vMPlC2K','ChvZAa','Dg90ywWGA2u','zffqwhK','nJmZnZeXChDSt2HY','Bg9NugfJA2e','oIHCzcSP','v3LTvNi','AxmGzg9LC24','vxvdENm','DgfSig1LBw8','CMfNzunHy2G','C2fTCgXLCW','rfHwtfK','vu1IuMS','A25VD24U','C2fTCgXL','C2LUy2u','C2vLBG','Cg9hCwi','Ag91CG','A2vYlG','zMfPBhvYzxm','vgHPCYbszwq','C3rHCNrZv2K','CgLWzwXPBMu','CYbHCMuGC2G','C3rLBv9Tzw0','BM93','ndvAEwH4rvq','C2fTCgXLza','Bw9UDgG','nda4mJfNs0TACgG','x19LC01Vzhu','vvnbr0uSihm','yNvJA2v0','AxmGDw5RBM8','B3rOzxjdB3u','Bwf4','CMfT','CgfYC2vlzxK','B3j5','DxnLzf9Tzw0','zMXVB3i','ieLorK8Sihm','AxngAw5PDgu','B25MAwC','BYbVBMX5igS','AwvZ','zc5ZDg9YywC','z2v0vgLTzum','y2HLy2TLza','mtqXmdCZog91wujbBG','wu1lsNe','CMvKDwnL','CwLOzvK','BwfZDgvY','CMfJA2vYoIO','zMLUywXSEq','DgHLihrYywm','zxHWAxj5x2K','Dg90ywXFC3K','wuPcEfC','zgf5','C3LZDgvTlxq','z2v0uMvHzhK','yNL0zxm','ChjLzML4','DgHLBG','BwfW','AefXDKu','uMvKAxm','qxPID3q','BwLU','Bwf4BwvTB3i','CMfUzg9T','zxHLyW','zxKGy291BNq','y2f0y2G','A091zw4','Awv3','DxnLza','Cernrhq','z2vfCNjVCG'];_0x1705=function(){return _0x26952e;};return _0x1705();}async function storageView(_0x56b5c5=![],_0x5fb93f=Date[_0x3dc3cd(0x195)]()){const _0x21aa96={_0x45a1ba:0x167,_0x95d6f6:0x12d,_0x42ba21:0x12b,_0x505792:0x131,_0x59c3d9:0x132,_0x4c36f3:0x149,_0x135d0b:0x12d,_0x16c039:0x142,_0x43ea4f:0x11c,_0x41353e:0x118,_0x3f2b1f:0x157,_0x4494eb:0x126,_0x54c0c9:0x169,_0x21e22b:0x156,_0x3d42e2:0x12c,_0xd2c992:0x16e,_0x765c29:0x197,_0x4a4153:0x18c,_0x390b37:0x19f,_0x5979a6:0x156,_0x3daea8:0x156,_0xa0e74:0x13b,_0x1e2af4:0x187,_0x43b9a8:0x12c,_0x19e5b5:0x153,_0x5e5a1e:0x11d,_0x45a13c:0x18a,_0x444b88:0x173},_0x3494e8=_0x3dc3cd,_0x494753={'Azbwt':function(_0x250341,_0x43f15b){return _0x250341-_0x43f15b;},'NhMdo':function(_0x1d4495,_0x206b21){return _0x1d4495(_0x206b21);},'poGqb':function(_0x9d9f5e,_0x21ce95){return _0x9d9f5e===_0x21ce95;},'UMbRk':function(_0x40c30a,_0x559a53){return _0x40c30a===_0x559a53;},'hWLYS':function(_0x1fa7ed,_0x296b97){return _0x1fa7ed===_0x296b97;}},{cfg:_0x465808}=(0xc0+0xd*-0x5+-0x7f,data_1[_0x3494e8(_0x21aa96._0x45a1ba)])(),_0x210b5c=_0x465808[_0x3494e8(_0x21aa96._0x95d6f6)],_0x53347a=await(0x15a8+0x4ff*-0x4+-0x1ac,state_1[_0x3494e8(_0x21aa96._0x42ba21)+_0x3494e8(_0x21aa96._0x505792)])();(!info||info[_0x3494e8(_0x21aa96._0x95d6f6)]!==_0x210b5c||_0x494753[_0x3494e8(_0x21aa96._0x59c3d9)](_0x5fb93f,info['at'])>=INFO_CACHE_MS)&&(info={'at':_0x5fb93f,'prefix':_0x210b5c,'value':await _0x494753[_0x3494e8(_0x21aa96._0x4c36f3)](readInfo,_0x53347a)});const _0x23dddb=last&&last[_0x3494e8(_0x21aa96._0x135d0b)]===_0x210b5c?last:null;if(!_0x23dddb||_0x5fb93f-_0x23dddb['at']>=(_0x56b5c5?RECOUNT_AFTER_MS:SCAN_EVERY_MS))startScan(_0x210b5c);const {notes:_0x5ae0ac,..._0x2eceef}=info[_0x3494e8(_0x21aa96._0x16c039)],_0x4f1d6b=(0x2a*0x4a+0x3c7*-0x2+-0x1*0x496,state_1[_0x3494e8(_0x21aa96._0x43ea4f)+_0x3494e8(_0x21aa96._0x41353e)])(),_0x2527f0={};for(const _0x2e4ed1 of BUCKETS)if(_0x4f1d6b[_0x2e4ed1][_0x3494e8(_0x21aa96._0x3f2b1f)])_0x2527f0[_0x2e4ed1]=_0x4f1d6b[_0x2e4ed1][_0x3494e8(_0x21aa96._0x4494eb)+_0x3494e8(_0x21aa96._0x54c0c9)];return{'redis':_0x2eceef,'tracker':_0x23dddb?{'keys':_0x23dddb[_0x3494e8(_0x21aa96._0x21e22b)],'bytes':_0x23dddb[_0x3494e8(_0x21aa96._0x3d42e2)],'groups':_0x23dddb[_0x3494e8(_0x21aa96._0xd2c992)],'expiry':_0x2527f0,'sampled':_0x23dddb[_0x3494e8(_0x21aa96._0x765c29)],'at':_0x23dddb['at']}:null,'other':_0x23dddb?{'keys':_0x494753[_0x3494e8(_0x21aa96._0x4a4153)](_0x2eceef[_0x3494e8(_0x21aa96._0x21e22b)],null)?null:Math[_0x3494e8(_0x21aa96._0x390b37)](0x2*-0x1241+-0x5*0x6de+-0x8db*-0x8,_0x2eceef[_0x3494e8(_0x21aa96._0x5979a6)]-_0x23dddb[_0x3494e8(_0x21aa96._0x3daea8)]),'bytes':_0x2eceef[_0x3494e8(_0x21aa96._0xa0e74)]===null||_0x494753[_0x3494e8(_0x21aa96._0x1e2af4)](_0x23dddb[_0x3494e8(_0x21aa96._0x43b9a8)],null)?null:Math[_0x3494e8(_0x21aa96._0x390b37)](0x409*-0x8+0x2308+-0x2c0,_0x2eceef[_0x3494e8(_0x21aa96._0xa0e74)]-_0x23dddb[_0x3494e8(_0x21aa96._0x43b9a8)])}:null,'scanning':running&&_0x494753[_0x3494e8(_0x21aa96._0x19e5b5)](running[_0x3494e8(_0x21aa96._0x135d0b)],_0x210b5c)?{'checked':running[_0x3494e8(_0x21aa96._0x5e5a1e)],'since':running[_0x3494e8(_0x21aa96._0x45a13c)]}:null,'notes':[..._0x5ae0ac,..._0x23dddb?.[_0x3494e8(_0x21aa96._0x444b88)]??[]]};}async function storageSettled(){const _0x34c45c={_0x156c31:0x178},_0x2c3c6b=_0x3dc3cd;while(running)await running[_0x2c3c6b(_0x34c45c._0x156c31)];}function clearStorageCache(){last=null,info=null;}
@@ -0,0 +1,3 @@
1
+ export { statis, statRedis } from "./redis";
2
+ export { searchKeys } from "./search";
3
+ export type { BuiltInType, DashboardOptions, Hit, InitOptions, RedisOption, TimeBucket, TimeBucketConfig, TimeConfig, } from "./types";