Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / errors / index.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 _0x13b6=['send','exports','404','status','render'];(function(_0x4d900b,_0x3c793f){var _0x166220=function(_0x4b07b0){while(--_0x4b07b0){_0x4d900b['push'](_0x4d900b['shift']());}};_0x166220(++_0x3c793f);}(_0x13b6,0x97));var _0x613b=function(_0x3d635e,_0x55cfeb){_0x3d635e=_0x3d635e-0x0;var _0x10d415=_0x13b6[_0x3d635e];return _0x10d415;};'use strict';module[_0x613b('0x0')][0x194]=function pageNotFound(_0x55a1a6,_0x46234e){var _0x409275=_0x613b('0x1');var _0x390318=0x194;var _0x5d0f72={'status':_0x390318};_0x46234e[_0x613b('0x2')](_0x5d0f72[_0x613b('0x2')]);_0x46234e[_0x613b('0x3')](_0x409275,{},function(_0x50fb84,_0x44d5d8){if(_0x50fb84){return _0x46234e[_0x613b('0x2')](_0x5d0f72[_0x613b('0x2')])['json'](_0x5d0f72);}_0x46234e[_0x613b('0x4')](_0x44d5d8);});};