Built motion from commit (unavailable).|2.5.29
[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 _0xca66=['list','mustache','render','body','message','interaction'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xca66,0x8b));var _0x6ca6=function(_0x20274e,_0x53f91c){_0x20274e=_0x20274e-0x0;var _0x441abd=_0xca66[_0x20274e];return _0x441abd;};'use strict';var Mustache=require(_0x6ca6('0x0'));var _=require('lodash');module['exports']={'getMustacheRender':function(_0x43246d,_0x1a863a){return Mustache[_0x6ca6('0x1')](_0x43246d,_['merge'](_0x1a863a[_0x6ca6('0x2')],{'contact':_0x1a863a['contact'],'message':_0x1a863a[_0x6ca6('0x3')],'account':_0x1a863a['account'],'interaction':_0x1a863a[_0x6ca6('0x4')],'list':_0x1a863a[_0x6ca6('0x5')]}))||'';}};