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 _0x530c=['save','remove','update','register','length','dashboardItem:'];(function(_0x2da162,_0x26d8b2){var _0x331c03=function(_0x27e920){while(--_0x27e920){_0x2da162['push'](_0x2da162['shift']());}};_0x331c03(++_0x26d8b2);}(_0x530c,0x1f2));var _0xc530=function(_0x3a8d18,_0x34096f){_0x3a8d18=_0x3a8d18-0x0;var _0x13cb5d=_0x530c[_0x3a8d18];return _0x13cb5d;};'use strict';var DashboardItemEvents=require('./dashboardItem.events');var events=[_0xc530('0x0'),_0xc530('0x1'),_0xc530('0x2')];function createListener(_0xe06e64,_0x494e11){return function(_0x43cdd3){_0x494e11['emit'](_0xe06e64,_0x43cdd3);};}function removeListener(_0x4cc3b9,_0x46b102){return function(){DashboardItemEvents['removeListener'](_0x4cc3b9,_0x46b102);};}exports[_0xc530('0x3')]=function(_0x36ee14){for(var _0x29789d=0x0,_0x584138=events[_0xc530('0x4')];_0x29789d<_0x584138;_0x29789d++){var _0xe9658=events[_0x29789d];var _0x25f23c=createListener(_0xc530('0x5')+_0xe9658,_0x36ee14);DashboardItemEvents['on'](_0xe9658,_0x25f23c);}};