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 _0x9cff=['save','remove','update','emit','removeListener','register','length','openchannelAccount:'];(function(_0x4e92bc,_0x201343){var _0x3ddb72=function(_0x3411a9){while(--_0x3411a9){_0x4e92bc['push'](_0x4e92bc['shift']());}};_0x3ddb72(++_0x201343);}(_0x9cff,0x1b0));var _0xf9cf=function(_0x553d6a,_0x64cd62){_0x553d6a=_0x553d6a-0x0;var _0x51cc52=_0x9cff[_0x553d6a];return _0x51cc52;};'use strict';var OpenchannelAccountEvents=require('./openchannelAccount.events');var events=[_0xf9cf('0x0'),_0xf9cf('0x1'),_0xf9cf('0x2')];function createListener(_0x55364a,_0x197da2){return function(_0x142fc6){_0x197da2[_0xf9cf('0x3')](_0x55364a,_0x142fc6);};}function removeListener(_0x5060e0,_0x2da91){return function(){OpenchannelAccountEvents[_0xf9cf('0x4')](_0x5060e0,_0x2da91);};}exports[_0xf9cf('0x5')]=function(_0x183113){for(var _0xcacbdc=0x0,_0x27e2b1=events[_0xf9cf('0x6')];_0xcacbdc<_0x27e2b1;_0xcacbdc++){var _0x19d7f9=events[_0xcacbdc];var _0x1c29f6=createListener(_0xf9cf('0x7')+_0x19d7f9,_0x183113);OpenchannelAccountEvents['on'](_0x19d7f9,_0x1c29f6);}};