Skip to content

Instantly share code, notes, and snippets.

@avatsaev
Created May 23, 2017 22:38
Show Gist options
  • Save avatsaev/c41529ad01e608de9856b0ea25137f73 to your computer and use it in GitHub Desktop.
Save avatsaev/c41529ad01e608de9856b0ea25137f73 to your computer and use it in GitHub Desktop.
var _0x4302=["\x4B\x43","\x75\x69\x2E\x72\x6F\x75\x74\x65\x72","\x75\x69\x2E\x62\x6F\x6F\x74\x73\x74\x72\x61\x70","\x6E\x67\x54\x6F\x75\x63\x68","\x6E\x67\x44\x69\x61\x6C\x6F\x67","\x6E\x67\x41\x6E\x69\x6D\x61\x74\x65","\x75\x69\x2E\x65\x76\x65\x6E\x74","\x75\x69\x2E\x6B\x65\x79\x70\x72\x65\x73\x73","\x6D\x6F\x64\x75\x6C\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x73\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x24\x73\x63\x6F\x70\x65","\x24\x72\x6F\x6F\x74\x53\x63\x6F\x70\x65","\x24\x73\x74\x61\x74\x65\x50\x61\x72\x61\x6D\x73","\x24\x73\x74\x61\x74\x65","\x55\x73\x65\x72","\x53\x6F\x63\x6B\x65\x74","\x69\x73\x5F\x65\x6D\x70\x74\x79","\x67\x65\x6E\x65\x72\x61\x74\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x69\x64","\x68\x6F\x73\x74\x6E\x61\x6D\x65","\x2D","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x65\x6D\x69\x74","\x24\x64\x65\x73\x74\x72\x6F\x79","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x5F\x6C\x69\x73\x74\x65\x6E\x65\x72","\x65\x72\x72","\x63\x68\x61\x74","\x61\x70\x70\x65\x6E\x64\x5F\x6D\x73\x67","","\x6D\x65\x2D\x6D\x73\x67","\x61\x64\x64\x43\x6C\x61\x73\x73","\x23\x6D\x73\x67\x73","\x61\x70\x70\x65\x6E\x64\x54\x6F","\x3C\x6C\x69\x20\x63\x6C\x61\x73\x73\x3D\x27\x6D\x73\x67\x2D\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72\x27\x3E\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x27\x75\x73\x65\x72\x6E\x61\x6D\x65\x2D\x6C\x61\x62\x65\x6C\x27\x3E\x20","\x20\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3A\x20\x20","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x65\x73\x63\x61\x70\x65\x48\x74\x6D\x6C","\x20\x3C\x2F\x6C\x69\x3E","\x76\x61\x6C","\x23\x6D\x73\x67","\x68\x65\x69\x67\x68\x74","\x61\x6E\x69\x6D\x61\x74\x65","\x68\x74\x6D\x6C\x2C\x20\x62\x6F\x64\x79","\x73\x65\x6E\x64\x5F\x6D\x73\x67","\x73\x65\x6E\x64","\x26\x71\x75\x6F\x74\x3B","\x72\x65\x70\x6C\x61\x63\x65","\x26\x6C\x74\x3B","\x26\x67\x74\x3B","\x26\x61\x6D\x70\x3B","\x3C\x6C\x69\x20\x63\x6C\x61\x73\x73\x3D\x22\x73\x79\x73\x74\x65\x6D\x2D\x6D\x73\x67\x22\x3E","\x3C\x2F\x6C\x69\x3E","\x61\x70\x70\x65\x6E\x64","\x6F\x6E","\x73\x65\x6E\x64\x65\x72","\x6D\x73\x67","\x68\x6F\x73\x74","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x64\x69\x61\x6C\x6F\x67\x2D\x63\x6F\x6E\x74\x65\x6E\x74\x73\x27\x3E\x20\x3C\x68\x32\x3E\x45\x72\x72\x6F\x72\x3C\x2F\x68\x32\x3E\x20\x3C\x70\x3E","\x3C\x2F\x70\x3E\x20\x3C\x2F\x64\x69\x76\x3E","\x6F\x70\x65\x6E","\x68\x6F\x6D\x65","\x67\x6F","\x74\x68\x65\x6E","\x63\x6C\x6F\x73\x65\x50\x72\x6F\x6D\x69\x73\x65","\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x48\x6F\x6D\x65\x43\x74\x72\x6C","\x6F\x6E\x5F\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x69\x6E","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x4D\x61\x69\x6E\x43\x74\x72\x6C","\x24\x73\x74\x61\x74\x65\x50\x72\x6F\x76\x69\x64\x65\x72","\x24\x75\x72\x6C\x52\x6F\x75\x74\x65\x72\x50\x72\x6F\x76\x69\x64\x65\x72","\x24\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x50\x72\x6F\x76\x69\x64\x65\x72","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x3A\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x69\x64","\x2F\x76\x69\x65\x77\x73\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x73\x68\x6F\x77\x2E\x68\x74\x6D\x6C","\x73\x74\x61\x74\x65","\x2F\x68\x6F\x6D\x65","\x2F\x76\x69\x65\x77\x73\x2F\x68\x6F\x6D\x65\x2F\x69\x6E\x64\x65\x78\x2E\x68\x74\x6D\x6C","\x6F\x74\x68\x65\x72\x77\x69\x73\x65","\x63\x6F\x6E\x66\x69\x67","\x6F\x72\x69\x67\x69\x6E","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x2F\x6B\x61\x77\x61\x63\x68\x61\x74","\x61\x70\x70\x6C\x79","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x66\x61\x63\x74\x6F\x72\x79","\x55\x73\x65\x72\x5F","\x72\x61\x6E\x64\x6F\x6D","\x66\x6C\x6F\x6F\x72","\x31"];var app;app= angular[_0x4302[8]](_0x4302[0],[_0x4302[1],_0x4302[2],_0x4302[3],_0x4302[4],_0x4302[5],_0x4302[6],_0x4302[7]]),app[_0x4302[67]](_0x4302[9],[_0x4302[10],_0x4302[11],_0x4302[12],_0x4302[13],_0x4302[14],_0x4302[15],_0x4302[4],function(_0xb82cx2,_0xb82cx3,_0xb82cx4,_0xb82cx5,_0xb82cx6,_0xb82cx7,_0xb82cx8){return _0xb82cx6[_0x4302[16]]()&& (_0xb82cx6[_0x4302[17]](),_0xb82cx6[_0x4302[18]]= _0xb82cx4[_0x4302[19]]),_0xb82cx2[_0x4302[20]]= _0x4302[21],_0xb82cx7[_0x4302[24]](_0x4302[22],{username:_0xb82cx6[_0x4302[23]],frq:_0xb82cx6[_0x4302[18]]}),_0xb82cx2.$on(_0x4302[25],function(){return _0xb82cx7[_0x4302[27]](_0x4302[26]),_0xb82cx7[_0x4302[27]](_0x4302[28]),_0xb82cx7[_0x4302[27]](_0x4302[29])}),_0xb82cx2[_0x4302[30]]= function(_0xb82cx3,_0xb82cx4,_0xb82cx5){var _0xb82cx6,_0xb82cx7;return _0xb82cx6= _0x4302[31],_0xb82cx5&& (_0xb82cx6= _0x4302[32]),$(_0x4302[36]+ _0xb82cx4+ _0x4302[37]+ _0xb82cx2[_0x4302[39]](_0xb82cx3)[_0x4302[38]](0,512)+ _0x4302[40])[_0x4302[35]](_0x4302[34])[_0x4302[33]](_0xb82cx6),$(_0x4302[42])[_0x4302[41]](_0x4302[31]),_0xb82cx7= $(document)[_0x4302[43]](),$(_0x4302[45])[_0x4302[44]]({scrollTop:_0xb82cx7},50)},_0xb82cx2[_0x4302[46]]= function(){var _0xb82cx3,_0xb82cx4;if(_0xb82cx3= $(_0x4302[42])[_0x4302[41]](),_0x4302[31]!== _0xb82cx3){return _0xb82cx2[_0x4302[30]](_0xb82cx3,_0xb82cx6[_0x4302[23]],!0),_0xb82cx4= {msg:_0xb82cx3,frq:_0xb82cx6[_0x4302[18]],usr:_0xb82cx6[_0x4302[23]]},_0xb82cx7[_0x4302[24]](_0x4302[47],_0xb82cx4)}},_0xb82cx2[_0x4302[39]]= function(_0xb82cx2){return _0xb82cx2[_0x4302[49]](/&/g,_0x4302[52])[_0x4302[49]](/>/g,_0x4302[51])[_0x4302[49]](/</g,_0x4302[50])[_0x4302[49]](/"/g,_0x4302[48])},_0xb82cx7[_0x4302[56]](_0x4302[26],function(_0xb82cx2){return $(_0x4302[34])[_0x4302[55]](_0x4302[53]+ _0xb82cx2+ _0x4302[54])}),_0xb82cx7[_0x4302[56]](_0x4302[29],function(_0xb82cx3){if(_0xb82cx3[_0x4302[57]]!== _0xb82cx6[_0x4302[23]]){return _0xb82cx2[_0x4302[30]](_0xb82cx3[_0x4302[58]],_0xb82cx3[_0x4302[57]])}}),_0xb82cx7[_0x4302[56]](_0x4302[59],function(_0xb82cx3){return _0xb82cx2[_0x4302[20]]= _0xb82cx3}),_0xb82cx7[_0x4302[56]](_0x4302[28],function(_0xb82cx2){var _0xb82cx3;return _0xb82cx3= _0xb82cx8[_0x4302[62]]({template:_0x4302[60]+ _0xb82cx2[_0x4302[58]]+ _0x4302[61],plain:!0}),_0xb82cx3[_0x4302[66]][_0x4302[65]](function(_0xb82cx2){return _0xb82cx7[_0x4302[27]](_0x4302[26]),_0xb82cx7[_0x4302[27]](_0x4302[28]),_0xb82cx7[_0x4302[27]](_0x4302[29]),_0xb82cx5[_0x4302[64]](_0x4302[63])})})}]),app[_0x4302[67]](_0x4302[68],[_0x4302[10],_0x4302[11],_0x4302[12],_0x4302[13],_0x4302[14],function(_0xb82cx2,_0xb82cx3,_0xb82cx4,_0xb82cx5,_0xb82cx6){return _0xb82cx2[_0x4302[69]]= function(){return _0xb82cx2[_0x4302[70]]&& _0xb82cx2[_0x4302[70]][_0x4302[71]]&& _0xb82cx2[_0x4302[70]][_0x4302[18]]?(_0xb82cx6[_0x4302[23]]= _0xb82cx2[_0x4302[70]][_0x4302[71]],_0xb82cx6[_0x4302[18]]= _0xb82cx2[_0x4302[70]][_0x4302[18]]):_0xb82cx6[_0x4302[17]](_0xb82cx2[_0x4302[70]]),_0xb82cx5[_0x4302[64]](_0x4302[18],{channel_id:_0xb82cx6[_0x4302[18]]})}}]),app[_0x4302[67]](_0x4302[72],[function(){}]),app[_0x4302[82]]([_0x4302[73],_0x4302[74],_0x4302[75],function(_0xb82cx2,_0xb82cx3){return _0xb82cx2[_0x4302[78]](_0x4302[63],{url:_0x4302[79],controller:_0x4302[68],templateUrl:_0x4302[80]})[_0x4302[78]](_0x4302[18],{url:_0x4302[76],controller:_0x4302[9],templateUrl:_0x4302[77]}),_0xb82cx3[_0x4302[81]](_0x4302[63])}]),app[_0x4302[89]](_0x4302[15],[_0x4302[11],function(_0xb82cx2){var _0xb82cx3;return _0xb82cx3= io(document[_0x4302[84]][_0x4302[83]]+ _0x4302[85]),{on:function(_0xb82cx4,_0xb82cx5){return _0xb82cx3[_0x4302[56]](_0xb82cx4,function(){var _0xb82cx4;return _0xb82cx4= arguments,_0xb82cx2.$apply(function(){return _0xb82cx5[_0x4302[86]](_0xb82cx3,_0xb82cx4)})})},emit:function(_0xb82cx4,_0xb82cx5,_0xb82cx6){return _0xb82cx3[_0x4302[24]](_0xb82cx4,_0xb82cx5,function(){var _0xb82cx4;return _0xb82cx4= arguments,_0xb82cx2.$apply(function(){if(_0xb82cx6){return _0xb82cx6[_0x4302[86]](_0xb82cx3,_0xb82cx4)}})})},disconnect:function(){return _0xb82cx3[_0x4302[87]]()},remove_listener:function(_0xb82cx2){return _0xb82cx3[_0x4302[88]](_0xb82cx2)}}}]),app[_0x4302[89]](_0x4302[14],[function(){var _0xb82cx2;return _0xb82cx2= {name:_0x4302[31],channel:_0x4302[31]},_0xb82cx2[_0x4302[17]]= function(_0xb82cx3){null== _0xb82cx3&& (_0xb82cx3= {}),_0xb82cx3[_0x4302[71]]?_0xb82cx2[_0x4302[23]]= _0xb82cx3[_0x4302[71]]:_0xb82cx2[_0x4302[23]]= _0x4302[90]+ Math[_0x4302[92]](11e4* Math[_0x4302[91]]()),_0xb82cx3[_0x4302[18]]?_0xb82cx2[_0x4302[18]]= _0xb82cx3[_0x4302[18]]:_0xb82cx2[_0x4302[18]]= _0x4302[93]},_0xb82cx2[_0x4302[16]]= function(){return _0x4302[31]=== _0xb82cx2[_0x4302[23]]|| _0x4302[31]=== _0xb82cx2[_0x4302[18]]},_0xb82cx2}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment