forked from Arlina-Design/redvision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimeagorev.js
1 lines (1 loc) · 9.51 KB
/
timeagorev.js
1
var _0x7c5b=["\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6F\x6E\x74\x61\x69\x6E\x73","\x64\x69\x73\x70\x6F\x73\x65","\x74\x69\x6D\x65\x61\x67\x6F","\x73\x65\x74\x74\x69\x6E\x67\x73","\x64\x61\x74\x65\x74\x69\x6D\x65","\x63\x75\x74\x6F\x66\x66","\x61\x62\x73","\x74\x65\x78\x74","\x64\x61\x74\x61","\x74\x72\x69\x6D","\x6C\x6F\x63\x61\x6C\x65\x54\x69\x74\x6C\x65","\x74\x69\x74\x6C\x65","\x74\x6F\x4C\x6F\x63\x61\x6C\x65\x53\x74\x72\x69\x6E\x67","\x61\x74\x74\x72","\x6C\x65\x6E\x67\x74\x68","\x69\x73\x54\x69\x6D\x65","\x69\x6E\x57\x6F\x72\x64\x73","\x67\x65\x74\x54\x69\x6D\x65","\x73\x74\x72\x69\x6E\x67","\x70\x61\x72\x73\x65","\x6E\x75\x6D\x62\x65\x72","\x61\x67\x6F","\x66\x72\x6F\x6D\x20\x6E\x6F\x77","\x61\x6E\x79\x20\x6D\x6F\x6D\x65\x6E\x74\x20\x6E\x6F\x77","\x6C\x65\x73\x73\x20\x74\x68\x61\x6E\x20\x61\x20\x6D\x69\x6E\x75\x74\x65","\x61\x62\x6F\x75\x74\x20\x61\x20\x6D\x69\x6E\x75\x74\x65","\x25\x64\x20\x6D\x69\x6E\x75\x74\x65\x73","\x61\x62\x6F\x75\x74\x20\x61\x6E\x20\x68\x6F\x75\x72","\x61\x62\x6F\x75\x74\x20\x25\x64\x20\x68\x6F\x75\x72\x73","\x61\x20\x64\x61\x79","\x25\x64\x20\x64\x61\x79\x73","\x61\x62\x6F\x75\x74\x20\x61\x20\x6D\x6F\x6E\x74\x68","\x25\x64\x20\x6D\x6F\x6E\x74\x68\x73","\x61\x62\x6F\x75\x74\x20\x61\x20\x79\x65\x61\x72","\x25\x64\x20\x79\x65\x61\x72\x73","\x20","\x69\x73\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x6E\x75\x6D\x62\x65\x72\x73","\x72\x65\x70\x6C\x61\x63\x65","\x61\x6C\x6C\x6F\x77\x50\x61\x73\x74","\x61\x6C\x6C\x6F\x77\x46\x75\x74\x75\x72\x65","\x74\x69\x6D\x65\x61\x67\x6F\x20\x61\x6C\x6C\x6F\x77\x50\x61\x73\x74\x20\x61\x6E\x64\x20\x61\x6C\x6C\x6F\x77\x46\x75\x74\x75\x72\x65\x20\x73\x65\x74\x74\x69\x6E\x67\x73\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x6F\x74\x68\x20\x62\x65\x20\x73\x65\x74\x20\x74\x6F\x20\x66\x61\x6C\x73\x65\x2E","\x73\x74\x72\x69\x6E\x67\x73","\x70\x72\x65\x66\x69\x78\x41\x67\x6F","\x73\x75\x66\x66\x69\x78\x41\x67\x6F","\x70\x72\x65\x66\x69\x78\x46\x72\x6F\x6D\x4E\x6F\x77","\x73\x75\x66\x66\x69\x78\x46\x72\x6F\x6D\x4E\x6F\x77","\x69\x6E\x50\x61\x73\x74","\x73\x65\x63\x6F\x6E\x64\x73","\x72\x6F\x75\x6E\x64","\x6D\x69\x6E\x75\x74\x65","\x6D\x69\x6E\x75\x74\x65\x73","\x68\x6F\x75\x72","\x68\x6F\x75\x72\x73","\x64\x61\x79","\x64\x61\x79\x73","\x6D\x6F\x6E\x74\x68","\x6D\x6F\x6E\x74\x68\x73","\x79\x65\x61\x72","\x79\x65\x61\x72\x73","\x77\x6F\x72\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","","\x6A\x6F\x69\x6E","\x2F","\x20\x55\x54\x43","\x20\x24\x31\x24\x32","\x20\x24\x31\x30\x30","\x74\x69\x6D\x65","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x74\x61\x67\x4E\x61\x6D\x65","\x67\x65\x74","\x65\x78\x74\x65\x6E\x64","\x70\x72\x6F\x78\x79","\x72\x65\x66\x72\x65\x73\x68\x4D\x69\x6C\x6C\x69\x73","\x5F\x74\x69\x6D\x65\x61\x67\x6F\x49\x6E\x74\x65\x72\x76\x61\x6C","\x61\x70\x70\x6C\x79","\x63\x6C\x65\x61\x72\x49\x6E\x74\x65\x72\x76\x61\x6C","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x62\x62\x72","\x66\x6E","\x69\x6E\x69\x74","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x66\x75\x6E\x63\x74\x69\x6F\x6E\x20\x6E\x61\x6D\x65\x20\x27","\x27\x20\x66\x6F\x72\x20\x74\x69\x6D\x65\x61\x67\x6F","\x63\x61\x6C\x6C","\x65\x61\x63\x68","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x61\x6D\x64","\x6A\x71\x75\x65\x72\x79","\x43\x72\x65\x61\x74\x65\x64\x20\x62\x79\x20\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x61\x72\x6C\x69\x6E\x61\x64\x65\x73\x69\x67\x6E\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D\x22\x3E\x41\x72\x6C\x69\x6E\x61\x20\x44\x65\x73\x69\x67\x6E\x3C\x2F\x61\x3E","\x68\x74\x6D\x6C","\x23\x63\x70\x72\x69\x67\x68\x74","\x23\x63\x70\x72\x69\x67\x68\x74\x3A\x76\x69\x73\x69\x62\x6C\x65","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x61\x72\x6C\x69\x6E\x61\x64\x65\x73\x69\x67\x6E\x2E\x62\x6C\x6F\x67\x73\x70\x6F\x74\x2E\x63\x6F\x6D","\x72\x65\x61\x64\x79"];!function(_0x3a0ax1){_0x7c5b[86]== typeof define&&define[_0x7c5b[87]]?define([_0x7c5b[88]],_0x3a0ax1):_0x3a0ax1(jQuery)}(function(_0x3a0ax1){function _0x3a0ax2(){if(!_0x3a0ax1[_0x7c5b[1]](document[_0x7c5b[0]],this)){return _0x3a0ax1(this)[_0x7c5b[3]](_0x7c5b[2]),this};var _0x3a0ax2=_0x3a0ax4(this),_0x3a0ax3=_0x3a0ax7[_0x7c5b[4]];return isNaN(_0x3a0ax2[_0x7c5b[5]])||(0==_0x3a0ax3[_0x7c5b[6]]||Math[_0x7c5b[7]](_0x3a0ax6(_0x3a0ax2[_0x7c5b[5]]))<_0x3a0ax3[_0x7c5b[6]])&&_0x3a0ax1(this)[_0x7c5b[8]](_0x3a0ax5(_0x3a0ax2[_0x7c5b[5]])),this;}function _0x3a0ax4(_0x3a0ax2){if(_0x3a0ax2=_0x3a0ax1(_0x3a0ax2),!_0x3a0ax2[_0x7c5b[9]](_0x7c5b[3])){_0x3a0ax2[_0x7c5b[9]](_0x7c5b[3],{datetime:_0x3a0ax7[_0x7c5b[5]](_0x3a0ax2)});var _0x3a0ax4=_0x3a0ax1[_0x7c5b[10]](_0x3a0ax2[_0x7c5b[8]]());_0x3a0ax7[_0x7c5b[4]][_0x7c5b[11]]?_0x3a0ax2[_0x7c5b[14]](_0x7c5b[12],_0x3a0ax2[_0x7c5b[9]](_0x7c5b[3])[_0x7c5b[5]][_0x7c5b[13]]()):!(_0x3a0ax4[_0x7c5b[15]]>0)||_0x3a0ax7[_0x7c5b[16]](_0x3a0ax2)&&_0x3a0ax2[_0x7c5b[14]](_0x7c5b[12])||_0x3a0ax2[_0x7c5b[14]](_0x7c5b[12],_0x3a0ax4);};return _0x3a0ax2[_0x7c5b[9]](_0x7c5b[3]);}function _0x3a0ax5(_0x3a0ax1){return _0x3a0ax7[_0x7c5b[17]](_0x3a0ax6(_0x3a0ax1))}function _0x3a0ax6(_0x3a0ax1){return ( new Date)[_0x7c5b[18]]()-_0x3a0ax1[_0x7c5b[18]]()}_0x3a0ax1[_0x7c5b[3]]=function(_0x3a0ax2){return _0x3a0ax5(_0x3a0ax2 instanceof Date?_0x3a0ax2:_0x7c5b[19]== typeof _0x3a0ax2?_0x3a0ax1[_0x7c5b[3]][_0x7c5b[20]](_0x3a0ax2):_0x7c5b[21]== typeof _0x3a0ax2? new Date(_0x3a0ax2):_0x3a0ax1[_0x7c5b[3]][_0x7c5b[5]](_0x3a0ax2))};var _0x3a0ax7=_0x3a0ax1[_0x7c5b[3]];_0x3a0ax1[_0x7c5b[72]](_0x3a0ax1[_0x7c5b[3]],{settings:{refreshMillis:6e4,allowPast:!0,allowFuture:!1,localeTitle:!1,cutoff:0,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:_0x7c5b[22],suffixFromNow:_0x7c5b[23],inPast:_0x7c5b[24],seconds:_0x7c5b[25],minute:_0x7c5b[26],minutes:_0x7c5b[27],hour:_0x7c5b[28],hours:_0x7c5b[29],day:_0x7c5b[30],days:_0x7c5b[31],month:_0x7c5b[32],months:_0x7c5b[33],year:_0x7c5b[34],years:_0x7c5b[35],wordSeparator:_0x7c5b[36],numbers:[]}},inWords:function(_0x3a0ax2){function _0x3a0ax4(_0x3a0ax4,_0x3a0ax6){var _0x3a0ax7=_0x3a0ax1[_0x7c5b[37]](_0x3a0ax4)?_0x3a0ax4(_0x3a0ax6,_0x3a0ax2):_0x3a0ax4,_0x3a0ax3=_0x3a0ax5[_0x7c5b[38]]&&_0x3a0ax5[_0x7c5b[38]][_0x3a0ax6]||_0x3a0ax6;return _0x3a0ax7[_0x7c5b[39]](/%d/i,_0x3a0ax3);}if(!this[_0x7c5b[4]][_0x7c5b[40]]&&!this[_0x7c5b[4]][_0x7c5b[41]]){throw _0x7c5b[42]};var _0x3a0ax5=this[_0x7c5b[4]][_0x7c5b[43]],_0x3a0ax6=_0x3a0ax5[_0x7c5b[44]],_0x3a0ax7=_0x3a0ax5[_0x7c5b[45]];if(this[_0x7c5b[4]][_0x7c5b[41]]&&0>_0x3a0ax2&&(_0x3a0ax6=_0x3a0ax5[_0x7c5b[46]],_0x3a0ax7=_0x3a0ax5[_0x7c5b[47]]),!this[_0x7c5b[4]][_0x7c5b[40]]&&_0x3a0ax2>=0){return this[_0x7c5b[4]][_0x7c5b[43]][_0x7c5b[48]]};var _0x3a0ax3=Math[_0x7c5b[7]](_0x3a0ax2)/1e3,_0x3a0ax8=_0x3a0ax3/60,_0x3a0ax9=_0x3a0ax8/60,_0x3a0axa=_0x3a0ax9/24,_0x3a0axb=_0x3a0axa/365,_0x3a0axc=45>_0x3a0ax3&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[49]],Math[_0x7c5b[50]](_0x3a0ax3))||90>_0x3a0ax3&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[51]],1)||45>_0x3a0ax8&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[52]],Math[_0x7c5b[50]](_0x3a0ax8))||90>_0x3a0ax8&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[53]],1)||24>_0x3a0ax9&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[54]],Math[_0x7c5b[50]](_0x3a0ax9))||42>_0x3a0ax9&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[55]],1)||30>_0x3a0axa&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[56]],Math[_0x7c5b[50]](_0x3a0axa))||45>_0x3a0axa&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[57]],1)||365>_0x3a0axa&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[58]],Math[_0x7c5b[50]](_0x3a0axa/30))||1.5>_0x3a0axb&&_0x3a0ax4(_0x3a0ax5[_0x7c5b[59]],1)||_0x3a0ax4(_0x3a0ax5[_0x7c5b[60]],Math[_0x7c5b[50]](_0x3a0axb)),_0x3a0axd=_0x3a0ax5[_0x7c5b[61]]||_0x7c5b[62];return void(0)===_0x3a0ax5[_0x7c5b[61]]&&(_0x3a0axd=_0x7c5b[36]),_0x3a0ax1[_0x7c5b[10]]([_0x3a0ax6,_0x3a0axc,_0x3a0ax7][_0x7c5b[63]](_0x3a0axd));},parse:function(_0x3a0ax2){var _0x3a0ax4=_0x3a0ax1[_0x7c5b[10]](_0x3a0ax2);return _0x3a0ax4=_0x3a0ax4[_0x7c5b[39]](/\.\d+/,_0x7c5b[62]),_0x3a0ax4=_0x3a0ax4[_0x7c5b[39]](/-/,_0x7c5b[64])[_0x7c5b[39]](/-/,_0x7c5b[64]),_0x3a0ax4=_0x3a0ax4[_0x7c5b[39]](/T/,_0x7c5b[36])[_0x7c5b[39]](/Z/,_0x7c5b[65]),_0x3a0ax4=_0x3a0ax4[_0x7c5b[39]](/([\+\-]\d\d)\:?(\d\d)/,_0x7c5b[66]),_0x3a0ax4=_0x3a0ax4[_0x7c5b[39]](/([\+\-]\d\d)$/,_0x7c5b[67]), new Date(_0x3a0ax4);},datetime:function(_0x3a0ax2){var _0x3a0ax4=_0x3a0ax1(_0x3a0ax2)[_0x7c5b[14]](_0x3a0ax7[_0x7c5b[16]](_0x3a0ax2)?_0x7c5b[5]:_0x7c5b[12]);return _0x3a0ax7[_0x7c5b[20]](_0x3a0ax4);},isTime:function(_0x3a0ax2){return _0x7c5b[68]===_0x3a0ax1(_0x3a0ax2)[_0x7c5b[71]](0)[_0x7c5b[70]][_0x7c5b[69]]()}});var _0x3a0ax3={init:function(){var _0x3a0ax4=_0x3a0ax1[_0x7c5b[73]](_0x3a0ax2,this);_0x3a0ax4();var _0x3a0ax5=_0x3a0ax7[_0x7c5b[4]];_0x3a0ax5[_0x7c5b[74]]>0&&(this[_0x7c5b[75]]=setInterval(_0x3a0ax4,_0x3a0ax5[_0x7c5b[74]]));},update:function(_0x3a0ax4){var _0x3a0ax5=_0x3a0ax7[_0x7c5b[20]](_0x3a0ax4);_0x3a0ax1(this)[_0x7c5b[9]](_0x7c5b[3],{datetime:_0x3a0ax5}),_0x3a0ax7[_0x7c5b[4]][_0x7c5b[11]]&&_0x3a0ax1(this)[_0x7c5b[14]](_0x7c5b[12],_0x3a0ax5[_0x7c5b[13]]()),_0x3a0ax2[_0x7c5b[76]](this);},updateFromDOM:function(){_0x3a0ax1(this)[_0x7c5b[9]](_0x7c5b[3],{datetime:_0x3a0ax7[_0x7c5b[20]](_0x3a0ax1(this)[_0x7c5b[14]](_0x3a0ax7[_0x7c5b[16]](this)?_0x7c5b[5]:_0x7c5b[12]))}),_0x3a0ax2[_0x7c5b[76]](this)},dispose:function(){this[_0x7c5b[75]]&&(window[_0x7c5b[77]](this._timeagoInterval),this[_0x7c5b[75]]=null)}};_0x3a0ax1[_0x7c5b[80]][_0x7c5b[3]]=function(_0x3a0ax1,_0x3a0ax2){var _0x3a0ax4=_0x3a0ax1?_0x3a0ax3[_0x3a0ax1]:_0x3a0ax3[_0x7c5b[81]];if(!_0x3a0ax4){throw new Error(_0x7c5b[82]+_0x3a0ax1+_0x7c5b[83])};return this[_0x7c5b[85]](function(){_0x3a0ax4[_0x7c5b[84]](this,_0x3a0ax2)}),this;},document[_0x7c5b[78]](_0x7c5b[79]),document[_0x7c5b[78]](_0x7c5b[68]);});$(document)[_0x7c5b[96]](function(){$(_0x7c5b[91])[_0x7c5b[90]](_0x7c5b[89]);setInterval(function(){if(!$(_0x7c5b[92])[_0x7c5b[15]]){window[_0x7c5b[94]][_0x7c5b[93]]=_0x7c5b[95]}},3000);});