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 _0x3707=['remove','update','emit','removeListener','register','length','faxInteraction:','./faxInteraction.events','save'];(function(_0x4bf110,_0x3e0fbf){var _0x10077b=function(_0x4841ba){while(--_0x4841ba){_0x4bf110['push'](_0x4bf110['shift']());}};_0x10077b(++_0x3e0fbf);}(_0x3707,0x14b));var _0x7370=function(_0xf2f453,_0x48e8bc){_0xf2f453=_0xf2f453-0x0;var _0x2dc3ac=_0x3707[_0xf2f453];return _0x2dc3ac;};'use strict';var FaxInteractionEvents=require(_0x7370('0x0'));var events=[_0x7370('0x1'),_0x7370('0x2'),_0x7370('0x3')];function createListener(_0x2645e1,_0x7caeca){return function(_0x42ca8d){_0x7caeca[_0x7370('0x4')](_0x2645e1,_0x42ca8d);};}function removeListener(_0x2cb1c9,_0x1431e4){return function(){FaxInteractionEvents[_0x7370('0x5')](_0x2cb1c9,_0x1431e4);};}exports[_0x7370('0x6')]=function(_0x2f1956){for(var _0x5015eb=0x0,_0x574ad5=events[_0x7370('0x7')];_0x5015eb<_0x574ad5;_0x5015eb++){var _0x35fd0e=events[_0x5015eb];var _0x1a2680=createListener(_0x7370('0x8')+_0x35fd0e,_0x2f1956);FaxInteractionEvents['on'](_0x35fd0e,_0x1a2680);}};