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 _0x03ce=['register','length','openchannelAccount:','./openchannelAccount.events','save','remove','update','emit','removeListener'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x03ce,0x1a1));var _0xe03c=function(_0x1d7bc3,_0x5dc8bf){_0x1d7bc3=_0x1d7bc3-0x0;var _0x2d99d2=_0x03ce[_0x1d7bc3];return _0x2d99d2;};'use strict';var OpenchannelAccountEvents=require(_0xe03c('0x0'));var events=[_0xe03c('0x1'),_0xe03c('0x2'),_0xe03c('0x3')];function createListener(_0x56ac7a,_0x18e8ab){return function(_0x2e9f29){_0x18e8ab[_0xe03c('0x4')](_0x56ac7a,_0x2e9f29);};}function removeListener(_0x527a32,_0x317708){return function(){OpenchannelAccountEvents[_0xe03c('0x5')](_0x527a32,_0x317708);};}exports[_0xe03c('0x6')]=function(_0x2c0e4b){for(var _0x4340f0=0x0,_0x44c54f=events[_0xe03c('0x7')];_0x4340f0<_0x44c54f;_0x4340f0++){var _0x52dda4=events[_0x4340f0];var _0x53c2b0=createListener(_0xe03c('0x8')+_0x52dda4,_0x2c0e4b);OpenchannelAccountEvents['on'](_0x52dda4,_0x53c2b0);}};