Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / api / voiceExtension / voiceExtension.socket.js
1 const a731_0x3ef2=['register','save','length','./voiceExtension.events','voiceExtension:','emit'];(function(_0x22670a,_0x3ef247){const _0x3858b8=function(_0xfd2574){while(--_0xfd2574){_0x22670a['push'](_0x22670a['shift']());}};_0x3858b8(++_0x3ef247);}(a731_0x3ef2,0xb4));const a731_0x3858=function(_0x22670a,_0x3ef247){_0x22670a=_0x22670a-0x0;let _0x3858b8=a731_0x3ef2[_0x22670a];return _0x3858b8;};const _0x93c9c6=a731_0x3858;'use strict';const VoiceExtensionEvents=require(_0x93c9c6('0x3')),events=[_0x93c9c6('0x1'),'remove','update'];function createListener(_0xfd2574,_0xf90db7){return function(_0x44e70b){const _0x364a9a=a731_0x3858;_0xf90db7[_0x364a9a('0x5')](_0xfd2574,_0x44e70b);};}exports[_0x93c9c6('0x0')]=function(_0x375bc0){const _0x4606ca=_0x93c9c6;for(let _0x331431=0x0,_0x2193e0=events[_0x4606ca('0x2')];_0x331431<_0x2193e0;_0x331431++){const _0x22f7e1=events[_0x331431],_0x468b3a=createListener(_0x4606ca('0x4')+_0x22f7e1,_0x375bc0);VoiceExtensionEvents['on'](_0x22f7e1,_0x468b3a);}};