0fbd0158ee02207089915c04381af85fcdc4f3fa
[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 _0x946e=['account','interaction','mustache','exports','body','contact','message'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0x946e,0x1d0));var _0xe946=function(_0x386511,_0x2d2dd1){_0x386511=_0x386511-0x0;var _0x2a629f=_0x946e[_0x386511];return _0x2a629f;};'use strict';var Mustache=require(_0xe946('0x0'));var _=require('lodash');module[_0xe946('0x1')]={'getMustacheRender':function(_0x55113e,_0x90610){return Mustache['render'](_0x55113e,_['merge'](_0x90610[_0xe946('0x2')],{'contact':_0x90610[_0xe946('0x3')],'message':_0x90610[_0xe946('0x4')],'account':_0x90610[_0xe946('0x5')],'interaction':_0x90610[_0xe946('0x6')],'list':_0x90610['list']}))||'';}};