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 _0x8aa7=['update','emit','removeListener','register','length','voicePrefix:','save','remove'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8aa7,0xb6));var _0x78aa=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x8aa7[_0x55f8b4];return _0x2475f9;};'use strict';var VoicePrefixEvents=require('./voicePrefix.events');var events=[_0x78aa('0x0'),_0x78aa('0x1'),_0x78aa('0x2')];function createListener(_0xa5cd25,_0x3d727e){return function(_0x137fc0){_0x3d727e[_0x78aa('0x3')](_0xa5cd25,_0x137fc0);};}function removeListener(_0x5b46d1,_0x2b9bfa){return function(){VoicePrefixEvents[_0x78aa('0x4')](_0x5b46d1,_0x2b9bfa);};}exports[_0x78aa('0x5')]=function(_0x229075){for(var _0x2d17c2=0x0,_0x369ee7=events[_0x78aa('0x6')];_0x2d17c2<_0x369ee7;_0x2d17c2++){var _0xa79008=events[_0x2d17c2];var _0x2368ac=createListener(_0x78aa('0x7')+_0xa79008,_0x229075);VoicePrefixEvents['on'](_0xa79008,_0x2368ac);}};