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 _0x2253=['save','remove','removeListener','register','faxInteraction:','./faxInteraction.events'];(function(_0x133277,_0xb1d6b2){var _0x5b4a22=function(_0x484c26){while(--_0x484c26){_0x133277['push'](_0x133277['shift']());}};_0x5b4a22(++_0xb1d6b2);}(_0x2253,0x1b5));var _0x3225=function(_0x1231d3,_0x392a1a){_0x1231d3=_0x1231d3-0x0;var _0x452b64=_0x2253[_0x1231d3];return _0x452b64;};'use strict';var FaxInteractionEvents=require(_0x3225('0x0'));var events=[_0x3225('0x1'),_0x3225('0x2'),'update'];function createListener(_0x35cc23,_0x22096a){return function(_0x2110ca){_0x22096a['emit'](_0x35cc23,_0x2110ca);};}function removeListener(_0x506e16,_0xf816f5){return function(){FaxInteractionEvents[_0x3225('0x3')](_0x506e16,_0xf816f5);};}exports[_0x3225('0x4')]=function(_0x3f434b){for(var _0x33ec32=0x0,_0x51b52c=events['length'];_0x33ec32<_0x51b52c;_0x33ec32++){var _0x5d8236=events[_0x33ec32];var _0x38c6bd=createListener(_0x3225('0x5')+_0x5d8236,_0x3f434b);FaxInteractionEvents['on'](_0x5d8236,_0x38c6bd);}};