df80f7325bc241034fa5c883ec6551463a92d491
[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 _0xd283=['[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','routing','consequence','info'];(function(_0x497948,_0x4ca60c){var _0x39bb36=function(_0x2ec88e){while(--_0x2ec88e){_0x497948['push'](_0x497948['shift']());}};_0x39bb36(++_0x4ca60c);}(_0xd283,0x7d));var _0x3d28=function(_0x310a63,_0x472a67){_0x310a63=_0x310a63-0x0;var _0x45c5ce=_0xd283[_0x310a63];return _0x45c5ce;};'use strict';var utils=require('./utils');var logger=require('../../../../config/logger')(_0x3d28('0x0'));exports[_0x3d28('0x1')]=function(_0x540b7d,_0x4b42f6){return function(_0x34093d){try{logger[_0x3d28('0x2')](_0x3d28('0x3'),_0x540b7d,utils[_0x3d28('0x4')](_0x4b42f6[0x0],this));_0x34093d[_0x3d28('0x5')]();}catch(_0x36f6c2){logger[_0x3d28('0x6')]('[%s][NOOP]\x20%s',_0x540b7d,JSON[_0x3d28('0x7')](_0x36f6c2));_0x34093d['stop']();}};};