Built motion from commit 27e0a5d.|1.0.8
[motion.git] / server / api / xchatty / xchatty.controller.js
index 2f01dd7..a04e17e 100644 (file)
@@ -1 +1 @@
-var _0xa295=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6A\x73\x6D\x69\x6E","\x6D\x75\x73\x74\x61\x63\x68\x65","\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x70\x61\x74\x68","\x6D\x64\x35","\x66\x73","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x69\x70\x61\x64\x64\x72\x2E\x6A\x73","\x67\x65\x6F\x69\x70\x2D\x6C\x69\x74\x65","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x73\x63\x68\x65\x64\x75\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4C\x69\x63\x65\x6E\x73\x65","\x58\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67","\x43\x6F\x6E\x74\x61\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x75\x70\x6C\x6F\x61\x64\x65\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x71\x75\x65\x72\x79","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x73\x73\x69\x6F\x6E","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x4F\x50\x45\x4E","","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x61\x76\x61\x74\x61\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x6E\x61\x6D\x65","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x65\x73\x73\x61\x67\x65","\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x69\x73\x41\x72\x72\x61\x79","\x2C","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x63\x68\x61\x74","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x72\x65\x73\x73","\x69\x6E\x69\x74","\x62\x61\x73\x65\x36\x34","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x55\x73\x65\x72\x49\x64","\x72\x65\x70\x6C\x61\x63\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x65\x78\x74\x2F\x63\x73\x76","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x63\x75\x73\x74\x6F\x6D","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x67\x6F","\x6C\x6F\x67\x6F","\x69\x6D\x61\x67\x65\x73\x2F","\x26\x75\x70\x6C\x6F\x61\x64\x65\x64","\x69\x6D\x61\x67\x65\x73\x2F\x6D\x6F\x74\x69\x6F\x6E\x4C\x6F\x67\x6F\x2E\x70\x6E\x67","\x64\x65\x66\x61\x75\x6C\x74\x57\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x77\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x78\x43\x41\x4C\x4C\x59\x3C\x2F\x61\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x6A\x73\x6F\x6E\x70","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x52\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x69\x6E\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x65\x72\x72","\x6C\x6F\x67","\x63\x6F\x75\x6E\x74","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74","\x2D","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F","\x45","\x44","\x4D","\x69\x73\x42\x65\x74\x77\x65\x65\x6E","\x66\x69\x6C\x74\x65\x72","\x69\x6E\x64\x65\x78\x4F\x66"];_0xa295[0];var _=require(_0xa295[1]);var jsmin=require(_0xa295[2])[_0xa295[2]];var Mustache=require(_0xa295[3]);var querystring=require(_0xa295[4]);var path=require(_0xa295[5]);var md5=require(_0xa295[6]);var fs=require(_0xa295[7]);var UAParser=require(_0xa295[8]);var uaParser= new UAParser();var languageParser=require(_0xa295[9]);var ipaddr=require(_0xa295[10]);var geoip=require(_0xa295[11]);var csv=require(_0xa295[12]);var util=require(_0xa295[13]);var moment=require(_0xa295[14]);var Scheduler=require(_0xa295[15]);var config=require(_0xa295[16]);var xchatty_components=require(_0xa295[17]);var Util=require(_0xa295[18]);var license=require(_0xa295[19]);var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,messaging:false,cm:false,dialer:false,jscripty:false,update:false,custom:false,description:_0xa295[20]};var sequelize=require(_0xa295[22])[_0xa295[21]];var User=require(_0xa295[22])[_0xa295[23]];var Agent=require(_0xa295[22])[_0xa295[23]];var ChatRoom=require(_0xa295[22])[_0xa295[24]];var ChatEnquiry=require(_0xa295[22])[_0xa295[25]];var ChatVisitor=require(_0xa295[22])[_0xa295[26]];var ChatMessage=require(_0xa295[22])[_0xa295[27]];var ChatWebsite=require(_0xa295[22])[_0xa295[28]];var ChatWebsitesField=require(_0xa295[22])[_0xa295[29]];var ChatProactiveAction=require(_0xa295[22])[_0xa295[30]];var ReportChatSession=require(_0xa295[22])[_0xa295[31]];var ChatQueue=require(_0xa295[22])[_0xa295[32]];var License=require(_0xa295[22])[_0xa295[33]];var Xchatty=require(_0xa295[22])[_0xa295[34]];var Setting=require(_0xa295[22])[_0xa295[35]];const Contact=require(_0xa295[22])[_0xa295[36]];var Interval=require(_0xa295[22])[_0xa295[37]];const weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};const monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var id=1;exports[_0xa295[38]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return Xchatty[_0xa295[43]]()[_0xa295[42]](function(_0xd25cx2e){return _0xd25cx2b[_0xa295[41]](200)[_0xa295[40]](_0xd25cx2e)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[44]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){ChatWebsite[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]])[_0xa295[42]](function(_0xd25cx2f){_0xd25cx2b[_0xa295[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xa295[45],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xa295[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xd25cx30=xchatty_components[_0xa295[48]];var _0xd25cx31={websiteId:_0xd25cx2a[_0xa295[50]][_0xa295[49]],rootPath:Util[_0xa295[52]](_0xd25cx2f[_0xa295[51]])+ _0xa295[53],signedUp:_0xa295[54],windowFocused:_0xa295[54],isNewPage:_0xa295[55],processingSignUp:_0xa295[54],processingEnquiry:_0xa295[54],processingSend:_0xa295[54],processingRating:_0xa295[54],visitorFullname:_0xa295[56],visitorAvatar:_0xa295[56],timerReadMessages:_0xa295[57],timerCheckStatus:_0xa295[57],isOnline:_0xa295[54],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0xa295[55],muteNotificationSoundOnce:_0xa295[54],assetBase:Util[_0xa295[52]](_0xd25cx2f[_0xa295[51]])+ _0xa295[58],hasSessionSaf:_0xa295[54],restoreOpenState:_0xa295[54],animateHover:_0xd25cx2f[_0xa295[59]],hideEmail:_0xa295[54],hideOffline:_0xa295[54],headerShape:_0xd25cx2f[_0xa295[60]],HeaderOnline:_0xd25cx2f[_0xa295[61]],OnlineMessage:_0xd25cx2f[_0xa295[62]],UsernamePlaceholder:_0xd25cx2f[_0xa295[63]],EmailPlaceholder:_0xd25cx2f[_0xa295[64]],StartChatButtonText:_0xd25cx2f[_0xa295[65]],OfflineMessage:_0xd25cx2f[_0xa295[66]],HeaderOffline:_0xd25cx2f[_0xa295[67]],EnquiryMessagePlaceholder:_0xd25cx2f[_0xa295[68]],EnquiryButtonText:_0xd25cx2f[_0xa295[69]],downloadTranscript:_0xd25cx2f[_0xa295[70]],RatingMessage:_0xd25cx2f[_0xa295[71]],RatingSend:_0xd25cx2f[_0xa295[72]],RatingSkip:_0xd25cx2f[_0xa295[73]],MessageAgentsBusy:_0xd25cx2f[_0xa295[74]],NameTitle:_0xd25cx2f[_0xa295[75]],EmailTitle:_0xd25cx2f[_0xa295[76]],MessageTitle:_0xd25cx2f[_0xa295[77]]};_0xd25cx30= Mustache[_0xa295[78]](_0xd25cx30,_0xd25cx31);_0xd25cx2b[_0xa295[40]](_0xd25cx30)})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[80]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){ChatWebsite[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]])[_0xa295[42]](function(_0xd25cx2f){_0xd25cx2b[_0xa295[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xa295[81],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xa295[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xd25cx32=xchatty_components[_0xa295[82]];var _0xd25cx33={assetBase:Util[_0xa295[52]](_0xd25cx2f[_0xa295[51]])+ _0xa295[58],color:_0xd25cx2f[_0xa295[83]],colorFocus:_0xd25cx2f[_0xa295[84]],colorButton:_0xd25cx2f[_0xa295[85]]};_0xd25cx32= Mustache[_0xa295[78]](_0xd25cx32,_0xd25cx33);_0xd25cx2b[_0xa295[40]](_0xd25cx32)})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[86]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){if(_0xd25cx2a[_0xa295[89]][_0xa295[88]](_0xa295[87])){_0xd25cx2b[_0xa295[95]](path[_0xa295[94]](config[_0xa295[90]],_0xa295[91],_0xa295[92],_0xd25cx2a[_0xa295[89]][_0xa295[93]]))}else {_0xd25cx2b[_0xa295[95]](path[_0xa295[94]](config[_0xa295[90]],_0xa295[91],_0xa295[96],_0xa295[97],_0xa295[98],_0xd25cx2a[_0xa295[89]][_0xa295[93]]))}};exports[_0xa295[99]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){_0xd25cx2b[_0xa295[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xa295[45],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xa295[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0xd25cx34=xchatty_components[_0xa295[100]];_0xd25cx2b[_0xa295[40]](_0xd25cx34)};exports[_0xa295[101]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){if(!_0xd25cx2a[_0xa295[102]][_0xa295[97]]){_0xd25cx2a[_0xa295[102]][_0xa295[97]]= {}};var _0xd25cx35={};return Agent[_0xa295[43]]({where:{online:true,role:_0xa295[121]}})[_0xa295[42]](function(_0xd25cx38){if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[115]]){_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[115]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[115]]=== _0xa295[55]?true:false};_0xd25cx35= {success:true,has_session_saf:null,signed_up:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[111]]?true:false,fullname:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[117]]?_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[117]]:_0xa295[114],email:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[118]]?_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[118]]:_0xa295[114],avatar:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[119]]?_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[119]]:_0xa295[114],open_state:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[115]]|| _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[111]]?true:false,online:_0xd25cx38[_0xa295[120]]?true:false,is_unserved:false,room_id:0};return})[_0xa295[42]](function(){if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[108]]){return ChatRoom[_0xa295[110]]({where:{ChatVisitorId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[108]],status:_0xa295[113],token:{$ne:_0xa295[114]}}})};return})[_0xa295[42]](function(_0xd25cx37){if(_0xd25cx37){_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[111]]= _0xd25cx37[_0xa295[49]];_0xd25cx35[_0xa295[111]]= _0xd25cx37[_0xa295[49]];_0xd25cx35[_0xa295[112]]= true}else {_0xd25cx35[_0xa295[112]]= false};return})[_0xa295[42]](function(){if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[108]]){return ChatVisitor[_0xa295[110]]({where:{id:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[108]],status:_0xa295[109]}})};return})[_0xa295[42]](function(_0xd25cx36){if(_0xd25cx36){_0xd25cx35[_0xa295[103]]= true};return _0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx35)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[122]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];var _0xd25cx3a={where:{ChatRoomId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]},include:[{model:User,attributes:[_0xa295[49],_0xa295[123],_0xa295[117],_0xa295[118]]},{model:ChatVisitor,attributes:[_0xa295[49],_0xa295[117],_0xa295[118]]}]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[124]]=== _0xa295[54]){_0xd25cx3a[_0xa295[125]][_0xa295[49]]= {$gt:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[126]]}};ChatMessage[_0xa295[43]](_0xd25cx3a)[_0xa295[42]](function(_0xd25cx3b){var _0xd25cx3c={success:true,messages:_0xd25cx3b,composing:false,composing_fullname:null};_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx3c)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[127]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];var _0xd25cx3a={where:{ChatRoomId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]},include:[{model:User,attributes:[_0xa295[49],_0xa295[123],_0xa295[117],_0xa295[118]]},{model:ChatVisitor,attributes:[_0xa295[49],_0xa295[117],_0xa295[118]]}]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[124]]=== _0xa295[54]){_0xd25cx3a[_0xa295[125]][_0xa295[49]]= {$gt:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[126]]}};ChatMessage[_0xa295[130]]({body:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[129]][_0xa295[128]],ChatRoomId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]],ChatVisitorId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]})[_0xa295[42]](function(_0xd25cx3d){ChatMessage[_0xa295[43]](_0xd25cx3a)[_0xa295[42]](function(_0xd25cx3b){var _0xd25cx3c={errors:[],success:true,data:_0xd25cx3d,messages:_0xd25cx3b};_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx3c)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[131]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];return ChatRoom[_0xa295[79]](_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]])[_0xa295[42]](function(_0xd25cx37){return _0xd25cx37[_0xa295[134]]({status:_0xa295[132],completeReason:_0xa295[133]})})[_0xa295[42]](function(){var _0xd25cx3c={success:true,errors:[]};_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39]= {};_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx3c)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[135]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];var _0xd25cx3e=uaParser[_0xa295[139]](_0xd25cx2a[_0xa295[138]][_0xa295[137]])[_0xa295[136]]();var _0xd25cx3f=languageParser[_0xa295[141]](_0xd25cx2a[_0xa295[138]][_0xa295[140]]);var _0xd25cx40=_0xd25cx2a[_0xa295[138]][_0xa295[142]]?_0xd25cx2a[_0xa295[138]][_0xa295[142]]:_0xd25cx2a[_0xa295[144]][_0xa295[143]]|| _0xd25cx2a[_0xa295[145]];var _0xd25cx41={fullname:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[117]],email:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[118]],remote_address:_0xd25cx40,user_agent:_0xd25cx2a[_0xa295[138]][_0xa295[137]],visitor_language:_0xd25cx2a[_0xa295[138]][_0xa295[140]],referer:_0xd25cx2a[_0xa295[138]][_0xa295[147]],origin:_0xa295[148],browser:_0xd25cx3e[_0xa295[149]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[149]][_0xa295[151]],engine:_0xd25cx3e[_0xa295[152]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[152]][_0xa295[151]],os:_0xd25cx3e[_0xa295[153]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[153]][_0xa295[151]],device:_0xd25cx3e[_0xa295[155]][_0xa295[154]]?_0xd25cx3e[_0xa295[155]][_0xa295[154]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[155]][_0xa295[156]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[155]][_0xa295[157]]:null,ChatWebsiteId:_0xd25cx2a[_0xa295[89]][_0xa295[158]]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[159]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[160]]){_0xd25cx41[_0xa295[159]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[159]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[159]])){_0xd25cx41[_0xa295[159]]= _[_0xa295[94]](_0xd25cx41[_0xa295[159]],_0xa295[162])};_0xd25cx41[_0xa295[160]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[160]]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[163]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[164]]){_0xd25cx41[_0xa295[163]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[163]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[163]])){_0xd25cx41[_0xa295[163]]= _[_0xa295[94]](_0xd25cx41[_0xa295[163]],_0xa295[162])};_0xd25cx41[_0xa295[164]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[164]]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[165]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[166]]){_0xd25cx41[_0xa295[165]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[165]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[165]])){_0xd25cx41[_0xa295[165]]= _[_0xa295[94]](_0xd25cx41[_0xa295[165]],_0xa295[162])};_0xd25cx41[_0xa295[166]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[146]][_0xa295[166]]};var _0xd25cx42,_0xd25cx43,_0xd25cx44;return ChatVisitor[_0xa295[130]](_0xd25cx41)[_0xa295[42]](function(_0xd25cx47){_0xd25cx42= _0xd25cx47;return ChatWebsite[_0xa295[79]](_0xd25cx42.ChatWebsiteId)})[_0xa295[42]](function(_0xd25cx46){_0xd25cx43= _0xd25cx46;if(_0xd25cx43[_0xa295[175]]){return Contact[_0xa295[176]]({where:{email:_0xd25cx42[_0xa295[118]]},defaults:{email:_0xd25cx42[_0xa295[118]],firstName:_0xd25cx42[_0xa295[117]],ListId:_0xd25cx43[_0xa295[175]]}})}})[_0xa295[42]](function(){return ChatRoom[_0xa295[130]]({type:_0xa295[174],ChatVisitorId:_0xd25cx42[_0xa295[49]],ChatWebsiteId:_0xd25cx43[_0xa295[49]],contact:_0xd25cx42[_0xa295[118]],website:_0xd25cx43[_0xa295[123]]})})[_0xa295[42]](function(_0xd25cx37){_0xd25cx44= _0xd25cx37;var _0xd25cx45= new Scheduler({channel:_0xa295[167],uniqueid:util[_0xa295[170]](_0xa295[168],moment()[_0xa295[169]](),_0xd25cx44[_0xa295[49]]),roomid:_0xd25cx44[_0xa295[49]],websiteid:_0xd25cx43[_0xa295[49]],websitename:_0xd25cx43[_0xa295[123]],websiteaddress:_0xd25cx43[_0xa295[171]],accountid:_0xd25cx43[_0xa295[49]],accountname:_0xd25cx43[_0xa295[123]],accountaddress:_0xd25cx43[_0xa295[171]],visitorid:_0xd25cx42[_0xa295[49]],visitorname:_0xd25cx42[_0xa295[117]],visitoremail:_0xd25cx42[_0xa295[118]]});_0xd25cx45[_0xa295[172]]();_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[117]]= _0xd25cx42[_0xa295[117]];_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[118]]= _0xd25cx42[_0xa295[118]];_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[119]]= md5(_0xd25cx42[_0xa295[118]]).toString(_0xa295[173]);_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]= _0xd25cx42[_0xa295[49]];var _0xd25cx3c={success:true,errors:[],chatVisitor:{id:_0xd25cx42[_0xa295[49]]}};_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx3c)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[177]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];return ChatVisitor[_0xa295[79]](_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]])[_0xa295[42]](function(_0xd25cx47){return _0xd25cx47[_0xa295[134]]({status:_0xa295[109]})})[_0xa295[42]](function(){var _0xd25cx3c={success:true,errors:[]};_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39]= {};_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]](_0xd25cx3c)+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[178]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return sequelize[_0xa295[190]]()[_0xa295[42]](function(_0xd25cx48){var _0xd25cx40=_0xd25cx2a[_0xa295[138]][_0xa295[142]]?_0xd25cx2a[_0xa295[138]][_0xa295[142]]:_0xd25cx2a[_0xa295[144]][_0xa295[143]]|| _0xd25cx2a[_0xa295[145]];var _0xd25cx3e=uaParser[_0xa295[139]](_0xd25cx2a[_0xa295[138]][_0xa295[137]])[_0xa295[136]]();var _0xd25cx3f=languageParser[_0xa295[141]](_0xd25cx2a[_0xa295[138]][_0xa295[140]]);var _0xd25cx41={fullname:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[117]],email:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[118]],remote_address:_0xd25cx40,user_agent:_0xd25cx2a[_0xa295[138]][_0xa295[137]],visitor_language:_0xd25cx2a[_0xa295[138]][_0xa295[140]],browser:_0xd25cx3e[_0xa295[149]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[149]][_0xa295[151]],engine:_0xd25cx3e[_0xa295[152]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[152]][_0xa295[151]],os:_0xd25cx3e[_0xa295[153]][_0xa295[123]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[153]][_0xa295[151]],device:_0xd25cx3e[_0xa295[155]][_0xa295[154]]?_0xd25cx3e[_0xa295[155]][_0xa295[154]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[155]][_0xa295[156]]+ _0xa295[150]+ _0xd25cx3e[_0xa295[155]][_0xa295[157]]:null,referer:_0xd25cx2a[_0xa295[138]][_0xa295[147]],origin:_0xa295[180],status:_0xa295[109],ChatWebsiteId:parseInt(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[181]],10),ChatEnquiry:{username:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[117]],email:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[118]],text:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[128]],ChatWebsiteId:parseInt(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[181]],10)}};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[182]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[183]]){_0xd25cx41[_0xa295[182]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[182]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[182]])){_0xd25cx41[_0xa295[182]]= _[_0xa295[94]](_0xd25cx41[_0xa295[182]],_0xa295[162])};_0xd25cx41[_0xa295[183]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[183]]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[184]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[185]]){_0xd25cx41[_0xa295[184]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[184]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[184]])){_0xd25cx41[_0xa295[184]]= _[_0xa295[94]](_0xd25cx41[_0xa295[184]],_0xa295[162])};_0xd25cx41[_0xa295[185]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[185]]};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[186]]&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[187]]){_0xd25cx41[_0xa295[186]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[186]];if(_[_0xa295[161]](_0xd25cx41[_0xa295[186]])){_0xd25cx41[_0xa295[186]]= _[_0xa295[94]](_0xd25cx41[_0xa295[186]],_0xa295[162])};_0xd25cx41[_0xa295[187]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[179]][_0xa295[187]]};var _0xd25cx42;return ChatVisitor[_0xa295[130]](_0xd25cx41,{transaction:_0xd25cx48,include:[{model:ChatEnquiry}]})[_0xa295[42]](function(_0xd25cx47){_0xd25cx42= _0xd25cx47;return ChatWebsite[_0xa295[79]](_0xd25cx42.ChatWebsiteId)})[_0xa295[42]](function(_0xd25cx46){if(_0xd25cx46[_0xa295[175]]){return Contact[_0xa295[176]]({where:{email:_0xd25cx42[_0xa295[118]]},defaults:{email:_0xd25cx42[_0xa295[118]],firstName:_0xd25cx42[_0xa295[117]],ListId:_0xd25cx46[_0xa295[175]]}})}})[_0xa295[42]](function(){_0xd25cx48[_0xa295[189]]();_0xd25cx2b[_0xa295[40]](_0xd25cx2a[_0xa295[89]][_0xa295[104]]+ _0xa295[105]+ JSON[_0xa295[106]]({success:true,errors:[]})+ _0xa295[107])})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx48[_0xa295[188]]();_0xd25cx2c(_0xd25cx2d)})})};exports[_0xa295[191]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39]&& _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]&& _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]){ChatMessage[_0xa295[43]]({where:{ChatRoomId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]},include:[{model:Agent,attributes:[_0xa295[49],_0xa295[117]]},{model:ChatVisitor,attributes:[_0xa295[49],_0xa295[117]]}]})[_0xa295[42]](function(_0xd25cx3b){var _0xd25cx49=[];_0xd25cx3b[_0xa295[197]](function(_0xd25cx3d){var _0xd25cx4a={name:_0xd25cx3d[_0xa295[192]]?_0xd25cx3d[_0xa295[23]][_0xa295[117]]:_0xd25cx3d[_0xa295[26]][_0xa295[117]],text:_0xd25cx3d[_0xa295[194]][_0xa295[193]](/(\r\n|\n|\r)/gm,_0xa295[150]),date:_0xd25cx3d[_0xa295[195]]};_0xd25cx49[_0xa295[196]](_0xd25cx4a)});var _0xd25cx4b=csv(_0xd25cx49);_0xd25cx2b[_0xa295[157]](_0xa295[198])[_0xa295[41]](200)[_0xa295[40]](_0xd25cx4b)})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2c(_0xd25cx2d)})}};exports[_0xa295[199]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return Xchatty[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]])[_0xa295[42]](function(_0xd25cx4c){if(!_0xd25cx4c){return _0xd25cx2b[_0xa295[200]](404)};return _0xd25cx2b[_0xa295[40]](_0xd25cx4c)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[130]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return Xchatty[_0xa295[130]](_0xd25cx2a[_0xa295[194]])[_0xa295[42]](function(_0xd25cx4c){return _0xd25cx2b[_0xa295[41]](201)[_0xa295[40]](_0xd25cx4c)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[134]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){if(_0xd25cx2a[_0xa295[194]][_0xa295[49]]){delete _0xd25cx2a[_0xa295[194]][_0xa295[49]]};return Xchatty[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]])[_0xa295[42]](function(_0xd25cx4c){if(!_0xd25cx4c){return _0xd25cx2b[_0xa295[200]](404)};var _0xd25cx4d=_[_0xa295[201]](_0xd25cx4c,_0xd25cx2a[_0xa295[194]]);_0xd25cx4d[_0xa295[202]]()[_0xa295[42]](function(){return _0xd25cx2b[_0xa295[41]](200)[_0xa295[40]](_0xd25cx4c)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[203]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return Xchatty[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]])[_0xa295[42]](function(_0xd25cx4c){if(!_0xd25cx4c){return _0xd25cx2b[_0xa295[200]](404)};_0xd25cx4c[_0xa295[203]]()[_0xa295[42]](function(){return _0xd25cx2b[_0xa295[200]](204)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[204]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx2f,_0xd25cx4e,_0xd25cx4f;var _0xd25cx50=xchatty_components[_0xa295[205]];return ChatWebsite[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]],{include:[{all:true}]})[_0xa295[42]](function(_0xd25cx43){_0xd25cx2f= _0xd25cx43;return Setting[_0xa295[79]](1)})[_0xa295[42]](function(_0xd25cx56){_0xd25cx4f= _0xd25cx56;return License[_0xa295[79]](1)})[_0xa295[42]](function(_0xd25cx51){if(_0xd25cx51){_0xd25cx4e= JSON[_0xa295[141]](license[_0xa295[208]](_0xd25cx51[_0xa295[207]][_0xa295[206]],_0xd25cx51[_0xa295[159]]))}else {_0xd25cx4e= demoLicense};var _0xd25cx52={rootPath:Util[_0xa295[52]](_0xd25cx2f[_0xa295[51]])+ _0xa295[53],assetBase:Util[_0xa295[52]](_0xd25cx2f[_0xa295[51]])+ _0xa295[58],websiteId:_0xd25cx2f[_0xa295[49]],headerShape:_0xd25cx2f[_0xa295[60]],enquiryEnable:_0xd25cx2f[_0xa295[209]],onlineFields:_0xd25cx2f[_0xa295[210]],logo:function(){if(_0xd25cx4e[_0xa295[211]]&& !_0xd25cx2f[_0xa295[212]]&& _0xd25cx2f[_0xa295[213]]){return _0xa295[214]+ _0xd25cx2f[_0xa295[213]]+ _0xa295[215]}else {return _0xa295[216]}},whiteLabel:function(){if(_0xd25cx4e[_0xa295[211]]&& !_0xd25cx2f[_0xa295[217]]){return _0xd25cx2f[_0xa295[218]]}else {return _0xa295[219]}},renderedOnlineField:function(){var _0xd25cx53=_0xa295[114];var _0xd25cx54=this;switch(this[_0xa295[244]]){case _0xa295[228]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[221],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[223]]?_0xa295[224]:_0xa295[114]);_0xd25cx53+= util[_0xa295[170]](_0xa295[225],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[226]],_0xd25cx54[_0xa295[223]]?_0xa295[223]:_0xa295[114]);_0xd25cx53+= _0xa295[227];break;case _0xa295[230]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[221],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[223]]?_0xa295[224]:_0xa295[114]);_0xd25cx53+= util[_0xa295[170]](_0xa295[229],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[226]],_0xd25cx54[_0xa295[223]]?_0xa295[223]:_0xa295[114]);_0xd25cx53+= _0xa295[227];break;case _0xa295[236]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[231],_0xd25cx54[_0xa295[222]]);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= _0xa295[233];_0xd25cx53+= util[_0xa295[170]](_0xa295[234],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx55,_0xd25cx55);_0xd25cx53+= _0xa295[235]});_0xd25cx53+= _0xa295[227];break;case _0xa295[238]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[231],_0xd25cx54[_0xa295[222]]);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= _0xa295[233];_0xd25cx53+= util[_0xa295[170]](_0xa295[237],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx55,_0xd25cx55);_0xd25cx53+= _0xa295[235]});_0xd25cx53+= _0xa295[227];break;case _0xa295[243]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[239],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]]);_0xd25cx53+= util[_0xa295[170]](_0xa295[240],_0xd25cx54[_0xa295[38]]+ 1);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= util[_0xa295[170]](_0xa295[241],_0xd25cx55,_0xd25cx55)});_0xd25cx53+= _0xa295[242];break};_0xd25cx53+= _0xa295[245];_0xd25cx53+= util[_0xa295[170]](_0xa295[246],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[222]]);return _0xd25cx53},offlineFields:_0xd25cx2f[_0xa295[247]],renderedOfflineField:function(){var _0xd25cx53=_0xa295[114];var _0xd25cx54=this;switch(this[_0xa295[244]]){case _0xa295[228]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[248],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[223]]?_0xa295[224]:_0xa295[114]);_0xd25cx53+= util[_0xa295[170]](_0xa295[249],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[226]],_0xd25cx54[_0xa295[223]]?_0xa295[223]:_0xa295[114]);_0xd25cx53+= _0xa295[227];break;case _0xa295[230]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[248],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[223]]?_0xa295[224]:_0xa295[114]);_0xd25cx53+= util[_0xa295[170]](_0xa295[250],_0xd25cx54[_0xa295[38]],_0xd25cx54[_0xa295[222]],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[226]],_0xd25cx54[_0xa295[223]]?_0xa295[223]:_0xa295[114]);_0xd25cx53+= _0xa295[227];break;case _0xa295[236]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[231],_0xd25cx54[_0xa295[222]]);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= _0xa295[233];_0xd25cx53+= util[_0xa295[170]](_0xa295[251],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx55,_0xd25cx55);_0xd25cx53+= _0xa295[235]});_0xd25cx53+= _0xa295[227];break;case _0xa295[238]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[231],_0xd25cx54[_0xa295[222]]);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= _0xa295[233];_0xd25cx53+= util[_0xa295[170]](_0xa295[252],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx55,_0xd25cx55);_0xd25cx53+= _0xa295[235]});_0xd25cx53+= _0xa295[227];break;case _0xa295[243]:_0xd25cx53= _0xa295[220];_0xd25cx53+= util[_0xa295[170]](_0xa295[231],_0xd25cx54[_0xa295[222]]);_0xd25cx53+= util[_0xa295[170]](_0xa295[253],_0xd25cx54[_0xa295[38]]+ 1);_[_0xa295[197]](_0xd25cx54[_0xa295[232]],function(_0xd25cx55){_0xd25cx53+= util[_0xa295[170]](_0xa295[241],_0xd25cx55,_0xd25cx55)});_0xd25cx53+= _0xa295[242];break};_0xd25cx53+= _0xa295[245];_0xd25cx53+= util[_0xa295[170]](_0xa295[254],_0xd25cx54[_0xa295[38]]+ 1,_0xd25cx54[_0xa295[222]]);return _0xd25cx53}};_0xd25cx50= Mustache[_0xa295[78]](_0xd25cx50,_0xd25cx52);return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]](_0xd25cx50)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[256]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return ChatWebsite[_0xa295[79]](_0xd25cx2a[_0xa295[50]][_0xa295[49]],{include:[{model:ChatProactiveAction}]})[_0xa295[42]](function(_0xd25cx2f){if(!_0xd25cx2f){return _0xd25cx2b[_0xa295[41]](400)[_0xa295[255]]({})};return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]](_0xd25cx2f.ChatProactiveActions)})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2c(_0xd25cx2d)})};exports[_0xa295[257]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){return ChatRoom[_0xa295[79]](_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[259]][_0xa295[111]])[_0xa295[42]](function(_0xd25cx37){if(!_0xd25cx37){return _0xd25cx2b[_0xa295[41]](400)[_0xa295[255]]({})};if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[259]][_0xa295[88]](_0xa295[258])&& _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[259]][_0xa295[88]](_0xa295[128])){return _0xd25cx37[_0xa295[134]]({rating:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[259]][_0xa295[258]],ratingMessage:_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[259]][_0xa295[128]]})};return})[_0xa295[42]](function(){return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]]({})})[_0xa295[39]](function(_0xd25cx2d){return _0xd25cx2b[_0xa295[41]](400)[_0xa295[255]](_0xd25cx2d)})};exports[_0xa295[260]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];if(_0xd25cx2a[_0xa295[102]]&& _0xd25cx2a[_0xa295[102]][_0xa295[97]]){if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xa295[88]](_0xd25cx39)&& _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[88]](_0xa295[108])&& _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]> 0){return ReportChatSession[_0xa295[262]]({where:{visitorid:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]],leaveAt:null}})[_0xa295[42]](function(_0xd25cx57){if(!_0xd25cx57){return};return _0xd25cx57[_0xa295[134]]({abandon:true,leaveAt:moment()[_0xa295[170]](_0xa295[261])})})[_0xa295[42]](function(){return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]]({})})[_0xa295[39]](function(_0xd25cx2d){_0xd25cx2b[_0xa295[41]](500)[_0xa295[255]]({})})}};return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]]({})};exports[_0xa295[263]]= function(_0xd25cx2a,_0xd25cx2b,_0xd25cx2c){if(!_0xd25cx2a[_0xa295[102]][_0xa295[97]]){_0xd25cx2a[_0xa295[102]][_0xa295[97]]= {}};if(!_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx2a[_0xa295[50]][_0xa295[49]]]){_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx2a[_0xa295[50]][_0xa295[49]]]= {}};var _0xd25cx39=_0xd25cx2a[_0xa295[50]][_0xa295[49]];var _0xd25cx58;var _0xd25cx35={};var _0xd25cx59=[];return ChatWebsite[_0xa295[79]](_0xd25cx39)[_0xa295[42]](function(_0xd25cx46){if(!_0xd25cx46){return _0xd25cx2b[_0xa295[200]](500)};_0xd25cx58= _0xd25cx46;return _0xd25cx58[_0xa295[273]]({include:[{model:ChatQueue,include:[{model:Agent}]},{model:Agent},{model:Interval,include:[{all:true}]}]})})[_0xa295[42]](function(_0xd25cx5b){_[_0xa295[197]](_0xd25cx5b,function(_0xd25cx5c){if(checkAppInterval(_0xd25cx5c)){if(_0xd25cx5c[_0xa295[267]]=== _0xa295[268]){if(_0xd25cx5c[_0xa295[32]][_0xa295[88]](_0xa295[269])&& _0xd25cx5c[_0xa295[32]][_0xa295[269]][_0xa295[120]]> 0){_0xd25cx59= _[_0xa295[271]](_[_0xa295[201]](_0xd25cx59,_[_0xa295[270]](_0xd25cx5c[_0xa295[32]].Users,_0xa295[49])))}}else {if(_0xd25cx5c[_0xa295[267]]=== _0xa295[121]){_0xd25cx59[_0xa295[196]](_0xd25cx5c[_0xa295[23]][_0xa295[49]]);_0xd25cx59= _[_0xa295[271]](_0xd25cx59)}}}});return Agent[_0xa295[272]]({where:{online:true,id:{$in:_0xd25cx59}}})})[_0xa295[42]](function(_0xd25cx5a){if(_0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[115]]){_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[115]]= _0xd25cx2a[_0xa295[89]][_0xa295[116]][_0xa295[115]]=== _0xa295[55]?true:false};_0xd25cx35= {success:true,has_session_saf:null,signed_up:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]?true:false,fullname:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[117]]|| _0xa295[114],email:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[118]]|| _0xa295[114],avatar:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[119]]|| _0xa295[114],open_state:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[115]]|| _0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]?true:false,online:_0xd25cx5a[_0xa295[266]]?true:false,is_unserved:false,room_id:0};if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]){return ChatRoom[_0xa295[110]]({where:{ChatVisitorId:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]],status:_0xa295[113],token:{$ne:_0xa295[114]}}})};return})[_0xa295[42]](function(_0xd25cx37){if(_0xd25cx37){_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[111]]= _0xd25cx37[_0xa295[49]];_0xd25cx35[_0xa295[111]]= _0xd25cx37[_0xa295[49]];_0xd25cx35[_0xa295[112]]= true}else {_0xd25cx35[_0xa295[112]]= false};if(_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]]){return ChatVisitor[_0xa295[110]]({where:{id:_0xd25cx2a[_0xa295[102]][_0xa295[97]][_0xd25cx39][_0xa295[108]],status:_0xa295[109]}})};return})[_0xa295[42]](function(_0xd25cx36){if(_0xd25cx36){_0xd25cx35[_0xa295[103]]= true};return _0xd25cx2b[_0xa295[41]](200)[_0xa295[255]](_0xd25cx35)})[_0xa295[39]](function(_0xd25cx2d){console[_0xa295[265]](_0xa295[264],_0xd25cx2d);return _0xd25cx2b[_0xa295[41]](500)[_0xa295[255]]({})})};function checkAppInterval(_0xd25cx5c){var _0xd25cx5e=true;if(_0xd25cx5c[_0xa295[37]]){for(var _0xd25cx5f=0;_0xd25cx5f< _0xd25cx5c[_0xa295[37]][_0xa295[274]][_0xa295[120]];_0xd25cx5f++){if(isIntervalValid(splitInterval(_0xd25cx5c[_0xa295[37]][_0xa295[274]][_0xd25cx5f][_0xa295[275]]))){break}else {_0xd25cx5e= false}}}else {if(!isIntervalValid(splitInterval(_0xd25cx5c[_0xa295[275]]))){_0xd25cx5e= false}};return _0xd25cx5e}function splitInterval(_0xd25cx61){var _0xd25cx62={};var _0xd25cx63=_0xd25cx61[_0xa295[276]](_0xa295[162]);var _0xd25cx64;_0xd25cx63[_0xa295[197]](function(_0xd25cx54,_0xd25cx65){switch(_0xd25cx65){case 0:if(_0xd25cx54!== _0xa295[224]){_0xd25cx64= _0xd25cx54[_0xa295[276]](_0xa295[277]);_0xd25cx62[_0xa295[278]]= moment(_0xd25cx64[0],_0xa295[279]);_0xd25cx62[_0xa295[280]]= moment(_0xd25cx64[1],_0xa295[279])}else {_0xd25cx62[_0xa295[278]]= null;_0xd25cx62[_0xa295[280]]= null};break;case 1:if(_0xd25cx54!== _0xa295[224]){_0xd25cx64= _0xd25cx54[_0xa295[276]](_0xa295[277]);_0xd25cx62[_0xa295[281]]= weekDaysCollection[_0xd25cx64[0]];_0xd25cx62[_0xa295[282]]= _0xd25cx64[1]?weekDaysCollection[_0xd25cx64[1]]:null}else {_0xd25cx62[_0xa295[281]]= null;_0xd25cx62[_0xa295[282]]= null};break;case 2:if(_0xd25cx54!== _0xa295[224]){_0xd25cx64= _0xd25cx54[_0xa295[276]](_0xa295[277]);_0xd25cx62[_0xa295[283]]= _0xd25cx64[0];_0xd25cx62[_0xa295[284]]= _0xd25cx64[1]?_0xd25cx64[1]:null}else {_0xd25cx62[_0xa295[283]]= null;_0xd25cx62[_0xa295[284]]= null};break;case 3:if(_0xd25cx54!== _0xa295[224]){_0xd25cx64= _0xd25cx54[_0xa295[276]](_0xa295[277]);_0xd25cx62[_0xa295[285]]= monthsCollection[_0xd25cx64[0]];_0xd25cx62[_0xa295[286]]= _0xd25cx64[1]?monthsCollection[_0xd25cx64[1]]:null}else {_0xd25cx62[_0xa295[285]]= null;_0xd25cx62[_0xa295[286]]= null};break;default:}});return _0xd25cx62}function isIntervalValid(_0xd25cx61){var _0xd25cx67=moment()[_0xa295[170]](_0xa295[279]);var _0xd25cx68=moment()[_0xa295[170]](_0xa295[287]);var _0xd25cx69=moment()[_0xa295[170]](_0xa295[288]);var _0xd25cx6a=moment()[_0xa295[170]](_0xa295[289]);var _0xd25cx6b,_0xd25cx6c,_0xd25cx6d,_0xd25cx6e;var _0xd25cx6f=[1,2,3,4,5,6,7,8,9,10,11,12];var _0xd25cx70=[1,2,3,4,5,6,7];var _0xd25cx71=[];for(var _0xd25cx72=1;_0xd25cx72<= 31;_0xd25cx72++){_0xd25cx71[_0xa295[196]](_0xd25cx72)};_0xd25cx6b= (_0xd25cx61[_0xa295[278]]&& _0xd25cx61[_0xa295[280]])?moment(_0xd25cx67,_0xa295[279])[_0xa295[290]](moment(_0xd25cx61[_0xa295[278]],_0xa295[279]),moment(_0xd25cx61[_0xa295[280]],_0xa295[279])):true;if(_0xd25cx61[_0xa295[281]]){if(_0xd25cx61[_0xa295[282]]){var _0xd25cx73=_[_0xa295[291]](_0xd25cx70,function(_0xd25cx74){return (_0xd25cx74>= _0xd25cx61[_0xa295[281]])&& (_0xd25cx74<= _0xd25cx61[_0xa295[282]])});_0xd25cx6c= (_0xd25cx73[_0xa295[292]](parseInt(_0xd25cx68))!==  -1)?true:false}else {_0xd25cx6c= (parseInt(_0xd25cx68)=== _0xd25cx61[_0xa295[281]])?true:false}}else {_0xd25cx6c= true};if(_0xd25cx61[_0xa295[283]]){if(_0xd25cx61[_0xa295[284]]){var _0xd25cx75=_[_0xa295[291]](_0xd25cx71,function(_0xd25cx74){return (_0xd25cx74>= _0xd25cx61[_0xa295[283]])&& (_0xd25cx74<= _0xd25cx61[_0xa295[284]])});_0xd25cx6d= (_0xd25cx75[_0xa295[292]](parseInt(_0xd25cx69))!==  -1)?true:false}else {_0xd25cx6d= (parseInt(_0xd25cx69)=== _0xd25cx61[_0xa295[283]])?true:false}}else {_0xd25cx6d= true};if(_0xd25cx61[_0xa295[285]]){if(_0xd25cx61[_0xa295[286]]){var _0xd25cx76=_[_0xa295[291]](_0xd25cx6f,function(_0xd25cx74){return (_0xd25cx74>= _0xd25cx61[_0xa295[285]])&& (_0xd25cx74<= _0xd25cx61[_0xa295[286]])});_0xd25cx6e= (_0xd25cx76[_0xa295[292]](parseInt(_0xd25cx6a))!==  -1)?true:false}else {_0xd25cx6e= (parseInt(_0xd25cx6a)=== _0xd25cx61[_0xa295[285]])?true:false}}else {_0xd25cx6e= true};return _0xd25cx6b&& _0xd25cx6c&& _0xd25cx6d&& _0xd25cx6e}
\ No newline at end of file
+var _0x9352=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6A\x73\x6D\x69\x6E","\x6D\x75\x73\x74\x61\x63\x68\x65","\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x70\x61\x74\x68","\x6D\x64\x35","\x66\x73","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x69\x70\x61\x64\x64\x72\x2E\x6A\x73","\x67\x65\x6F\x69\x70\x2D\x6C\x69\x74\x65","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x73\x63\x68\x65\x64\x75\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4C\x69\x63\x65\x6E\x73\x65","\x58\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67","\x43\x6F\x6E\x74\x61\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x75\x70\x6C\x6F\x61\x64\x65\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x71\x75\x65\x72\x79","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x73\x73\x69\x6F\x6E","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x4F\x50\x45\x4E","","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x61\x76\x61\x74\x61\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x6E\x61\x6D\x65","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x65\x73\x73\x61\x67\x65","\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x69\x73\x41\x72\x72\x61\x79","\x2C","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x63\x68\x61\x74","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x72\x65\x73\x73","\x69\x6E\x69\x74","\x62\x61\x73\x65\x36\x34","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x55\x73\x65\x72\x49\x64","\x72\x65\x70\x6C\x61\x63\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x65\x78\x74\x2F\x63\x73\x76","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x63\x75\x73\x74\x6F\x6D","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x67\x6F","\x6C\x6F\x67\x6F","\x69\x6D\x61\x67\x65\x73\x2F","\x26\x75\x70\x6C\x6F\x61\x64\x65\x64","\x69\x6D\x61\x67\x65\x73\x2F\x6D\x6F\x74\x69\x6F\x6E\x4C\x6F\x67\x6F\x2E\x70\x6E\x67","\x64\x65\x66\x61\x75\x6C\x74\x57\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x77\x68\x69\x74\x65\x4C\x61\x62\x65\x6C","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x5F\x62\x6C\x61\x6E\x6B\x22\x3E\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x78\x43\x41\x4C\x4C\x59\x3C\x2F\x61\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x6A\x73\x6F\x6E\x70","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x52\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x69\x6E\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x65\x72\x72","\x6C\x6F\x67","\x63\x6F\x75\x6E\x74","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x69\x73\x56\x61\x6C\x69\x64\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74","\x2D","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F"];_0x9352[0];var _=require(_0x9352[1]);var jsmin=require(_0x9352[2])[_0x9352[2]];var Mustache=require(_0x9352[3]);var querystring=require(_0x9352[4]);var path=require(_0x9352[5]);var md5=require(_0x9352[6]);var fs=require(_0x9352[7]);var UAParser=require(_0x9352[8]);var uaParser= new UAParser();var languageParser=require(_0x9352[9]);var ipaddr=require(_0x9352[10]);var geoip=require(_0x9352[11]);var csv=require(_0x9352[12]);var util=require(_0x9352[13]);var moment=require(_0x9352[14]);var Scheduler=require(_0x9352[15]);var config=require(_0x9352[16]);var xchatty_components=require(_0x9352[17]);var Util=require(_0x9352[18]);var license=require(_0x9352[19]);var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,messaging:false,cm:false,dialer:false,jscripty:false,update:false,custom:false,description:_0x9352[20]};var sequelize=require(_0x9352[22])[_0x9352[21]];var User=require(_0x9352[22])[_0x9352[23]];var Agent=require(_0x9352[22])[_0x9352[23]];var ChatRoom=require(_0x9352[22])[_0x9352[24]];var ChatEnquiry=require(_0x9352[22])[_0x9352[25]];var ChatVisitor=require(_0x9352[22])[_0x9352[26]];var ChatMessage=require(_0x9352[22])[_0x9352[27]];var ChatWebsite=require(_0x9352[22])[_0x9352[28]];var ChatWebsitesField=require(_0x9352[22])[_0x9352[29]];var ChatProactiveAction=require(_0x9352[22])[_0x9352[30]];var ReportChatSession=require(_0x9352[22])[_0x9352[31]];var ChatQueue=require(_0x9352[22])[_0x9352[32]];var License=require(_0x9352[22])[_0x9352[33]];var Xchatty=require(_0x9352[22])[_0x9352[34]];var Setting=require(_0x9352[22])[_0x9352[35]];const Contact=require(_0x9352[22])[_0x9352[36]];var Interval=require(_0x9352[22])[_0x9352[37]];const weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};const monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var id=1;exports[_0x9352[38]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return Xchatty[_0x9352[43]]()[_0x9352[42]](function(_0x8408x2e){return _0x8408x2b[_0x9352[41]](200)[_0x9352[40]](_0x8408x2e)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[44]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){ChatWebsite[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]])[_0x9352[42]](function(_0x8408x2f){_0x8408x2b[_0x9352[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x9352[45],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x9352[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x8408x30=xchatty_components[_0x9352[48]];var _0x8408x31={websiteId:_0x8408x2a[_0x9352[50]][_0x9352[49]],rootPath:Util[_0x9352[52]](_0x8408x2f[_0x9352[51]])+ _0x9352[53],signedUp:_0x9352[54],windowFocused:_0x9352[54],isNewPage:_0x9352[55],processingSignUp:_0x9352[54],processingEnquiry:_0x9352[54],processingSend:_0x9352[54],processingRating:_0x9352[54],visitorFullname:_0x9352[56],visitorAvatar:_0x9352[56],timerReadMessages:_0x9352[57],timerCheckStatus:_0x9352[57],isOnline:_0x9352[54],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0x9352[55],muteNotificationSoundOnce:_0x9352[54],assetBase:Util[_0x9352[52]](_0x8408x2f[_0x9352[51]])+ _0x9352[58],hasSessionSaf:_0x9352[54],restoreOpenState:_0x9352[54],animateHover:_0x8408x2f[_0x9352[59]],hideEmail:_0x9352[54],hideOffline:_0x9352[54],headerShape:_0x8408x2f[_0x9352[60]],HeaderOnline:_0x8408x2f[_0x9352[61]],OnlineMessage:_0x8408x2f[_0x9352[62]],UsernamePlaceholder:_0x8408x2f[_0x9352[63]],EmailPlaceholder:_0x8408x2f[_0x9352[64]],StartChatButtonText:_0x8408x2f[_0x9352[65]],OfflineMessage:_0x8408x2f[_0x9352[66]],HeaderOffline:_0x8408x2f[_0x9352[67]],EnquiryMessagePlaceholder:_0x8408x2f[_0x9352[68]],EnquiryButtonText:_0x8408x2f[_0x9352[69]],downloadTranscript:_0x8408x2f[_0x9352[70]],RatingMessage:_0x8408x2f[_0x9352[71]],RatingSend:_0x8408x2f[_0x9352[72]],RatingSkip:_0x8408x2f[_0x9352[73]],MessageAgentsBusy:_0x8408x2f[_0x9352[74]],NameTitle:_0x8408x2f[_0x9352[75]],EmailTitle:_0x8408x2f[_0x9352[76]],MessageTitle:_0x8408x2f[_0x9352[77]]};_0x8408x30= Mustache[_0x9352[78]](_0x8408x30,_0x8408x31);_0x8408x2b[_0x9352[40]](_0x8408x30)})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[80]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){ChatWebsite[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]])[_0x9352[42]](function(_0x8408x2f){_0x8408x2b[_0x9352[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x9352[81],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x9352[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x8408x32=xchatty_components[_0x9352[82]];var _0x8408x33={assetBase:Util[_0x9352[52]](_0x8408x2f[_0x9352[51]])+ _0x9352[58],color:_0x8408x2f[_0x9352[83]],colorFocus:_0x8408x2f[_0x9352[84]],colorButton:_0x8408x2f[_0x9352[85]]};_0x8408x32= Mustache[_0x9352[78]](_0x8408x32,_0x8408x33);_0x8408x2b[_0x9352[40]](_0x8408x32)})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[86]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){if(_0x8408x2a[_0x9352[89]][_0x9352[88]](_0x9352[87])){_0x8408x2b[_0x9352[95]](path[_0x9352[94]](config[_0x9352[90]],_0x9352[91],_0x9352[92],_0x8408x2a[_0x9352[89]][_0x9352[93]]))}else {_0x8408x2b[_0x9352[95]](path[_0x9352[94]](config[_0x9352[90]],_0x9352[91],_0x9352[96],_0x9352[97],_0x9352[98],_0x8408x2a[_0x9352[89]][_0x9352[93]]))}};exports[_0x9352[99]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){_0x8408x2b[_0x9352[47]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x9352[45],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x9352[46]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x8408x34=xchatty_components[_0x9352[100]];_0x8408x2b[_0x9352[40]](_0x8408x34)};exports[_0x9352[101]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){if(!_0x8408x2a[_0x9352[102]][_0x9352[97]]){_0x8408x2a[_0x9352[102]][_0x9352[97]]= {}};var _0x8408x35={};return Agent[_0x9352[43]]({where:{online:true,role:_0x9352[121]}})[_0x9352[42]](function(_0x8408x38){if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[115]]){_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[115]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[115]]=== _0x9352[55]?true:false};_0x8408x35= {success:true,has_session_saf:null,signed_up:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[111]]?true:false,fullname:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[117]]?_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[117]]:_0x9352[114],email:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[118]]?_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[118]]:_0x9352[114],avatar:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[119]]?_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[119]]:_0x9352[114],open_state:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[115]]|| _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[111]]?true:false,online:_0x8408x38[_0x9352[120]]?true:false,is_unserved:false,room_id:0};return})[_0x9352[42]](function(){if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[108]]){return ChatRoom[_0x9352[110]]({where:{ChatVisitorId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[108]],status:_0x9352[113],token:{$ne:_0x9352[114]}}})};return})[_0x9352[42]](function(_0x8408x37){if(_0x8408x37){_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[111]]= _0x8408x37[_0x9352[49]];_0x8408x35[_0x9352[111]]= _0x8408x37[_0x9352[49]];_0x8408x35[_0x9352[112]]= true}else {_0x8408x35[_0x9352[112]]= false};return})[_0x9352[42]](function(){if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[108]]){return ChatVisitor[_0x9352[110]]({where:{id:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[108]],status:_0x9352[109]}})};return})[_0x9352[42]](function(_0x8408x36){if(_0x8408x36){_0x8408x35[_0x9352[103]]= true};return _0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x35)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[122]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];var _0x8408x3a={where:{ChatRoomId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]},include:[{model:User,attributes:[_0x9352[49],_0x9352[123],_0x9352[117],_0x9352[118]]},{model:ChatVisitor,attributes:[_0x9352[49],_0x9352[117],_0x9352[118]]}]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[124]]=== _0x9352[54]){_0x8408x3a[_0x9352[125]][_0x9352[49]]= {$gt:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[126]]}};ChatMessage[_0x9352[43]](_0x8408x3a)[_0x9352[42]](function(_0x8408x3b){var _0x8408x3c={success:true,messages:_0x8408x3b,composing:false,composing_fullname:null};_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x3c)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[127]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];var _0x8408x3a={where:{ChatRoomId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]},include:[{model:User,attributes:[_0x9352[49],_0x9352[123],_0x9352[117],_0x9352[118]]},{model:ChatVisitor,attributes:[_0x9352[49],_0x9352[117],_0x9352[118]]}]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[124]]=== _0x9352[54]){_0x8408x3a[_0x9352[125]][_0x9352[49]]= {$gt:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[126]]}};ChatMessage[_0x9352[130]]({body:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[129]][_0x9352[128]],ChatRoomId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]],ChatVisitorId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]})[_0x9352[42]](function(_0x8408x3d){ChatMessage[_0x9352[43]](_0x8408x3a)[_0x9352[42]](function(_0x8408x3b){var _0x8408x3c={errors:[],success:true,data:_0x8408x3d,messages:_0x8408x3b};_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x3c)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[131]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];return ChatRoom[_0x9352[79]](_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]])[_0x9352[42]](function(_0x8408x37){return _0x8408x37[_0x9352[134]]({status:_0x9352[132],completeReason:_0x9352[133]})})[_0x9352[42]](function(){var _0x8408x3c={success:true,errors:[]};_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39]= {};_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x3c)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[135]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];var _0x8408x3e=uaParser[_0x9352[139]](_0x8408x2a[_0x9352[138]][_0x9352[137]])[_0x9352[136]]();var _0x8408x3f=languageParser[_0x9352[141]](_0x8408x2a[_0x9352[138]][_0x9352[140]]);var _0x8408x40=_0x8408x2a[_0x9352[138]][_0x9352[142]]?_0x8408x2a[_0x9352[138]][_0x9352[142]]:_0x8408x2a[_0x9352[144]][_0x9352[143]]|| _0x8408x2a[_0x9352[145]];var _0x8408x41={fullname:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[117]],email:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[118]],remote_address:_0x8408x40,user_agent:_0x8408x2a[_0x9352[138]][_0x9352[137]],visitor_language:_0x8408x2a[_0x9352[138]][_0x9352[140]],referer:_0x8408x2a[_0x9352[138]][_0x9352[147]],origin:_0x9352[148],browser:_0x8408x3e[_0x9352[149]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[149]][_0x9352[151]],engine:_0x8408x3e[_0x9352[152]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[152]][_0x9352[151]],os:_0x8408x3e[_0x9352[153]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[153]][_0x9352[151]],device:_0x8408x3e[_0x9352[155]][_0x9352[154]]?_0x8408x3e[_0x9352[155]][_0x9352[154]]+ _0x9352[150]+ _0x8408x3e[_0x9352[155]][_0x9352[156]]+ _0x9352[150]+ _0x8408x3e[_0x9352[155]][_0x9352[157]]:null,ChatWebsiteId:_0x8408x2a[_0x9352[89]][_0x9352[158]]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[159]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[160]]){_0x8408x41[_0x9352[159]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[159]];if(_[_0x9352[161]](_0x8408x41[_0x9352[159]])){_0x8408x41[_0x9352[159]]= _[_0x9352[94]](_0x8408x41[_0x9352[159]],_0x9352[162])};_0x8408x41[_0x9352[160]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[160]]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[163]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[164]]){_0x8408x41[_0x9352[163]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[163]];if(_[_0x9352[161]](_0x8408x41[_0x9352[163]])){_0x8408x41[_0x9352[163]]= _[_0x9352[94]](_0x8408x41[_0x9352[163]],_0x9352[162])};_0x8408x41[_0x9352[164]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[164]]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[165]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[166]]){_0x8408x41[_0x9352[165]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[165]];if(_[_0x9352[161]](_0x8408x41[_0x9352[165]])){_0x8408x41[_0x9352[165]]= _[_0x9352[94]](_0x8408x41[_0x9352[165]],_0x9352[162])};_0x8408x41[_0x9352[166]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[146]][_0x9352[166]]};var _0x8408x42,_0x8408x43,_0x8408x44;return ChatVisitor[_0x9352[130]](_0x8408x41)[_0x9352[42]](function(_0x8408x47){_0x8408x42= _0x8408x47;return ChatWebsite[_0x9352[79]](_0x8408x42.ChatWebsiteId)})[_0x9352[42]](function(_0x8408x46){_0x8408x43= _0x8408x46;if(_0x8408x43[_0x9352[175]]){return Contact[_0x9352[176]]({where:{email:_0x8408x42[_0x9352[118]]},defaults:{email:_0x8408x42[_0x9352[118]],firstName:_0x8408x42[_0x9352[117]],ListId:_0x8408x43[_0x9352[175]]}})}})[_0x9352[42]](function(){return ChatRoom[_0x9352[130]]({type:_0x9352[174],ChatVisitorId:_0x8408x42[_0x9352[49]],ChatWebsiteId:_0x8408x43[_0x9352[49]],contact:_0x8408x42[_0x9352[118]],website:_0x8408x43[_0x9352[123]]})})[_0x9352[42]](function(_0x8408x37){_0x8408x44= _0x8408x37;var _0x8408x45= new Scheduler({channel:_0x9352[167],uniqueid:util[_0x9352[170]](_0x9352[168],moment()[_0x9352[169]](),_0x8408x44[_0x9352[49]]),roomid:_0x8408x44[_0x9352[49]],websiteid:_0x8408x43[_0x9352[49]],websitename:_0x8408x43[_0x9352[123]],websiteaddress:_0x8408x43[_0x9352[171]],accountid:_0x8408x43[_0x9352[49]],accountname:_0x8408x43[_0x9352[123]],accountaddress:_0x8408x43[_0x9352[171]],visitorid:_0x8408x42[_0x9352[49]],visitorname:_0x8408x42[_0x9352[117]],visitoremail:_0x8408x42[_0x9352[118]]});_0x8408x45[_0x9352[172]]();_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[117]]= _0x8408x42[_0x9352[117]];_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[118]]= _0x8408x42[_0x9352[118]];_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[119]]= md5(_0x8408x42[_0x9352[118]]).toString(_0x9352[173]);_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]= _0x8408x42[_0x9352[49]];var _0x8408x3c={success:true,errors:[],chatVisitor:{id:_0x8408x42[_0x9352[49]]}};_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x3c)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[177]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];return ChatVisitor[_0x9352[79]](_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]])[_0x9352[42]](function(_0x8408x47){return _0x8408x47[_0x9352[134]]({status:_0x9352[109]})})[_0x9352[42]](function(){var _0x8408x3c={success:true,errors:[]};_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39]= {};_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]](_0x8408x3c)+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})};exports[_0x9352[178]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return sequelize[_0x9352[190]]()[_0x9352[42]](function(_0x8408x48){var _0x8408x40=_0x8408x2a[_0x9352[138]][_0x9352[142]]?_0x8408x2a[_0x9352[138]][_0x9352[142]]:_0x8408x2a[_0x9352[144]][_0x9352[143]]|| _0x8408x2a[_0x9352[145]];var _0x8408x3e=uaParser[_0x9352[139]](_0x8408x2a[_0x9352[138]][_0x9352[137]])[_0x9352[136]]();var _0x8408x3f=languageParser[_0x9352[141]](_0x8408x2a[_0x9352[138]][_0x9352[140]]);var _0x8408x41={fullname:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[117]],email:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[118]],remote_address:_0x8408x40,user_agent:_0x8408x2a[_0x9352[138]][_0x9352[137]],visitor_language:_0x8408x2a[_0x9352[138]][_0x9352[140]],browser:_0x8408x3e[_0x9352[149]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[149]][_0x9352[151]],engine:_0x8408x3e[_0x9352[152]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[152]][_0x9352[151]],os:_0x8408x3e[_0x9352[153]][_0x9352[123]]+ _0x9352[150]+ _0x8408x3e[_0x9352[153]][_0x9352[151]],device:_0x8408x3e[_0x9352[155]][_0x9352[154]]?_0x8408x3e[_0x9352[155]][_0x9352[154]]+ _0x9352[150]+ _0x8408x3e[_0x9352[155]][_0x9352[156]]+ _0x9352[150]+ _0x8408x3e[_0x9352[155]][_0x9352[157]]:null,referer:_0x8408x2a[_0x9352[138]][_0x9352[147]],origin:_0x9352[180],status:_0x9352[109],ChatWebsiteId:parseInt(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[181]],10),ChatEnquiry:{username:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[117]],email:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[118]],text:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[128]],ChatWebsiteId:parseInt(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[181]],10)}};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[182]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[183]]){_0x8408x41[_0x9352[182]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[182]];if(_[_0x9352[161]](_0x8408x41[_0x9352[182]])){_0x8408x41[_0x9352[182]]= _[_0x9352[94]](_0x8408x41[_0x9352[182]],_0x9352[162])};_0x8408x41[_0x9352[183]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[183]]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[184]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[185]]){_0x8408x41[_0x9352[184]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[184]];if(_[_0x9352[161]](_0x8408x41[_0x9352[184]])){_0x8408x41[_0x9352[184]]= _[_0x9352[94]](_0x8408x41[_0x9352[184]],_0x9352[162])};_0x8408x41[_0x9352[185]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[185]]};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[186]]&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[187]]){_0x8408x41[_0x9352[186]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[186]];if(_[_0x9352[161]](_0x8408x41[_0x9352[186]])){_0x8408x41[_0x9352[186]]= _[_0x9352[94]](_0x8408x41[_0x9352[186]],_0x9352[162])};_0x8408x41[_0x9352[187]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[179]][_0x9352[187]]};var _0x8408x42;return ChatVisitor[_0x9352[130]](_0x8408x41,{transaction:_0x8408x48,include:[{model:ChatEnquiry}]})[_0x9352[42]](function(_0x8408x47){_0x8408x42= _0x8408x47;return ChatWebsite[_0x9352[79]](_0x8408x42.ChatWebsiteId)})[_0x9352[42]](function(_0x8408x46){if(_0x8408x46[_0x9352[175]]){return Contact[_0x9352[176]]({where:{email:_0x8408x42[_0x9352[118]]},defaults:{email:_0x8408x42[_0x9352[118]],firstName:_0x8408x42[_0x9352[117]],ListId:_0x8408x46[_0x9352[175]]}})}})[_0x9352[42]](function(){_0x8408x48[_0x9352[189]]();_0x8408x2b[_0x9352[40]](_0x8408x2a[_0x9352[89]][_0x9352[104]]+ _0x9352[105]+ JSON[_0x9352[106]]({success:true,errors:[]})+ _0x9352[107])})[_0x9352[39]](function(_0x8408x2d){_0x8408x48[_0x9352[188]]();_0x8408x2c(_0x8408x2d)})})};exports[_0x9352[191]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39]&& _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]&& _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]){ChatMessage[_0x9352[43]]({where:{ChatRoomId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]},include:[{model:Agent,attributes:[_0x9352[49],_0x9352[117]]},{model:ChatVisitor,attributes:[_0x9352[49],_0x9352[117]]}]})[_0x9352[42]](function(_0x8408x3b){var _0x8408x49=[];_0x8408x3b[_0x9352[197]](function(_0x8408x3d){var _0x8408x4a={name:_0x8408x3d[_0x9352[192]]?_0x8408x3d[_0x9352[23]][_0x9352[117]]:_0x8408x3d[_0x9352[26]][_0x9352[117]],text:_0x8408x3d[_0x9352[194]][_0x9352[193]](/(\r\n|\n|\r)/gm,_0x9352[150]),date:_0x8408x3d[_0x9352[195]]};_0x8408x49[_0x9352[196]](_0x8408x4a)});var _0x8408x4b=csv(_0x8408x49);_0x8408x2b[_0x9352[157]](_0x9352[198])[_0x9352[41]](200)[_0x9352[40]](_0x8408x4b)})[_0x9352[39]](function(_0x8408x2d){_0x8408x2c(_0x8408x2d)})}};exports[_0x9352[199]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return Xchatty[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]])[_0x9352[42]](function(_0x8408x4c){if(!_0x8408x4c){return _0x8408x2b[_0x9352[200]](404)};return _0x8408x2b[_0x9352[40]](_0x8408x4c)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[130]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return Xchatty[_0x9352[130]](_0x8408x2a[_0x9352[194]])[_0x9352[42]](function(_0x8408x4c){return _0x8408x2b[_0x9352[41]](201)[_0x9352[40]](_0x8408x4c)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[134]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){if(_0x8408x2a[_0x9352[194]][_0x9352[49]]){delete _0x8408x2a[_0x9352[194]][_0x9352[49]]};return Xchatty[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]])[_0x9352[42]](function(_0x8408x4c){if(!_0x8408x4c){return _0x8408x2b[_0x9352[200]](404)};var _0x8408x4d=_[_0x9352[201]](_0x8408x4c,_0x8408x2a[_0x9352[194]]);_0x8408x4d[_0x9352[202]]()[_0x9352[42]](function(){return _0x8408x2b[_0x9352[41]](200)[_0x9352[40]](_0x8408x4c)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[203]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return Xchatty[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]])[_0x9352[42]](function(_0x8408x4c){if(!_0x8408x4c){return _0x8408x2b[_0x9352[200]](404)};_0x8408x4c[_0x9352[203]]()[_0x9352[42]](function(){return _0x8408x2b[_0x9352[200]](204)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[204]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x2f,_0x8408x4e,_0x8408x4f;var _0x8408x50=xchatty_components[_0x9352[205]];return ChatWebsite[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]],{include:[{all:true}]})[_0x9352[42]](function(_0x8408x43){_0x8408x2f= _0x8408x43;return Setting[_0x9352[79]](1)})[_0x9352[42]](function(_0x8408x56){_0x8408x4f= _0x8408x56;return License[_0x9352[79]](1)})[_0x9352[42]](function(_0x8408x51){if(_0x8408x51){_0x8408x4e= JSON[_0x9352[141]](license[_0x9352[208]](_0x8408x51[_0x9352[207]][_0x9352[206]],_0x8408x51[_0x9352[159]]))}else {_0x8408x4e= demoLicense};var _0x8408x52={rootPath:Util[_0x9352[52]](_0x8408x2f[_0x9352[51]])+ _0x9352[53],assetBase:Util[_0x9352[52]](_0x8408x2f[_0x9352[51]])+ _0x9352[58],websiteId:_0x8408x2f[_0x9352[49]],headerShape:_0x8408x2f[_0x9352[60]],enquiryEnable:_0x8408x2f[_0x9352[209]],onlineFields:_0x8408x2f[_0x9352[210]],logo:function(){if(_0x8408x4e[_0x9352[211]]&& !_0x8408x2f[_0x9352[212]]&& _0x8408x2f[_0x9352[213]]){return _0x9352[214]+ _0x8408x2f[_0x9352[213]]+ _0x9352[215]}else {return _0x9352[216]}},whiteLabel:function(){if(_0x8408x4e[_0x9352[211]]&& !_0x8408x2f[_0x9352[217]]){return _0x8408x2f[_0x9352[218]]}else {return _0x9352[219]}},renderedOnlineField:function(){var _0x8408x53=_0x9352[114];var _0x8408x54=this;switch(this[_0x9352[244]]){case _0x9352[228]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[221],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[223]]?_0x9352[224]:_0x9352[114]);_0x8408x53+= util[_0x9352[170]](_0x9352[225],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[226]],_0x8408x54[_0x9352[223]]?_0x9352[223]:_0x9352[114]);_0x8408x53+= _0x9352[227];break;case _0x9352[230]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[221],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[223]]?_0x9352[224]:_0x9352[114]);_0x8408x53+= util[_0x9352[170]](_0x9352[229],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[226]],_0x8408x54[_0x9352[223]]?_0x9352[223]:_0x9352[114]);_0x8408x53+= _0x9352[227];break;case _0x9352[236]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[231],_0x8408x54[_0x9352[222]]);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= _0x9352[233];_0x8408x53+= util[_0x9352[170]](_0x9352[234],_0x8408x54[_0x9352[38]]+ 1,_0x8408x55,_0x8408x55);_0x8408x53+= _0x9352[235]});_0x8408x53+= _0x9352[227];break;case _0x9352[238]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[231],_0x8408x54[_0x9352[222]]);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= _0x9352[233];_0x8408x53+= util[_0x9352[170]](_0x9352[237],_0x8408x54[_0x9352[38]]+ 1,_0x8408x55,_0x8408x55);_0x8408x53+= _0x9352[235]});_0x8408x53+= _0x9352[227];break;case _0x9352[243]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[239],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]]);_0x8408x53+= util[_0x9352[170]](_0x9352[240],_0x8408x54[_0x9352[38]]+ 1);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= util[_0x9352[170]](_0x9352[241],_0x8408x55,_0x8408x55)});_0x8408x53+= _0x9352[242];break};_0x8408x53+= _0x9352[245];_0x8408x53+= util[_0x9352[170]](_0x9352[246],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[222]]);return _0x8408x53},offlineFields:_0x8408x2f[_0x9352[247]],renderedOfflineField:function(){var _0x8408x53=_0x9352[114];var _0x8408x54=this;switch(this[_0x9352[244]]){case _0x9352[228]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[248],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[223]]?_0x9352[224]:_0x9352[114]);_0x8408x53+= util[_0x9352[170]](_0x9352[249],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[226]],_0x8408x54[_0x9352[223]]?_0x9352[223]:_0x9352[114]);_0x8408x53+= _0x9352[227];break;case _0x9352[230]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[248],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[223]]?_0x9352[224]:_0x9352[114]);_0x8408x53+= util[_0x9352[170]](_0x9352[250],_0x8408x54[_0x9352[38]],_0x8408x54[_0x9352[222]],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[226]],_0x8408x54[_0x9352[223]]?_0x9352[223]:_0x9352[114]);_0x8408x53+= _0x9352[227];break;case _0x9352[236]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[231],_0x8408x54[_0x9352[222]]);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= _0x9352[233];_0x8408x53+= util[_0x9352[170]](_0x9352[251],_0x8408x54[_0x9352[38]]+ 1,_0x8408x55,_0x8408x55);_0x8408x53+= _0x9352[235]});_0x8408x53+= _0x9352[227];break;case _0x9352[238]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[231],_0x8408x54[_0x9352[222]]);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= _0x9352[233];_0x8408x53+= util[_0x9352[170]](_0x9352[252],_0x8408x54[_0x9352[38]]+ 1,_0x8408x55,_0x8408x55);_0x8408x53+= _0x9352[235]});_0x8408x53+= _0x9352[227];break;case _0x9352[243]:_0x8408x53= _0x9352[220];_0x8408x53+= util[_0x9352[170]](_0x9352[231],_0x8408x54[_0x9352[222]]);_0x8408x53+= util[_0x9352[170]](_0x9352[253],_0x8408x54[_0x9352[38]]+ 1);_[_0x9352[197]](_0x8408x54[_0x9352[232]],function(_0x8408x55){_0x8408x53+= util[_0x9352[170]](_0x9352[241],_0x8408x55,_0x8408x55)});_0x8408x53+= _0x9352[242];break};_0x8408x53+= _0x9352[245];_0x8408x53+= util[_0x9352[170]](_0x9352[254],_0x8408x54[_0x9352[38]]+ 1,_0x8408x54[_0x9352[222]]);return _0x8408x53}};_0x8408x50= Mustache[_0x9352[78]](_0x8408x50,_0x8408x52);return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]](_0x8408x50)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[256]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return ChatWebsite[_0x9352[79]](_0x8408x2a[_0x9352[50]][_0x9352[49]],{include:[{model:ChatProactiveAction}]})[_0x9352[42]](function(_0x8408x2f){if(!_0x8408x2f){return _0x8408x2b[_0x9352[41]](400)[_0x9352[255]]({})};return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]](_0x8408x2f.ChatProactiveActions)})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2c(_0x8408x2d)})};exports[_0x9352[257]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){return ChatRoom[_0x9352[79]](_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[259]][_0x9352[111]])[_0x9352[42]](function(_0x8408x37){if(!_0x8408x37){return _0x8408x2b[_0x9352[41]](400)[_0x9352[255]]({})};if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[259]][_0x9352[88]](_0x9352[258])&& _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[259]][_0x9352[88]](_0x9352[128])){return _0x8408x37[_0x9352[134]]({rating:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[259]][_0x9352[258]],ratingMessage:_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[259]][_0x9352[128]]})};return})[_0x9352[42]](function(){return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]]({})})[_0x9352[39]](function(_0x8408x2d){return _0x8408x2b[_0x9352[41]](400)[_0x9352[255]](_0x8408x2d)})};exports[_0x9352[260]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];if(_0x8408x2a[_0x9352[102]]&& _0x8408x2a[_0x9352[102]][_0x9352[97]]){if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x9352[88]](_0x8408x39)&& _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[88]](_0x9352[108])&& _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]> 0){return ReportChatSession[_0x9352[262]]({where:{visitorid:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]],leaveAt:null}})[_0x9352[42]](function(_0x8408x57){if(!_0x8408x57){return};return _0x8408x57[_0x9352[134]]({abandon:true,leaveAt:moment()[_0x9352[170]](_0x9352[261])})})[_0x9352[42]](function(){return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]]({})})[_0x9352[39]](function(_0x8408x2d){_0x8408x2b[_0x9352[41]](500)[_0x9352[255]]({})})}};return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]]({})};exports[_0x9352[263]]= function(_0x8408x2a,_0x8408x2b,_0x8408x2c){if(!_0x8408x2a[_0x9352[102]][_0x9352[97]]){_0x8408x2a[_0x9352[102]][_0x9352[97]]= {}};if(!_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x2a[_0x9352[50]][_0x9352[49]]]){_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x2a[_0x9352[50]][_0x9352[49]]]= {}};var _0x8408x39=_0x8408x2a[_0x9352[50]][_0x9352[49]];var _0x8408x58;var _0x8408x35={};var _0x8408x59=[];return ChatWebsite[_0x9352[79]](_0x8408x39)[_0x9352[42]](function(_0x8408x46){if(!_0x8408x46){return _0x8408x2b[_0x9352[200]](500)};_0x8408x58= _0x8408x46;return _0x8408x58[_0x9352[273]]({include:[{model:ChatQueue,include:[{model:Agent}]},{model:Agent},{model:Interval,include:[{all:true}]}]})})[_0x9352[42]](function(_0x8408x5b){_[_0x9352[197]](_0x8408x5b,function(_0x8408x5c){if(checkAppInterval(_0x8408x5c)){if(_0x8408x5c[_0x9352[267]]=== _0x9352[268]){if(_0x8408x5c[_0x9352[32]][_0x9352[88]](_0x9352[269])&& _0x8408x5c[_0x9352[32]][_0x9352[269]][_0x9352[120]]> 0){_0x8408x59= _[_0x9352[271]](_[_0x9352[201]](_0x8408x59,_[_0x9352[270]](_0x8408x5c[_0x9352[32]].Users,_0x9352[49])))}}else {if(_0x8408x5c[_0x9352[267]]=== _0x9352[121]){_0x8408x59[_0x9352[196]](_0x8408x5c[_0x9352[23]][_0x9352[49]]);_0x8408x59= _[_0x9352[271]](_0x8408x59)}}}});return Agent[_0x9352[272]]({where:{online:true,id:{$in:_0x8408x59}}})})[_0x9352[42]](function(_0x8408x5a){if(_0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[115]]){_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[115]]= _0x8408x2a[_0x9352[89]][_0x9352[116]][_0x9352[115]]=== _0x9352[55]?true:false};_0x8408x35= {success:true,has_session_saf:null,signed_up:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]?true:false,fullname:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[117]]|| _0x9352[114],email:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[118]]|| _0x9352[114],avatar:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[119]]|| _0x9352[114],open_state:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[115]]|| _0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]?true:false,online:_0x8408x5a[_0x9352[266]]?true:false,is_unserved:false,room_id:0};if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]){return ChatRoom[_0x9352[110]]({where:{ChatVisitorId:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]],status:_0x9352[113],token:{$ne:_0x9352[114]}}})};return})[_0x9352[42]](function(_0x8408x37){if(_0x8408x37){_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[111]]= _0x8408x37[_0x9352[49]];_0x8408x35[_0x9352[111]]= _0x8408x37[_0x9352[49]];_0x8408x35[_0x9352[112]]= true}else {_0x8408x35[_0x9352[112]]= false};if(_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]]){return ChatVisitor[_0x9352[110]]({where:{id:_0x8408x2a[_0x9352[102]][_0x9352[97]][_0x8408x39][_0x9352[108]],status:_0x9352[109]}})};return})[_0x9352[42]](function(_0x8408x36){if(_0x8408x36){_0x8408x35[_0x9352[103]]= true};return _0x8408x2b[_0x9352[41]](200)[_0x9352[255]](_0x8408x35)})[_0x9352[39]](function(_0x8408x2d){console[_0x9352[265]](_0x9352[264],_0x8408x2d);return _0x8408x2b[_0x9352[41]](500)[_0x9352[255]]({})})};function checkAppInterval(_0x8408x5c){var _0x8408x5e=true;if(_0x8408x5c[_0x9352[37]]){for(var _0x8408x5f=0;_0x8408x5f< _0x8408x5c[_0x9352[37]][_0x9352[274]][_0x9352[120]];_0x8408x5f++){if(Util[_0x9352[276]](splitInterval(_0x8408x5c[_0x9352[37]][_0x9352[274]][_0x8408x5f][_0x9352[275]]))){break}else {_0x8408x5e= false}}}else {if(!Util[_0x9352[276]](splitInterval(_0x8408x5c[_0x9352[275]]))){_0x8408x5e= false}};return _0x8408x5e}function splitInterval(_0x8408x61){var _0x8408x62={};var _0x8408x63=_0x8408x61[_0x9352[277]](_0x9352[162]);var _0x8408x64;_0x8408x63[_0x9352[197]](function(_0x8408x54,_0x8408x65){switch(_0x8408x65){case 0:if(_0x8408x54!== _0x9352[224]){_0x8408x64= _0x8408x54[_0x9352[277]](_0x9352[278]);_0x8408x62[_0x9352[279]]= moment(_0x8408x64[0],_0x9352[280]);_0x8408x62[_0x9352[281]]= moment(_0x8408x64[1],_0x9352[280])}else {_0x8408x62[_0x9352[279]]= null;_0x8408x62[_0x9352[281]]= null};break;case 1:if(_0x8408x54!== _0x9352[224]){_0x8408x64= _0x8408x54[_0x9352[277]](_0x9352[278]);_0x8408x62[_0x9352[282]]= weekDaysCollection[_0x8408x64[0]];_0x8408x62[_0x9352[283]]= _0x8408x64[1]?weekDaysCollection[_0x8408x64[1]]:null}else {_0x8408x62[_0x9352[282]]= null;_0x8408x62[_0x9352[283]]= null};break;case 2:if(_0x8408x54!== _0x9352[224]){_0x8408x64= _0x8408x54[_0x9352[277]](_0x9352[278]);_0x8408x62[_0x9352[284]]= _0x8408x64[0];_0x8408x62[_0x9352[285]]= _0x8408x64[1]?_0x8408x64[1]:null}else {_0x8408x62[_0x9352[284]]= null;_0x8408x62[_0x9352[285]]= null};break;case 3:if(_0x8408x54!== _0x9352[224]){_0x8408x64= _0x8408x54[_0x9352[277]](_0x9352[278]);_0x8408x62[_0x9352[286]]= monthsCollection[_0x8408x64[0]];_0x8408x62[_0x9352[287]]= _0x8408x64[1]?monthsCollection[_0x8408x64[1]]:null}else {_0x8408x62[_0x9352[286]]= null;_0x8408x62[_0x9352[287]]= null};break;default:}});return _0x8408x62}
\ No newline at end of file