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 _0x1a37=['remove','update','emit','removeListener','register','length','faxAccount:','./faxAccount.events','save'];(function(_0x4cbf20,_0x1bfa66){var _0x582ae4=function(_0x5eca38){while(--_0x5eca38){_0x4cbf20['push'](_0x4cbf20['shift']());}};_0x582ae4(++_0x1bfa66);}(_0x1a37,0x127));var _0x71a3=function(_0x1f36bb,_0x8af718){_0x1f36bb=_0x1f36bb-0x0;var _0xaf97fa=_0x1a37[_0x1f36bb];return _0xaf97fa;};'use strict';var FaxAccountEvents=require(_0x71a3('0x0'));var events=[_0x71a3('0x1'),_0x71a3('0x2'),_0x71a3('0x3')];function createListener(_0x8f792,_0x20ec9){return function(_0x2c5d83){_0x20ec9[_0x71a3('0x4')](_0x8f792,_0x2c5d83);};}function removeListener(_0x43317b,_0x441e1){return function(){FaxAccountEvents[_0x71a3('0x5')](_0x43317b,_0x441e1);};}exports[_0x71a3('0x6')]=function(_0x333414){for(var _0x2fd7e0=0x0,_0x287e01=events[_0x71a3('0x7')];_0x2fd7e0<_0x287e01;_0x2fd7e0++){var _0x2e46bd=events[_0x2fd7e0];var _0x3fcfa7=createListener(_0x71a3('0x8')+_0x2e46bd,_0x333414);FaxAccountEvents['on'](_0x2e46bd,_0x3fcfa7);}};