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 _0x4c83=['./team.events','save','remove','update','emit','removeListener','register','team:'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x4c83,0xb8));var _0x34c8=function(_0x246d2b,_0x2d124f){_0x246d2b=_0x246d2b-0x0;var _0x59e2db=_0x4c83[_0x246d2b];return _0x59e2db;};'use strict';var TeamEvents=require(_0x34c8('0x0'));var events=[_0x34c8('0x1'),_0x34c8('0x2'),_0x34c8('0x3')];function createListener(_0x10f17e,_0x108a8d){return function(_0x3bd0e3){_0x108a8d[_0x34c8('0x4')](_0x10f17e,_0x3bd0e3);};}function removeListener(_0x3c88c7,_0x46342a){return function(){TeamEvents[_0x34c8('0x5')](_0x3c88c7,_0x46342a);};}exports[_0x34c8('0x6')]=function(_0x2db3c6){for(var _0x24532c=0x0,_0x5dfb91=events['length'];_0x24532c<_0x5dfb91;_0x24532c++){var _0x561121=events[_0x24532c];var _0x52c1ee=createListener(_0x34c8('0x7')+_0x561121,_0x2db3c6);TeamEvents['on'](_0x561121,_0x52c1ee);}};