Built motion from commit bbec7235.|2.6.20
[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 _0x2ccd=['./utils','../../../../config/logger','routing','consequence','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','stop'];(function(_0x54ee7e,_0x1e4e90){var _0x5280af=function(_0x34adb2){while(--_0x34adb2){_0x54ee7e['push'](_0x54ee7e['shift']());}};_0x5280af(++_0x1e4e90);}(_0x2ccd,0x172));var _0xd2cc=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x2ccd[_0x321bb2];return _0x9c12ed;};'use strict';var utils=require(_0xd2cc('0x0'));var logger=require(_0xd2cc('0x1'))(_0xd2cc('0x2'));exports[_0xd2cc('0x3')]=function(_0x3411bc,_0x403e89){return function(_0x48315c){try{logger['info'](_0xd2cc('0x4'),_0x3411bc,utils[_0xd2cc('0x5')](_0x403e89[0x0],this));_0x48315c[_0xd2cc('0x6')]();}catch(_0xd4f58a){logger[_0xd2cc('0x7')]('[%s][NOOP]\x20%s',_0x3411bc,JSON[_0xd2cc('0x8')](_0xd4f58a));_0x48315c[_0xd2cc('0x9')]();}};};