284433b4fdb35079a304730c66874f49d7d468c6
[motion2.git] / server / services / routing / server / applications / noop.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xb59e=['stringify','stop','./utils','../../../../config/logger','routing','consequence','info','next','error'];(function(_0x477a65,_0x574fe8){var _0x35c3e8=function(_0x11ae8a){while(--_0x11ae8a){_0x477a65['push'](_0x477a65['shift']());}};_0x35c3e8(++_0x574fe8);}(_0xb59e,0x89));var _0xeb59=function(_0x3b23c5,_0x5dbc8f){_0x3b23c5=_0x3b23c5-0x0;var _0xa8332e=_0xb59e[_0x3b23c5];return _0xa8332e;};'use strict';var utils=require(_0xeb59('0x0'));var logger=require(_0xeb59('0x1'))(_0xeb59('0x2'));exports[_0xeb59('0x3')]=function(_0xb65431,_0x46173f){return function(_0x105e60){try{logger[_0xeb59('0x4')]('[%s][NOOP]\x20%s',_0xb65431,utils['getMustacheRender'](_0x46173f[0x0],this));_0x105e60[_0xeb59('0x5')]();}catch(_0x265eb0){logger[_0xeb59('0x6')]('[%s][NOOP]\x20%s',_0xb65431,JSON[_0xeb59('0x7')](_0x265eb0));_0x105e60[_0xeb59('0x8')]();}};};