f406d8b477d021c27bc75145b41716c08e65fe68
[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 _0x6703=['[%s][NOOP]\x20%s','stop','./utils','../../../../config/logger','routing','consequence','info','next','error'];(function(_0x257896,_0x8de612){var _0x1ff242=function(_0x8ea06a){while(--_0x8ea06a){_0x257896['push'](_0x257896['shift']());}};_0x1ff242(++_0x8de612);}(_0x6703,0xf5));var _0x3670=function(_0x272156,_0x5e4b0d){_0x272156=_0x272156-0x0;var _0x1071d0=_0x6703[_0x272156];return _0x1071d0;};'use strict';var utils=require(_0x3670('0x0'));var logger=require(_0x3670('0x1'))(_0x3670('0x2'));exports[_0x3670('0x3')]=function(_0x5c0d0a,_0x339ecc){return function(_0x296b81){try{logger[_0x3670('0x4')]('[%s][NOOP]\x20%s',_0x5c0d0a,utils['getMustacheRender'](_0x339ecc[0x0],this));_0x296b81[_0x3670('0x5')]();}catch(_0x6e7bf0){logger[_0x3670('0x6')](_0x3670('0x7'),_0x5c0d0a,JSON['stringify'](_0x6e7bf0));_0x296b81[_0x3670('0x8')]();}};};