1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x3f49=['./voicePrefix.events','save','update','emit','register','length','voicePrefix:'];(function(_0x48a08b,_0x1efede){var _0x3f097e=function(_0x116906){while(--_0x116906){_0x48a08b['push'](_0x48a08b['shift']());}};_0x3f097e(++_0x1efede);}(_0x3f49,0x11f));var _0x93f4=function(_0x871334,_0x3a0da2){_0x871334=_0x871334-0x0;var _0x5df06a=_0x3f49[_0x871334];return _0x5df06a;};'use strict';var VoicePrefixEvents=require(_0x93f4('0x0'));var events=[_0x93f4('0x1'),'remove',_0x93f4('0x2')];function createListener(_0x265b8d,_0xe3894b){return function(_0x5a1210){_0xe3894b[_0x93f4('0x3')](_0x265b8d,_0x5a1210);};}function removeListener(_0x4232db,_0x58a15b){return function(){VoicePrefixEvents['removeListener'](_0x4232db,_0x58a15b);};}exports[_0x93f4('0x4')]=function(_0x38eb6c){for(var _0x2dfdf7=0x0,_0x5a86ad=events[_0x93f4('0x5')];_0x2dfdf7<_0x5a86ad;_0x2dfdf7++){var _0x5d22d9=events[_0x2dfdf7];var _0x144f31=createListener(_0x93f4('0x6')+_0x5d22d9,_0x38eb6c);VoicePrefixEvents['on'](_0x5d22d9,_0x144f31);}};