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 _0xcdce=['consequence','info','[%s][NOOP]\x20%s','getMustacheRender','error','stringify','stop','./utils','routing'];(function(_0x40833f,_0x13093e){var _0x2c7e41=function(_0x18b809){while(--_0x18b809){_0x40833f['push'](_0x40833f['shift']());}};_0x2c7e41(++_0x13093e);}(_0xcdce,0xb2));var _0xecdc=function(_0x5a8f74,_0x4e2f6a){_0x5a8f74=_0x5a8f74-0x0;var _0x5f0f82=_0xcdce[_0x5a8f74];return _0x5f0f82;};'use strict';var utils=require(_0xecdc('0x0'));var logger=require('../../../../config/logger')(_0xecdc('0x1'));exports[_0xecdc('0x2')]=function(_0x407abf,_0xc50bc5){return function(_0x4d2e45){try{logger[_0xecdc('0x3')](_0xecdc('0x4'),_0x407abf,utils[_0xecdc('0x5')](_0xc50bc5[0x0],this));_0x4d2e45['next']();}catch(_0x32ede4){logger[_0xecdc('0x6')](_0xecdc('0x4'),_0x407abf,JSON[_0xecdc('0x7')](_0x32ede4));_0x4d2e45[_0xecdc('0x8')]();}};};