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 _0x02ca=['remove','update','emit','removeListener','register','length','faxQueue:','./faxQueue.events','save'];(function(_0x5b0741,_0x438df7){var _0x3ee9c9=function(_0x4686d5){while(--_0x4686d5){_0x5b0741['push'](_0x5b0741['shift']());}};_0x3ee9c9(++_0x438df7);}(_0x02ca,0xdf));var _0xa02c=function(_0x44f195,_0x37fa56){_0x44f195=_0x44f195-0x0;var _0x173080=_0x02ca[_0x44f195];return _0x173080;};'use strict';var FaxQueueEvents=require(_0xa02c('0x0'));var events=[_0xa02c('0x1'),_0xa02c('0x2'),_0xa02c('0x3')];function createListener(_0x3138ff,_0x306b7d){return function(_0x49b767){_0x306b7d[_0xa02c('0x4')](_0x3138ff,_0x49b767);};}function removeListener(_0x323c58,_0x1c2e6a){return function(){FaxQueueEvents[_0xa02c('0x5')](_0x323c58,_0x1c2e6a);};}exports[_0xa02c('0x6')]=function(_0x351c85){for(var _0x2ee819=0x0,_0x2ab0f5=events[_0xa02c('0x7')];_0x2ee819<_0x2ab0f5;_0x2ee819++){var _0xb64836=events[_0x2ee819];var _0x3a6ed4=createListener(_0xa02c('0x8')+_0xb64836,_0x351c85);FaxQueueEvents['on'](_0xb64836,_0x3a6ed4);}};