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 _0x7374=['save','remove','update','emit','register','length','./faxInteraction.events'];(function(_0x105e24,_0x55857a){var _0x4c7608=function(_0x3e2e0a){while(--_0x3e2e0a){_0x105e24['push'](_0x105e24['shift']());}};_0x4c7608(++_0x55857a);}(_0x7374,0x15d));var _0x4737=function(_0x403beb,_0x10a634){_0x403beb=_0x403beb-0x0;var _0x2c3bcc=_0x7374[_0x403beb];return _0x2c3bcc;};'use strict';var FaxInteractionEvents=require(_0x4737('0x0'));var events=[_0x4737('0x1'),_0x4737('0x2'),_0x4737('0x3')];function createListener(_0xbdc654,_0x20af2c){return function(_0x2d11ad){_0x20af2c[_0x4737('0x4')](_0xbdc654,_0x2d11ad);};}function removeListener(_0x43e654,_0x1596de){return function(){FaxInteractionEvents['removeListener'](_0x43e654,_0x1596de);};}exports[_0x4737('0x5')]=function(_0x58f621){for(var _0x250a20=0x0,_0x5d1907=events[_0x4737('0x6')];_0x250a20<_0x5d1907;_0x250a20++){var _0x1b576f=events[_0x250a20];var _0x5385ff=createListener('faxInteraction:'+_0x1b576f,_0x58f621);FaxInteractionEvents['on'](_0x1b576f,_0x5385ff);}};