be666b9ac324e36c028682a44ae67bfae5520f44
[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 _0x9d80=['stringify','stop','../../../../config/logger','routing','consequence','info','[%s][NOOP]\x20%s','getMustacheRender','next','error'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x9d80,0x1a6));var _0x09d8=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x9d80[_0x14add3];return _0x4a174f;};'use strict';var utils=require('./utils');var logger=require(_0x09d8('0x0'))(_0x09d8('0x1'));exports[_0x09d8('0x2')]=function(_0x1e0b3c,_0x213046){return function(_0x583ff4){try{logger[_0x09d8('0x3')](_0x09d8('0x4'),_0x1e0b3c,utils[_0x09d8('0x5')](_0x213046[0x0],this));_0x583ff4[_0x09d8('0x6')]();}catch(_0x571a01){logger[_0x09d8('0x7')]('[%s][NOOP]\x20%s',_0x1e0b3c,JSON[_0x09d8('0x8')](_0x571a01));_0x583ff4[_0x09d8('0x9')]();}};};