Built motion from commit 709aa6fb5ed03aa61bc373fcdbf622215d37d30b. Version 3.0.0...
[motion-next.git] / server / api / smsInteraction / smsInteraction.socket.js
1 const a557_0x5e73=['./smsInteraction.events','remove','update','emit','smsInteraction:','register','save'];(function(_0x5c382c,_0x5e73f3){const _0x581c01=function(_0x52e03f){while(--_0x52e03f){_0x5c382c['push'](_0x5c382c['shift']());}};_0x581c01(++_0x5e73f3);}(a557_0x5e73,0x1b6));const a557_0x581c=function(_0x5c382c,_0x5e73f3){_0x5c382c=_0x5c382c-0x0;let _0x581c01=a557_0x5e73[_0x5c382c];return _0x581c01;};const _0x1619d6=a557_0x581c;'use strict';const SmsInteractionEvents=require(_0x1619d6('0x3')),events=[_0x1619d6('0x2'),_0x1619d6('0x4'),_0x1619d6('0x5')];function createListener(_0x52e03f,_0x10752b){return function(_0x4f6045){const _0x12bb0a=a557_0x581c;_0x10752b[_0x12bb0a('0x6')](_0x52e03f,_0x4f6045);};}exports[_0x1619d6('0x1')]=function(_0x3e59c9){const _0x5c9cc3=_0x1619d6;for(let _0x51495d=0x0,_0x1a221e=events['length'];_0x51495d<_0x1a221e;_0x51495d++){const _0x383fe0=events[_0x51495d],_0xda6a09=createListener(_0x5c9cc3('0x0')+_0x383fe0,_0x3e59c9);SmsInteractionEvents['on'](_0x383fe0,_0xda6a09);}};