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 _0x6d3a=['next','error','stop','./utils','../../../../config/logger','routing','info','[%s][NOOP]\x20%s','getMustacheRender'];(function(_0x172ee5,_0x55d46e){var _0x36c6d3=function(_0x20b733){while(--_0x20b733){_0x172ee5['push'](_0x172ee5['shift']());}};_0x36c6d3(++_0x55d46e);}(_0x6d3a,0xae));var _0xa6d3=function(_0x4635df,_0x13063c){_0x4635df=_0x4635df-0x0;var _0x1842ad=_0x6d3a[_0x4635df];return _0x1842ad;};'use strict';var utils=require(_0xa6d3('0x0'));var logger=require(_0xa6d3('0x1'))(_0xa6d3('0x2'));exports['consequence']=function(_0x41d473,_0x5bb8d6){return function(_0x4ec311){try{logger[_0xa6d3('0x3')](_0xa6d3('0x4'),_0x41d473,utils[_0xa6d3('0x5')](_0x5bb8d6[0x0],this));_0x4ec311[_0xa6d3('0x6')]();}catch(_0x25b7a9){logger[_0xa6d3('0x7')](_0xa6d3('0x4'),_0x41d473,JSON['stringify'](_0x25b7a9));_0x4ec311[_0xa6d3('0x8')]();}};};