1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xfafd=['info','[%s][NOOP]\x20%s','next','error','stop','./utils','../../../../config/logger','routing','consequence'];(function(_0x2c4bf3,_0x41404b){var _0x59fc56=function(_0x4b366e){while(--_0x4b366e){_0x2c4bf3['push'](_0x2c4bf3['shift']());}};_0x59fc56(++_0x41404b);}(_0xfafd,0x140));var _0xdfaf=function(_0x348ee5,_0x3c9825){_0x348ee5=_0x348ee5-0x0;var _0x449a31=_0xfafd[_0x348ee5];return _0x449a31;};'use strict';var utils=require(_0xdfaf('0x0'));var logger=require(_0xdfaf('0x1'))(_0xdfaf('0x2'));exports[_0xdfaf('0x3')]=function(_0x503393,_0x5a41e8){return function(_0x1ec2d5){try{logger[_0xdfaf('0x4')](_0xdfaf('0x5'),_0x503393,utils['getMustacheRender'](_0x5a41e8[0x0],this));_0x1ec2d5[_0xdfaf('0x6')]();}catch(_0x33a441){logger[_0xdfaf('0x7')](_0xdfaf('0x5'),_0x503393,JSON['stringify'](_0x33a441));_0x1ec2d5[_0xdfaf('0x8')]();}};};