Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / api / dashboard / dashboard.socket.js
1 const a172_0xfa6e=['./dashboard.events','remove','length','dashboard:','update','emit'];(function(_0x22c015,_0xfa6e37){const _0x946f18=function(_0x2c972a){while(--_0x2c972a){_0x22c015['push'](_0x22c015['shift']());}};_0x946f18(++_0xfa6e37);}(a172_0xfa6e,0x7c));const a172_0x946f=function(_0x22c015,_0xfa6e37){_0x22c015=_0x22c015-0x0;let _0x946f18=a172_0xfa6e[_0x22c015];return _0x946f18;};const _0x2f4676=a172_0x946f;'use strict';const DashboardEvents=require(_0x2f4676('0x2')),events=['save',_0x2f4676('0x3'),_0x2f4676('0x0')];function createListener(_0x2c972a,_0x29aadd){return function(_0x3cac85){const _0xfa5466=a172_0x946f;_0x29aadd[_0xfa5466('0x1')](_0x2c972a,_0x3cac85);};}exports['register']=function(_0x196d45){const _0x1d0769=_0x2f4676;for(let _0x5bc365=0x0,_0x545658=events[_0x1d0769('0x4')];_0x5bc365<_0x545658;_0x5bc365++){const _0x160e12=events[_0x5bc365],_0x3c7f27=createListener(_0x1d0769('0x5')+_0x160e12,_0x196d45);DashboardEvents['on'](_0x160e12,_0x3c7f27);}};