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 _0x98f4=['save','remove','update','emit','removeListener','length','faxInteraction:','./faxInteraction.events'];(function(_0xbbe8da,_0x49a528){var _0x4780ec=function(_0x3a29c6){while(--_0x3a29c6){_0xbbe8da['push'](_0xbbe8da['shift']());}};_0x4780ec(++_0x49a528);}(_0x98f4,0xe7));var _0x498f=function(_0x3537e1,_0xbc7714){_0x3537e1=_0x3537e1-0x0;var _0x164a50=_0x98f4[_0x3537e1];return _0x164a50;};'use strict';var FaxInteractionEvents=require(_0x498f('0x0'));var events=[_0x498f('0x1'),_0x498f('0x2'),_0x498f('0x3')];function createListener(_0x4d78ec,_0x4dd488){return function(_0x545d0c){_0x4dd488[_0x498f('0x4')](_0x4d78ec,_0x545d0c);};}function removeListener(_0x4c5313,_0x33943b){return function(){FaxInteractionEvents[_0x498f('0x5')](_0x4c5313,_0x33943b);};}exports['register']=function(_0x4e00f2){for(var _0x577611=0x0,_0x30c105=events[_0x498f('0x6')];_0x577611<_0x30c105;_0x577611++){var _0x47ae67=events[_0x577611];var _0x3c158f=createListener(_0x498f('0x7')+_0x47ae67,_0x4e00f2);FaxInteractionEvents['on'](_0x47ae67,_0x3c158f);}};