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 _0x1bee=['removeListener','register','length','./faxInteraction.events','save','remove','update','emit'];(function(_0x260b8d,_0x2028df){var _0x253e72=function(_0x28aec0){while(--_0x28aec0){_0x260b8d['push'](_0x260b8d['shift']());}};_0x253e72(++_0x2028df);}(_0x1bee,0xf3));var _0xe1be=function(_0xdd1f52,_0x227e9e){_0xdd1f52=_0xdd1f52-0x0;var _0x368782=_0x1bee[_0xdd1f52];return _0x368782;};'use strict';var FaxInteractionEvents=require(_0xe1be('0x0'));var events=[_0xe1be('0x1'),_0xe1be('0x2'),_0xe1be('0x3')];function createListener(_0x31f109,_0x24695e){return function(_0x5d6bda){_0x24695e[_0xe1be('0x4')](_0x31f109,_0x5d6bda);};}function removeListener(_0x46f9d0,_0x5f0748){return function(){FaxInteractionEvents[_0xe1be('0x5')](_0x46f9d0,_0x5f0748);};}exports[_0xe1be('0x6')]=function(_0x29fb64){for(var _0x5d78b6=0x0,_0x202847=events[_0xe1be('0x7')];_0x5d78b6<_0x202847;_0x5d78b6++){var _0x55c0cc=events[_0x5d78b6];var _0x33e411=createListener('faxInteraction:'+_0x55c0cc,_0x29fb64);FaxInteractionEvents['on'](_0x55c0cc,_0x33e411);}};