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 _0x032a=['save','update','emit','removeListener','register'];(function(_0x5294f8,_0xee9e80){var _0x1aeff1=function(_0x3f5f4f){while(--_0x3f5f4f){_0x5294f8['push'](_0x5294f8['shift']());}};_0x1aeff1(++_0xee9e80);}(_0x032a,0xf0));var _0xa032=function(_0x56d1b5,_0x289333){_0x56d1b5=_0x56d1b5-0x0;var _0x4ad91e=_0x032a[_0x56d1b5];return _0x4ad91e;};'use strict';var FaxMessageEvents=require('./faxMessage.events');var events=[_0xa032('0x0'),'remove',_0xa032('0x1')];function createListener(_0x39053e,_0x40e5b5){return function(_0x2ee4ef){_0x40e5b5[_0xa032('0x2')](_0x39053e,_0x2ee4ef);};}function removeListener(_0x23ad84,_0x24612f){return function(){FaxMessageEvents[_0xa032('0x3')](_0x23ad84,_0x24612f);};}exports[_0xa032('0x4')]=function(_0x2b1445){for(var _0x43d0f5=0x0,_0x40128a=events['length'];_0x43d0f5<_0x40128a;_0x43d0f5++){var _0x616437=events[_0x43d0f5];var _0x4a5d8e=createListener('faxMessage:'+_0x616437,_0x2b1445);FaxMessageEvents['on'](_0x616437,_0x4a5d8e);}};