Built motion from commit (unavailable).|2.4.18
[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 _0x4c54=['error','[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','routing','info','getMustacheRender','next'];(function(_0x57474e,_0x4178b8){var _0xfaae8c=function(_0x2e34d1){while(--_0x2e34d1){_0x57474e['push'](_0x57474e['shift']());}};_0xfaae8c(++_0x4178b8);}(_0x4c54,0x13a));var _0x44c5=function(_0x161399,_0x50b0a9){_0x161399=_0x161399-0x0;var _0x2cea7e=_0x4c54[_0x161399];return _0x2cea7e;};'use strict';var utils=require(_0x44c5('0x0'));var logger=require(_0x44c5('0x1'))(_0x44c5('0x2'));exports['consequence']=function(_0x439610,_0x367e53){return function(_0x5c6c76){try{logger[_0x44c5('0x3')]('[%s][NOOP]\x20%s',_0x439610,utils[_0x44c5('0x4')](_0x367e53[0x0],this));_0x5c6c76[_0x44c5('0x5')]();}catch(_0x115de3){logger[_0x44c5('0x6')](_0x44c5('0x7'),_0x439610,JSON[_0x44c5('0x8')](_0x115de3));_0x5c6c76[_0x44c5('0x9')]();}};};