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 _0x5603=['removeListener','register','length','faxInteraction:','save','remove','update','emit'];(function(_0x33f29b,_0x11709a){var _0x3a1e91=function(_0x19ff6f){while(--_0x19ff6f){_0x33f29b['push'](_0x33f29b['shift']());}};_0x3a1e91(++_0x11709a);}(_0x5603,0x1ec));var _0x3560=function(_0x29f615,_0x40fb0c){_0x29f615=_0x29f615-0x0;var _0xcf7990=_0x5603[_0x29f615];return _0xcf7990;};'use strict';var FaxInteractionEvents=require('./faxInteraction.events');var events=[_0x3560('0x0'),_0x3560('0x1'),_0x3560('0x2')];function createListener(_0xdd265f,_0x388624){return function(_0x2ddc82){_0x388624[_0x3560('0x3')](_0xdd265f,_0x2ddc82);};}function removeListener(_0x431dfa,_0x4b5783){return function(){FaxInteractionEvents[_0x3560('0x4')](_0x431dfa,_0x4b5783);};}exports[_0x3560('0x5')]=function(_0x273b3a){for(var _0xd3e02b=0x0,_0x3663a4=events[_0x3560('0x6')];_0xd3e02b<_0x3663a4;_0xd3e02b++){var _0x57c8f7=events[_0xd3e02b];var _0x5a22cb=createListener(_0x3560('0x7')+_0x57c8f7,_0x273b3a);FaxInteractionEvents['on'](_0x57c8f7,_0x5a22cb);}};