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 _0x6c09=['save','remove','update','removeListener','register','length','./faxQueue.events'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x6c09,0x110));var _0x96c0=function(_0x1d2a3f,_0x231d01){_0x1d2a3f=_0x1d2a3f-0x0;var _0x17c289=_0x6c09[_0x1d2a3f];return _0x17c289;};'use strict';var FaxQueueEvents=require(_0x96c0('0x0'));var events=[_0x96c0('0x1'),_0x96c0('0x2'),_0x96c0('0x3')];function createListener(_0x5c2456,_0x144f64){return function(_0x5577eb){_0x144f64['emit'](_0x5c2456,_0x5577eb);};}function removeListener(_0x5eedfa,_0x3c3e3f){return function(){FaxQueueEvents[_0x96c0('0x4')](_0x5eedfa,_0x3c3e3f);};}exports[_0x96c0('0x5')]=function(_0x31afb3){for(var _0x1d1d2b=0x0,_0x1c2456=events[_0x96c0('0x6')];_0x1d1d2b<_0x1c2456;_0x1d1d2b++){var _0xab3b0a=events[_0x1d1d2b];var _0x1d5105=createListener('faxQueue:'+_0xab3b0a,_0x31afb3);FaxQueueEvents['on'](_0xab3b0a,_0x1d5105);}};