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 _0x27d5=['emit','removeListener','length','faxAccount:','./faxAccount.events','save'];(function(_0x26462c,_0xd20a35){var _0x509a42=function(_0x1b22c9){while(--_0x1b22c9){_0x26462c['push'](_0x26462c['shift']());}};_0x509a42(++_0xd20a35);}(_0x27d5,0xe2));var _0x527d=function(_0x4af01e,_0x543f5c){_0x4af01e=_0x4af01e-0x0;var _0x178c11=_0x27d5[_0x4af01e];return _0x178c11;};'use strict';var FaxAccountEvents=require(_0x527d('0x0'));var events=[_0x527d('0x1'),'remove','update'];function createListener(_0x1cc4dc,_0x575bdb){return function(_0x464c71){_0x575bdb[_0x527d('0x2')](_0x1cc4dc,_0x464c71);};}function removeListener(_0x10ad52,_0x14a051){return function(){FaxAccountEvents[_0x527d('0x3')](_0x10ad52,_0x14a051);};}exports['register']=function(_0x2f177a){for(var _0x4d272e=0x0,_0x8acde6=events[_0x527d('0x4')];_0x4d272e<_0x8acde6;_0x4d272e++){var _0x3b5e91=events[_0x4d272e];var _0x5b49ec=createListener(_0x527d('0x5')+_0x3b5e91,_0x2f177a);FaxAccountEvents['on'](_0x3b5e91,_0x5b49ec);}};