e1622d3bc2c0313f4b9548e70c058fbb204da746
[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 _0xbc4e=['stringify','stop','./utils','routing','consequence','info','[%s][NOOP]\x20%s','next','error'];(function(_0x4e80a0,_0x372660){var _0x4c7175=function(_0x4a248f){while(--_0x4a248f){_0x4e80a0['push'](_0x4e80a0['shift']());}};_0x4c7175(++_0x372660);}(_0xbc4e,0x1c4));var _0xebc4=function(_0xb4016e,_0x52792b){_0xb4016e=_0xb4016e-0x0;var _0x1450bd=_0xbc4e[_0xb4016e];return _0x1450bd;};'use strict';var utils=require(_0xebc4('0x0'));var logger=require('../../../../config/logger')(_0xebc4('0x1'));exports[_0xebc4('0x2')]=function(_0x1a18b3,_0x37955c){return function(_0x26f2be){try{logger[_0xebc4('0x3')](_0xebc4('0x4'),_0x1a18b3,utils['getMustacheRender'](_0x37955c[0x0],this));_0x26f2be[_0xebc4('0x5')]();}catch(_0x325d5a){logger[_0xebc4('0x6')](_0xebc4('0x4'),_0x1a18b3,JSON[_0xebc4('0x7')](_0x325d5a));_0x26f2be[_0xebc4('0x8')]();}};};