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 _0xb37c=['save','update','removeListener','register','length','faxAccount:','./faxAccount.events'];(function(_0x138293,_0x197e7f){var _0x34c4a2=function(_0x20192b){while(--_0x20192b){_0x138293['push'](_0x138293['shift']());}};_0x34c4a2(++_0x197e7f);}(_0xb37c,0x13a));var _0xcb37=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xb37c[_0x5ddb1c];return _0x354adc;};'use strict';var FaxAccountEvents=require(_0xcb37('0x0'));var events=[_0xcb37('0x1'),'remove',_0xcb37('0x2')];function createListener(_0xe96eb7,_0x3ef440){return function(_0x4d802c){_0x3ef440['emit'](_0xe96eb7,_0x4d802c);};}function removeListener(_0x45c5ac,_0x4d6553){return function(){FaxAccountEvents[_0xcb37('0x3')](_0x45c5ac,_0x4d6553);};}exports[_0xcb37('0x4')]=function(_0x3fbe54){for(var _0x158e44=0x0,_0x40e131=events[_0xcb37('0x5')];_0x158e44<_0x40e131;_0x158e44++){var _0x170281=events[_0x158e44];var _0xd04036=createListener(_0xcb37('0x6')+_0x170281,_0x3fbe54);FaxAccountEvents['on'](_0x170281,_0xd04036);}};