Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / services / routing / server / applications / utils.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 _0x8fcf=['account','interaction','list','mustache','lodash','exports','contact','message'];(function(_0x1d0cba,_0x2731b1){var _0xdc3278=function(_0x3b20f5){while(--_0x3b20f5){_0x1d0cba['push'](_0x1d0cba['shift']());}};_0xdc3278(++_0x2731b1);}(_0x8fcf,0x1db));var _0xf8fc=function(_0x2aa819,_0x291a8f){_0x2aa819=_0x2aa819-0x0;var _0x4b32a5=_0x8fcf[_0x2aa819];return _0x4b32a5;};'use strict';var Mustache=require(_0xf8fc('0x0'));var _=require(_0xf8fc('0x1'));module[_0xf8fc('0x2')]={'getMustacheRender':function(_0x5cfedf,_0x18da9a){return Mustache['render'](_0x5cfedf,_['merge'](_0x18da9a['body'],{'contact':_0x18da9a[_0xf8fc('0x3')],'message':_0x18da9a[_0xf8fc('0x4')],'account':_0x18da9a[_0xf8fc('0x5')],'interaction':_0x18da9a[_0xf8fc('0x6')],'list':_0x18da9a[_0xf8fc('0x7')]}))||'';}};