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 _0x4745=['save','remove','update','emit','removeListener','register','faxAccount:','./faxAccount.events'];(function(_0x227cfb,_0x4f42cf){var _0x131407=function(_0x37ddbb){while(--_0x37ddbb){_0x227cfb['push'](_0x227cfb['shift']());}};_0x131407(++_0x4f42cf);}(_0x4745,0x1e7));var _0x5474=function(_0x102e37,_0x14a181){_0x102e37=_0x102e37-0x0;var _0x35a07c=_0x4745[_0x102e37];return _0x35a07c;};'use strict';var FaxAccountEvents=require(_0x5474('0x0'));var events=[_0x5474('0x1'),_0x5474('0x2'),_0x5474('0x3')];function createListener(_0x9ba40a,_0xa40879){return function(_0x4bd69d){_0xa40879[_0x5474('0x4')](_0x9ba40a,_0x4bd69d);};}function removeListener(_0x28d8aa,_0x39fb9b){return function(){FaxAccountEvents[_0x5474('0x5')](_0x28d8aa,_0x39fb9b);};}exports[_0x5474('0x6')]=function(_0x4e7ce7){for(var _0x3d1e1=0x0,_0x431f81=events['length'];_0x3d1e1<_0x431f81;_0x3d1e1++){var _0x13929f=events[_0x3d1e1];var _0x5d778b=createListener(_0x5474('0x7')+_0x13929f,_0x4e7ce7);FaxAccountEvents['on'](_0x13929f,_0x5d778b);}};