@hotmeshio/hotmesh
Version:
Serverless Workflow
1 lines • 5.37 kB
JavaScript
'use strict';const l=b;(function(c,d){const k=b,e=c();while(!![]){try{const f=parseInt(k(0x129))/0x1*(parseInt(k(0x11a))/0x2)+-parseInt(k(0x138))/0x3*(parseInt(k(0x134))/0x4)+-parseInt(k(0x150))/0x5+parseInt(k(0x14a))/0x6*(parseInt(k(0x148))/0x7)+parseInt(k(0x14b))/0x8+-parseInt(k(0x11b))/0x9*(parseInt(k(0x128))/0xa)+parseInt(k(0x151))/0xb*(parseInt(k(0x12d))/0xc);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x4d840));function a(){const a0=['setUTCSeconds','getUTCMinutes','setUTCMinutes','getUTCFullYear','setUTCMonth','setTime','10UFSsPt','1126ibRfcU','toJSON','DateHandler','valueOf','636RVQCtq','toDateString','getMinutes','setUTCHours','getUTCDate','setMinutes','toLocaleString','112rgtYrH','toLocaleDateString','setSeconds','setHours','4434VdCXqo','../../../modules/utils','setUTCFullYear','getDay','getDateInstance','getTimezoneOffset','setMonth','test','getUTCDay','number','setFullYear','setMilliseconds','getFullYear','getUTCMonth','getUTCHours','getUTCMilliseconds','1316GRvPfK','UTC','1674BVbgHB','3307984YUifmF','setUTCDate','getMilliseconds','now','parse','2146355zHpRsh','17479WAjmtV','getDate','setUTCMilliseconds','getUTCSeconds','formatISODate','toISOXString','610VaMCYh','948942OiPQqj','setDate','toString','getHours','toLocaleTimeString','getSeconds','defineProperty'];a=function(){return a0;};return a();}function b(c,d){const e=a();return b=function(f,g){f=f-0x118;let h=e[f];return h;},b(c,d);}Object[l(0x121)](exports,'__esModule',{'value':!0x0}),exports[l(0x12b)]=void 0x0;const utils_1=require(l(0x139));class DateHandler{static[l(0x13c)](c){const m=l;if('string'==typeof c){if(/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z)?$/[m(0x13f)](c))return new Date(c);const d=parseInt(c,0xa);if(!isNaN(d))return new Date(d);}else{if(c instanceof Date)return c;if(m(0x141)==typeof c)return new Date(c);}throw new Error('Invalid\x20date\x20format');}['fromISOString'](c){return new Date(c);}[l(0x14e)](){return Date['now']();}[l(0x14f)](c){const n=l;return Date[n(0x14f)](c);}[l(0x152)](c){const o=l;return DateHandler[o(0x13c)](c)[o(0x152)]();}[l(0x13b)](c){const p=l;return DateHandler[p(0x13c)](c)[p(0x13b)]();}[l(0x144)](c){const q=l;return DateHandler[q(0x13c)](c)[q(0x144)]();}['getHours'](c){const r=l;return DateHandler[r(0x13c)](c)[r(0x11e)]();}['getMilliseconds'](c){const s=l;return DateHandler['getDateInstance'](c)[s(0x14d)]();}[l(0x12f)](c){return DateHandler['getDateInstance'](c)['getMinutes']();}['getMonth'](c){const t=l;return DateHandler[t(0x13c)](c)['getMonth']();}[l(0x120)](c){const u=l;return DateHandler['getDateInstance'](c)[u(0x120)]();}['getTime'](c){return DateHandler['getDateInstance'](c)['getTime']();}[l(0x13d)](c){const v=l;return DateHandler['getDateInstance'](c)[v(0x13d)]();}[l(0x131)](c){const w=l;return DateHandler[w(0x13c)](c)['getUTCDate']();}[l(0x140)](c){const x=l;return DateHandler[x(0x13c)](c)['getUTCDay']();}[l(0x125)](c){return DateHandler['getDateInstance'](c)['getUTCFullYear']();}[l(0x146)](c){const y=l;return DateHandler[y(0x13c)](c)[y(0x146)]();}[l(0x147)](c){const z=l;return DateHandler[z(0x13c)](c)[z(0x147)]();}['getUTCMinutes'](c){const A=l;return DateHandler[A(0x13c)](c)[A(0x123)]();}[l(0x145)](c){const B=l;return DateHandler[B(0x13c)](c)[B(0x145)]();}[l(0x154)](c){const C=l;return DateHandler[C(0x13c)](c)[C(0x154)]();}['setMilliseconds'](c,d){const D=l;return DateHandler[D(0x13c)](c)[D(0x143)](d);}[l(0x132)](c,d,f,g){const E=l;return DateHandler[E(0x13c)](c)[E(0x132)](d,f,g);}[l(0x13e)](c,d,f){const F=l;return DateHandler[F(0x13c)](c)[F(0x13e)](d,f);}[l(0x136)](c,d,f){const G=l;return DateHandler[G(0x13c)](c)[G(0x136)](d,f);}['setTime'](c,d){const H=l;return DateHandler[H(0x13c)](c)[H(0x127)](d);}[l(0x14c)](c,d){return DateHandler['getDateInstance'](c)['setUTCDate'](d);}[l(0x13a)](c,d,f,g){const I=l;return DateHandler[I(0x13c)](c)[I(0x13a)](d,f,g);}[l(0x130)](c,d,f,g,h){const J=l;return DateHandler[J(0x13c)](c)[J(0x130)](d,f,g,h);}[l(0x153)](c,d){const K=l;return DateHandler[K(0x13c)](c)[K(0x153)](d);}['setUTCMinutes'](c,d,f,g){const L=l;return DateHandler['getDateInstance'](c)[L(0x124)](d,f,g);}[l(0x126)](c,d,f){const M=l;return DateHandler[M(0x13c)](c)[M(0x126)](d,f);}[l(0x122)](c,d,f){const N=l;return DateHandler['getDateInstance'](c)[N(0x122)](d,f);}['setDate'](c,d){const O=l;return DateHandler[O(0x13c)](c)[O(0x11c)](d);}[l(0x142)](c,d,f,g){const P=l;return DateHandler[P(0x13c)](c)[P(0x142)](d,f,g);}[l(0x137)](c,d,f,g,h){const Q=l;return DateHandler[Q(0x13c)](c)[Q(0x137)](d,f,g,h);}[l(0x12e)](c){const R=l;return DateHandler[R(0x13c)](c)[R(0x12e)]();}['toISOString'](c){const S=l;return DateHandler[S(0x13c)](c)['toISOString']();}[l(0x119)](c){const T=l;return(0x0,utils_1[T(0x118)])(c?DateHandler['getDateInstance'](c):new Date());}[l(0x12a)](c){const U=l;return DateHandler[U(0x13c)](c)[U(0x12a)]();}['toLocaleDateString'](c,d,f){const V=l;return DateHandler['getDateInstance'](c)[V(0x135)](d,f);}[l(0x133)](c,d,f){const W=l;return DateHandler[W(0x13c)](c)['toLocaleString'](d,f);}[l(0x11f)](c,d,f){const X=l;return DateHandler[X(0x13c)](c)[X(0x11f)](d,f);}['toString'](c){const Y=l;return DateHandler[Y(0x13c)](c)[Y(0x11d)]();}[l(0x149)](c,d,f,g,h,i,j){const Z=l;return Date[Z(0x149)](c,d,f,g,h,i,j);}[l(0x12c)](c){return DateHandler['getDateInstance'](c)['valueOf']();}}exports[l(0x12b)]=DateHandler;