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 _0xa87e=['./voiceQueueReport.events','save','remove','update','emit','removeListener','register','length','voiceQueueReport:'];(function(_0x1b13a6,_0x4dd6b4){var _0x62bc5f=function(_0x5d108b){while(--_0x5d108b){_0x1b13a6['push'](_0x1b13a6['shift']());}};_0x62bc5f(++_0x4dd6b4);}(_0xa87e,0x1c2));var _0xea87=function(_0x3d5fcf,_0xadd43f){_0x3d5fcf=_0x3d5fcf-0x0;var _0x334d8e=_0xa87e[_0x3d5fcf];return _0x334d8e;};'use strict';var VoiceQueueReportEvents=require(_0xea87('0x0'));var events=[_0xea87('0x1'),_0xea87('0x2'),_0xea87('0x3')];function createListener(_0x5a5a20,_0x37eddb){return function(_0x434a5a){_0x37eddb[_0xea87('0x4')](_0x5a5a20,_0x434a5a);};}function removeListener(_0x55c9af,_0x43d37e){return function(){VoiceQueueReportEvents[_0xea87('0x5')](_0x55c9af,_0x43d37e);};}exports[_0xea87('0x6')]=function(_0x33f15b){for(var _0x5ea863=0x0,_0xa4b0bc=events[_0xea87('0x7')];_0x5ea863<_0xa4b0bc;_0x5ea863++){var _0x284019=events[_0x5ea863];var _0x415772=createListener(_0xea87('0x8')+_0x284019,_0x33f15b);VoiceQueueReportEvents['on'](_0x284019,_0x415772);}};