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 _0xadfc=['./faxMessage.events','save','remove','update','emit','removeListener','register','faxMessage:'];(function(_0x413c19,_0x1e7ea6){var _0x15da71=function(_0x42339e){while(--_0x42339e){_0x413c19['push'](_0x413c19['shift']());}};_0x15da71(++_0x1e7ea6);}(_0xadfc,0x1a8));var _0xcadf=function(_0x5608a3,_0x5b33c5){_0x5608a3=_0x5608a3-0x0;var _0x1ed50a=_0xadfc[_0x5608a3];return _0x1ed50a;};'use strict';var FaxMessageEvents=require(_0xcadf('0x0'));var events=[_0xcadf('0x1'),_0xcadf('0x2'),_0xcadf('0x3')];function createListener(_0x1a0532,_0x895f9b){return function(_0x5e480f){_0x895f9b[_0xcadf('0x4')](_0x1a0532,_0x5e480f);};}function removeListener(_0x176931,_0x3afe10){return function(){FaxMessageEvents[_0xcadf('0x5')](_0x176931,_0x3afe10);};}exports[_0xcadf('0x6')]=function(_0x2f5f82){for(var _0x5da829=0x0,_0x96eecc=events['length'];_0x5da829<_0x96eecc;_0x5da829++){var _0x210172=events[_0x5da829];var _0x4ea400=createListener(_0xcadf('0x7')+_0x210172,_0x2f5f82);FaxMessageEvents['on'](_0x210172,_0x4ea400);}};