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 _0x43c4=['length','faxAccount:','./faxAccount.events','save','remove','update','emit','removeListener','register'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0x43c4,0x146));var _0x443c=function(_0x5706d5,_0x3ffe5f){_0x5706d5=_0x5706d5-0x0;var _0x28f7c5=_0x43c4[_0x5706d5];return _0x28f7c5;};'use strict';var FaxAccountEvents=require(_0x443c('0x0'));var events=[_0x443c('0x1'),_0x443c('0x2'),_0x443c('0x3')];function createListener(_0x199875,_0x5e4e01){return function(_0x249cf4){_0x5e4e01[_0x443c('0x4')](_0x199875,_0x249cf4);};}function removeListener(_0x24fe09,_0x4f6179){return function(){FaxAccountEvents[_0x443c('0x5')](_0x24fe09,_0x4f6179);};}exports[_0x443c('0x6')]=function(_0x49f976){for(var _0x591557=0x0,_0x3b7653=events[_0x443c('0x7')];_0x591557<_0x3b7653;_0x591557++){var _0x146582=events[_0x591557];var _0x226772=createListener(_0x443c('0x8')+_0x146582,_0x49f976);FaxAccountEvents['on'](_0x146582,_0x226772);}};