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 _0x98e9=['update','emit','removeListener','register','./faxInteraction.events','save','remove'];(function(_0x3b150c,_0x2f93f8){var _0x5cd414=function(_0x26305e){while(--_0x26305e){_0x3b150c['push'](_0x3b150c['shift']());}};_0x5cd414(++_0x2f93f8);}(_0x98e9,0x19a));var _0x998e=function(_0x26fadc,_0xf81575){_0x26fadc=_0x26fadc-0x0;var _0x49921a=_0x98e9[_0x26fadc];return _0x49921a;};'use strict';var FaxInteractionEvents=require(_0x998e('0x0'));var events=[_0x998e('0x1'),_0x998e('0x2'),_0x998e('0x3')];function createListener(_0x61d244,_0x23e29e){return function(_0x48bfdc){_0x23e29e[_0x998e('0x4')](_0x61d244,_0x48bfdc);};}function removeListener(_0x397859,_0x2a422e){return function(){FaxInteractionEvents[_0x998e('0x5')](_0x397859,_0x2a422e);};}exports[_0x998e('0x6')]=function(_0x8a2f8d){for(var _0x22c748=0x0,_0x45f0c6=events['length'];_0x22c748<_0x45f0c6;_0x22c748++){var _0x51da67=events[_0x22c748];var _0x2841b6=createListener('faxInteraction:'+_0x51da67,_0x8a2f8d);FaxInteractionEvents['on'](_0x51da67,_0x2841b6);}};