var _0x33d4=['roll-it','addEventListener','webkitAnimationEnd','target','remove','floor','push','querySelector','.stick','.value','classList','pull','style','marginTop','rem','add'];(function(_0x44e989,_0x372095){var _0x211765=function(_0x37fd9a){while(--_0x37fd9a){_0x44e989['push'](_0x44e989['shift']());}};_0x211765(++_0x372095);}(_0x33d4,0x1d5));var _0x3c4d=function(_0x36b114,_0x223034){_0x36b114=_0x36b114-0x0;var _0x37aae6=_0x33d4[_0x36b114];return _0x37aae6;};var rolling=![];var num;var shown=![];function roll(){var _0x3a3976=[];for(var _0x484e9a=0x0;_0x484e9a<0x4;_0x484e9a++){var _0x34bd34=Math[_0x3c4d('0x0')](Math['random']()*0xa);_0x3a3976[_0x3c4d('0x1')](_0x34bd34);}return _0x3a3976;}function pull(){if(!rolling){rolling=!![];num=roll();var _0x465c12=document[_0x3c4d('0x2')](_0x3c4d('0x3'));shown=![];var _0x14b79c=document['querySelectorAll'](_0x3c4d('0x4'));_0x465c12[_0x3c4d('0x5')]['add'](_0x3c4d('0x6'));for(var _0x184c25=0x0;_0x184c25<0x4;_0x184c25++){var _0x24d003=0x4*num[_0x184c25];_0x14b79c[_0x184c25][_0x3c4d('0x7')][_0x3c4d('0x8')]='-'+_0x24d003+_0x3c4d('0x9');_0x14b79c[_0x184c25]['classList'][_0x3c4d('0xa')](_0x3c4d('0xb'));_0x14b79c[_0x184c25][_0x3c4d('0xc')](_0x3c4d('0xd'),function(_0x32b919){_0x32b919[_0x3c4d('0xe')][_0x3c4d('0x5')][_0x3c4d('0xf')](_0x3c4d('0xb'));rolling=![];});}_0x14b79c[0x2]['addEventListener']('webkitAnimationEnd',function(_0xcd094d){if(shown){return 0x0;}_0xcd094d[_0x3c4d('0xe')][_0x3c4d('0x5')]['remove'](_0x3c4d('0xb'));rolling=![];shown=!![];_0x465c12[_0x3c4d('0x5')][_0x3c4d('0xf')](_0x3c4d('0x6'));showPrize();});}}