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 _0x670c=['remove','update','emit','removeListener','length','faxAccount:','./faxAccount.events','save'];(function(_0x23aeaf,_0x241fa7){var _0x118109=function(_0x3971ca){while(--_0x3971ca){_0x23aeaf['push'](_0x23aeaf['shift']());}};_0x118109(++_0x241fa7);}(_0x670c,0x12e));var _0xc670=function(_0x2ce437,_0x4426f1){_0x2ce437=_0x2ce437-0x0;var _0x30e478=_0x670c[_0x2ce437];return _0x30e478;};'use strict';var FaxAccountEvents=require(_0xc670('0x0'));var events=[_0xc670('0x1'),_0xc670('0x2'),_0xc670('0x3')];function createListener(_0x4b0d26,_0x471f41){return function(_0xf31022){_0x471f41[_0xc670('0x4')](_0x4b0d26,_0xf31022);};}function removeListener(_0x4773cd,_0x14ec79){return function(){FaxAccountEvents[_0xc670('0x5')](_0x4773cd,_0x14ec79);};}exports['register']=function(_0x38780f){for(var _0x3b3765=0x0,_0x4575e5=events[_0xc670('0x6')];_0x3b3765<_0x4575e5;_0x3b3765++){var _0x277c3a=events[_0x3b3765];var _0x9f7e53=createListener(_0xc670('0x7')+_0x277c3a,_0x38780f);FaxAccountEvents['on'](_0x277c3a,_0x9f7e53);}};