Built motion from commit 9d1906d1.|2.5.40
[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 _0xb598=['info','getMustacheRender','error','[%s][NOOP]\x20%s','stringify','./utils','routing','consequence'];(function(_0x1bc1e6,_0x13d154){var _0x5d9439=function(_0x3a95b7){while(--_0x3a95b7){_0x1bc1e6['push'](_0x1bc1e6['shift']());}};_0x5d9439(++_0x13d154);}(_0xb598,0x12d));var _0x8b59=function(_0x387ba6,_0x3956a1){_0x387ba6=_0x387ba6-0x0;var _0xa12e6a=_0xb598[_0x387ba6];return _0xa12e6a;};'use strict';var utils=require(_0x8b59('0x0'));var logger=require('../../../../config/logger')(_0x8b59('0x1'));exports[_0x8b59('0x2')]=function(_0x565c66,_0x20e4c3){return function(_0xaad07d){try{logger[_0x8b59('0x3')]('[%s][NOOP]\x20%s',_0x565c66,utils[_0x8b59('0x4')](_0x20e4c3[0x0],this));_0xaad07d['next']();}catch(_0x1a7181){logger[_0x8b59('0x5')](_0x8b59('0x6'),_0x565c66,JSON[_0x8b59('0x7')](_0x1a7181));_0xaad07d['stop']();}};};