Built motion from commit 27af9f03b.|1.0.28
[motion.git] / server / config / ami / ami.js
index e6ef4b9..e5aa2aa 100644 (file)
@@ -1 +1 @@
-var _0xd8e4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x66\x73","\x70\x61\x74\x68","\x2E\x2E\x2F\x75\x74\x69\x6C","\x2E\x2F\x75\x74\x69\x6C\x73","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x2D\x70\x72\x6F\x63\x65\x73\x73\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x66\x73\x2D\x65\x78\x74\x72\x61","\x6B\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x61\x6D\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x66\x61\x78","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x65\x76\x65\x6E\x74\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x73\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x74\x72\x75\x6E\x6B\x73\x20\x61\x72\x72\x61\x79\x3A","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6E\x61\x6D\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x54\x72\x75\x6E\x6B","\x70\x6F\x72\x74","\x61\x73\x74\x65\x72\x69\x73\x6B","\x68\x6F\x73\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x61\x73\x74\x65\x72\x69\x73\x6B\x2D\x6D\x61\x6E\x61\x67\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x71","\x69\x70","\x72\x65\x64\x69\x73\x50\x77\x64","\x61\x75\x74\x68","\x72\x65\x64\x69\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x65\x76\x65\x6E\x74\x73","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x76\x74","\x64\x61\x74\x61","\x6E\x65\x65\x64\x41\x6D\x69","\x6A\x6F\x62\x20\x65\x72\x72\x6F\x72","\x70\x72\x6F\x63\x65\x73\x73","\x6E\x6F\x77","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x6B\x75\x65\x20\x71\x75\x65\x75\x65\x20\x6A\x6F\x62\x20\x65\x72\x72\x6F\x72","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4F\x6E\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x20\x71\x75\x65\x75\x65\x73\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6F\x6E","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x6B\x65\x65\x70\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x67\x63","\x47\x61\x72\x62\x61\x67\x65\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E\x20\x75\x6E\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x2E\x20\x20\x50\x61\x73\x73\x20\x2D\x2D\x65\x78\x70\x6F\x73\x65\x2D\x67\x63\x20","\x77\x68\x65\x6E\x20\x6C\x61\x75\x6E\x63\x68\x69\x6E\x67\x20\x6E\x6F\x64\x65\x20\x74\x6F\x20\x65\x6E\x61\x62\x6C\x65\x20\x66\x6F\x72\x63\x65\x64\x20\x67\x61\x72\x62\x61\x67\x65\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E\x2E","\x77\x61\x72\x6E","\x65\x78\x69\x74","\x63\x6F\x64\x65\x20\x65\x78\x69\x74","\x64\x65\x62\x75\x67","\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6C\x6F\x73\x65","\x63\x64\x72\x69\x6E\x66\x6F","\x63\x64\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x63\x64\x72\x69\x6E\x66\x6F\x20\x65\x72\x72\x6F\x72\x3A","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65\x20\x65\x72\x72\x6F\x72\x3A","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72\x3A","\x72\x65\x67\x69\x73\x74\x72\x79","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x72\x65\x67\x69\x73\x74\x72\x79\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x65\x78\x74\x72\x61\x76\x61\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x55\x49\x44","\x68\x61\x73\x51\x75\x65\x75\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x68\x61\x6E\x67\x75\x70\x72\x65\x71\x75\x65\x73\x74","\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x70\x72\x65\x76\x69\x6F\x75\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x6C\x61\x73\x74\x61\x67\x69\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2C","\x73\x70\x6C\x69\x74","\x6C\x61\x73\x74\x64\x61\x74\x61","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x68\x61\x6E\x67\x75\x70\x72\x65\x71\x75\x65\x73\x74\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x46\x6F\x75\x6E\x64\x20\x76\x69\x64\x65\x6F\x6F\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x66\x6F\x72\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x61\x6C\x6C\x69\x6E\x67\x20\x74\x72\x69\x67\x67\x65\x72\x2E\x2E\x2E","\x76\x69\x64\x65\x6F\x4F\x6E\x55\x72\x6C","\x76\x69\x64\x65\x6F\x4F\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x64\x65\x73\x74\x63\x68\x61\x6E\x6E\x65\x6C","\x64\x69\x61\x6C\x65\x6E\x64","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x6A\x65\x63\x74\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x74\x72\x61\x6E\x73\x66\x65\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x65\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65","\x65\x6D\x69\x74","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x75\x6E\x69\x71\x75\x65\x69\x64","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x64\x69\x61\x6C\x62\x65\x67\x69\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x69\x61\x6C\x62\x65\x67\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x69\x61\x6C\x65\x6E\x64\x20\x65\x72\x72\x6F\x72\x3A","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78\x20\x65\x72\x72\x6F\x72\x3A","\x73\x65\x6E\x64\x66\x61\x78","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x73\x65\x6E\x64\x66\x61\x78\x20\x65\x72\x72\x6F\x72\x3A","\x66\x61\x78\x73\x74\x61\x74\x75\x73","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x66\x61\x78\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72\x3A","\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x73\x65\x74","\x61\x67\x69","\x64\x69\x61\x6C","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52","\x46\x41\x49\x4C\x45\x44","\x41\x4E\x53\x57\x45\x52\x45\x44","\x42\x55\x53\x59","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x2D\x2D","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x65\x78\x74\x65\x6E","\x63\x6F\x6E\x74\x65\x78\x74","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x6E\x65\x6C","","\x63\x68\x61\x6E\x6E\x65\x6C\x73\x74\x61\x74\x65","\x74\x6F\x4E\x75\x6D\x62\x65\x72","\x44\x4F\x43\x55\x4D\x45\x4E\x54\x41\x54\x49\x4F\x4E","\x36","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6E\x62\x6F\x75\x6E\x64","\x74\x69\x67\x65\x72\x64\x69\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x71\x75\x65\x75\x65\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x65\x78\x69\x74\x77\x69\x74\x68\x6B\x65\x79","\x71\x75\x65\x75\x65\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x61\x70\x70\x64\x61\x74\x61","\x63\x64\x72\x28","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x3D","\x6D\x61\x74\x63\x68","\x63\x61\x6C\x6C\x65\x72\x69\x64\x28\x6E\x75\x6D\x29","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x28\x6E\x61\x6D\x65\x29","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6D\x6F\x74\x69\x6F\x6E\x5F\x76\x69\x64\x65\x6F\x5F\x72\x6F\x6F\x6D\x5F\x69\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x72\x69\x61\x62\x6C\x65","\x53\x65\x74\x74\x69\x6E\x67\x20\x76\x69\x64\x65\x6F\x6F\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x66\x6F\x72\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x76\x61\x6C\x75\x65","\x72\x65\x70\x6C\x61\x63\x65","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x6A\x6F\x69\x6E\x65\x6D\x70\x74\x79","\x65\x6E\x64\x74\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x73\x65\x63\x6F\x6E\x64\x73","\x64\x69\x66\x66","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x63\x68\x61\x6E\x6E\x65\x6C\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x73\x74\x61\x74\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x73\x74\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x65\x78\x74\x65\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x65\x78\x74\x65\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x76\x61\x72\x73\x65\x74","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x76\x61\x72\x73\x65\x74\x20\x65\x72\x72\x6F\x72\x3A","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x68\x61\x6E\x67\x75\x70","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x68\x61\x6E\x67\x75\x70\x20\x65\x72\x72\x6F\x72\x3A","\x6C\x61\x73\x74\x50\x61\x75\x73\x65\x41\x74","\x62\x6F\x64\x79","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x31","\x23","\x73\x6C\x69\x63\x65","\x69\x64","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65","\x66\x69\x6C\x74\x65\x72","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x64\x61\x74\x61\x32","\x72\x6F\x6C\x65","\x64\x61\x74\x61\x33","\x70\x75\x73\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x75\x70\x64\x61\x74\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x61\x67\x65\x6E\x74\x55\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x41\x43\x57","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x61\x63\x77","\x41\x6C\x72\x65\x61\x64\x79\x20\x50\x61\x75\x73\x65\x20\x4F\x66\x66","\x66\x69\x6E\x64\x4F\x6E\x65","\x25\x73\x25\x73","\x50\x61\x75\x73\x65","\x61\x6C\x6C","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x6F\x6E\x6C\x69\x6E\x65","\x4C\x4F\x47\x49\x4E","\x6D\x65\x73\x73\x61\x67\x65","\x55\x6E\x61\x62\x6C\x65\x20\x74\x6F\x20\x61\x64\x64\x20\x69\x6E\x74\x65\x72\x66\x61\x63\x65\x3A\x20\x41\x6C\x72\x65\x61\x64\x79\x20\x74\x68\x65\x72\x65","\x4C\x6F\x67\x69\x6E\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72\x20\x66\x6F\x72","\x51\x75\x65\x75\x65\x41\x64\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x6C\x6F\x67\x69\x6E\x49\x6E\x50\x61\x75\x73\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x73\x73\x69\x67\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x61\x67\x65\x6E\x74","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\x52\x65\x61\x6C\x74\x69\x6D\x65\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72\x20\x66\x6F\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x64\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x71\x75\x65\x75\x65\x49\x64","\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x73\x6D\x73\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x47\x65\x6E\x65\x72\x61\x6C\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65\x41\x64\x64","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x52\x65\x6D\x6F\x76\x69\x6E\x67\x20\x69\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x2E\x2E\x2E","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x63\x6C\x65\x61\x6E\x69\x6E\x67\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x65\x6E\x74\x65\x72\x41\x74","\x7A\x6F\x6D\x62\x69\x65","\x5A\x4F\x4D\x42\x49\x45","\x54\x41\x4C\x4B\x49\x4E\x47","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x6E\x6F","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x63\x6F\x6E\x74\x65\x6E\x74","\x0A","\x21","\x6C\x65\x6E\x67\x74\x68","\x70\x6F\x70","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x43\x6F\x6D\x6D\x61\x6E\x64","\x63\x6F\x72\x65\x20\x73\x68\x6F\x77\x20\x63\x68\x61\x6E\x6E\x65\x6C\x73\x20\x63\x6F\x6E\x63\x69\x73\x65","\x49\x6E\x61\x63\x74\x69\x76\x65\x20","\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x63\x6C\x65\x61\x6E\x69\x6E\x67\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x64\x64","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x69\x73\x53\x61\x6D\x65\x4F\x72\x41\x66\x74\x65\x72","\x52\x65\x70\x6F\x72\x74","\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74","\x4D\x61\x69\x6C","\x46\x61\x78","\x53\x6D\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x66","\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x3D\x20\x25\x73\x0A","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x73\x69\x70\x20\x72\x65\x6C\x6F\x61\x64","\x4C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x4E\x65\x74\x77\x6F\x72\x6B","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x72\x6E\x69\x70\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x66","\x65\x78\x74\x65\x72\x6E\x69\x70\x20\x3D\x20\x25\x73\x0A","\x45\x78\x74\x65\x72\x6E\x69\x70\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x65\x78\x74\x65\x72\x6E\x69\x70","\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x41\x73\x74\x65\x72\x69\x73\x6B\x20","\x72\x65\x67\x69\x73\x74\x65\x72\x20\x3D\x3E\x20\x25\x73\x0A","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x61\x63\x74\x69\x76\x65","\x73\x74\x61\x74\x75\x73","\x5B\x25\x73\x5D\x0A","\x6F\x74\x68\x65\x72\x46\x69\x65\x6C\x64\x73","\x25\x73\x0A","\x3B","\x25\x73\x3D\x25\x73\x0A","\x61\x6C\x6C\x6F\x77","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x74\x72\x75\x6E\x6B\x73\x2E\x63\x6F\x6E\x66","\x54\x72\x75\x6E\x6B\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x72\x65\x67\x69\x73\x74\x65\x72\x73\x2E\x63\x6F\x6E\x66","\x54\x72\x75\x6E\x6B\x73\x20\x72\x65\x67\x69\x73\x74\x65\x72\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x5B\x25\x73\x5D\x0A\x69\x6E\x63\x6C\x75\x64\x65\x20\x3D\x3E\x20\x25\x73\x2D\x63\x75\x73\x74\x6F\x6D\x0A\x73\x77\x69\x74\x63\x68\x20\x3D\x3E\x20\x52\x65\x61\x6C\x74\x69\x6D\x65\x0A","\x52\x65\x77\x72\x69\x74\x65\x43\x6F\x6E\x74\x65\x78\x74\x73","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x63\x6F\x6E\x74\x65\x78\x74\x73\x2E\x63\x6F\x6E\x66","\x43\x6F\x6E\x74\x65\x78\x74\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x64\x69\x61\x6C\x70\x6C\x61\x6E\x20\x72\x65\x6C\x6F\x61\x64","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x68\x61\x6E\x67\x75\x70","\x68","\x31","\x73\x79\x73\x74\x65\x6D","\x48\x61\x6E\x67\x75\x70","\x66\x61\x69\x6C\x65\x64","\x43\x72\x65\x61\x74\x65\x48\x61\x6E\x67\x75\x70","\x68\x61\x6E\x67\x75\x70\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x72\x74\x70\x5F\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6E\x66","\x77\x72\x69\x74\x65\x46\x69\x6C\x65\x53\x79\x6E\x63","\x72\x74\x70\x20\x78\x63\x61\x6C\x6C\x79\x20\x63\x6F\x6E\x66\x20\x66\x69\x6C\x65\x20\x75\x70\x64\x61\x74\x65\x64\x21","\x72\x65\x6C\x6F\x61\x64","\x45\x72\x72\x6F\x72\x20\x72\x65\x77\x72\x69\x74\x69\x6E\x67\x20\x72\x74\x70\x20\x78\x63\x61\x6C\x6C\x79\x20\x63\x6F\x6E\x66\x20\x66\x69\x6C\x65","\x4E\x6F\x20\x64\x61\x74\x61\x20\x70\x72\x6F\x76\x69\x64\x65\x64\x20\x66\x6F\x72\x20\x72\x74\x70\x20\x66\x69\x6C\x65","\x57\x65\x62\x6F\x6F\x6B\x20\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x3C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x72\x65\x6A\x65\x63\x74","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D","\x66\x69\x72\x73\x74","\x43\x4C\x4F\x53\x45\x44","\x74\x6F","\x50\x45\x4E\x44\x49\x4E\x47","\x44\x45\x53\x43","\x53\x45\x4E\x44\x49\x4E\x47","\x5B\x46\x61\x78\x5D\x20\x53\x65\x6E\x64\x69\x6E\x67\x20\x66\x61\x78\x20\x66\x72\x6F\x6D\x20\x25\x73\x20\x74\x6F\x20\x25\x73","\x66\x72\x6F\x6D","\x69\x6E\x66\x6F","\x5B\x46\x61\x78\x5D\x20\x45\x72\x72\x6F\x72\x20\x73\x65\x6E\x64\x69\x6E\x67\x20\x6D\x65\x73\x73\x61\x67\x65\x3A","\x5B\x46\x61\x78\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x5B\x46\x61\x78\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x5B\x46\x61\x78\x5D\x20\x45\x72\x72\x6F\x72\x20\x75\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x20\x73\x74\x61\x74\x75\x73\x3A","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x5B\x46\x61\x78\x5D\x20\x46\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x6C\x79\x20\x73\x65\x6E\x74","\x5B\x46\x61\x78\x5D\x20\x52\x65\x73\x70\x6F\x6E\x73\x65\x20\x74\x6F\x20\x41\x4D\x49\x20\x41\x63\x74\x69\x6F\x6E\x20\x4F\x72\x69\x67\x69\x6E\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x25\x73\x2F\x25\x73\x2F\x25\x73","\x74\x65\x63\x68","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x65\x63\x6D","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x6D\x69\x6E\x72\x61\x74\x65","\x6D\x61\x78\x72\x61\x74\x65","\x22\x25\x73\x22","\x6D\x6F\x64\x65\x6D","\x67\x61\x74\x65\x77\x61\x79","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x5B\x46\x61\x78\x5D\x20\x46\x69\x6C\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x6C\x79\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x61\x6E\x64\x20\x72\x65\x61\x64\x79\x20\x74\x6F\x20\x75\x73\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x70\x64\x66","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2F","\x70\x61\x72\x73\x65","\x2E\x74\x69\x66","\x67\x73\x20\x2D\x71\x20\x2D\x64\x4E\x4F\x50\x41\x55\x53\x45\x20\x2D\x64\x42\x41\x54\x43\x48\x20\x2D\x73\x44\x45\x56\x49\x43\x45\x3D\x74\x69\x66\x66\x67\x34\x20\x2D\x73\x50\x41\x50\x45\x52\x53\x49\x5A\x45\x3D\x6C\x65\x74\x74\x65\x72\x20\x2D\x73\x4F\x75\x74\x70\x75\x74\x46\x69\x6C\x65\x3D","\x20","\x62\x61\x73\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\x73\x70\x72\x65\x61\x64","\x4C\x69\x73\x74\x49\x64","\x43\x6F\x6E\x74\x61\x63\x74","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x20\x75\x70\x64\x61\x74\x65\x64\x3A","\x61\x64\x64\x55\x73\x65\x72","\x66\x61\x78\x4F\x75\x74","\x75\x73\x65\x72","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x3A","\x61\x64\x64\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x5B\x46\x61\x78\x5D\x20\x54\x72\x75\x6E\x6B\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x54\x72\x75\x6E\x6B\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x46\x61\x78\x5D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x72\x65\x74\x72\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x66\x69\x6E\x64","\x41\x63\x74\x69\x6F\x6E","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6F\x6E","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x7B\x22\x74\x69\x74\x6C\x65\x22\x3A\x22\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x22\x7D","\x72\x6F\x77\x73","\x63\x6F\x6C\x75\x6D\x6E\x73","\x77\x69\x64\x67\x65\x74\x73","\x6D\x61\x70","\x66\x6C\x61\x74\x74\x65\x6E","\x74\x61\x62\x6C\x65","\x70\x69\x65\x2D\x63\x68\x61\x72\x74","\x63\x6F\x75\x6E\x74\x65\x72","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6E\x66\x69\x67","\x66\x69\x65\x6C\x64\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74","\x77\x69\x64","\x75\x73\x65\x72\x73","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x45\x72\x72\x6F\x72\x20\x62\x75\x69\x6C\x64\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x6F\x72\x20\x63\x6F\x75\x6E\x74\x65\x72\x20\x77\x69\x64\x67\x65\x74","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73","\x6E\x75\x6C\x6C","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27\x25\x73\x27","\x20\x57\x48\x45\x52\x45\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27\x25\x73\x27","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x65\x6D\x70\x74\x79","\x20\x41\x4E\x44\x20","\x20\x57\x48\x45\x52\x45\x20","\x20\x3D\x3D\x3D\x3D\x20\x52\x45\x53\x55\x4C\x54\x49\x4E\x47\x20\x51\x55\x45\x52\x59\x20\x3D\x3D\x3D\x3D","\x20\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x20\x3D\x3D\x3D\x3D\x57\x49\x44\x47\x45\x54\x20\x52\x45\x53\x55\x4C\x54\x49\x4E\x47\x20\x51\x55\x45\x52\x59\x20\x3D\x3D\x3D\x3D","\x4E\x4F\x20\x53\x55\x46\x46\x49\x43\x49\x45\x4E\x54\x20\x50\x45\x52\x4D\x49\x53\x53\x49\x4F\x4E\x53","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x45\x72\x72\x6F\x72\x20\x62\x75\x69\x6C\x64\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x6F\x72\x20\x70\x69\x65\x2D\x63\x68\x61\x72\x74\x20\x77\x69\x64\x67\x65\x74","\x69\x73\x41\x72\x72\x61\x79","\x63\x6F\x6C\x75\x6D\x6E","\x61\x6C\x69\x61\x73","\x20\x41\x53\x20\x22","\x22","\x69\x73\x53\x74\x72\x69\x6E\x67","\x2A","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x25\x73","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x65\x76\x69\x6E\x67\x20\x43\x75\x73\x74\x6F\x6D\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x20\x76\x61\x6C\x75\x65\x73\x20\x77\x69\x74\x68\x20\x69\x64","\x69\x73\x45\x6D\x70\x74\x79","\x77\x69\x64\x67\x65\x74\x56\x61\x6C\x75\x65\x73","\x43\x75\x73\x74\x6F\x6D\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x20\x77\x69\x74\x68\x20\x69\x64","\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6D\x6F\x64\x65\x6C","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x65\x76\x69\x6E\x67\x20\x77\x69\x64\x67\x65\x74\x20\x71\x75\x65\x72\x79\x20\x77\x69\x74\x68\x20\x69\x64","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x72\x65\x61\x64\x4F\x6E\x6C\x79","\x71\x75\x65\x72\x79","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x6F\x63","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x20\x2D\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x20\x2D\x20\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x75\x6E\x6B\x73\x52\x65\x77\x72\x69\x74\x65","\x72\x74\x70\x52\x65\x77\x72\x69\x74\x65","\x66\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x66\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x61\x78\x52\x6F\x6F\x6D\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x6F\x63\x6B\x65\x74","\x63\x6F\x6E\x73\x6F\x6C\x65","\x72\x65\x73\x75\x6C\x74","\x63\x6F\x6D\x6D\x61\x6E\x64","\x41\x67\x65\x6E\x74\x20\x25\x73\x20\x25\x73\x20\x65\x72\x72\x6F\x72\x3A","\x70\x61\x75\x73\x65\x64","\x41\x67\x65\x6E\x74\x20\x25\x73\x20\x25\x73","\x75\x6E\x70\x61\x75\x73\x65\x64","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x72\x65\x70\x6F\x72\x74\x46\x61\x78\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x73","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x74\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x54\x72\x69\x67\x67\x65\x72\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x4D\x49\x20\x50\x72\x75\x6E\x65\x20\x65\x72\x72\x6F\x72","\x70\x72\x75\x6E\x65","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x6D\x73\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x68\x61\x74\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x46\x61\x78\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x68\x65\x63\x6B\x54\x72\x69\x67\x67\x65\x72\x73","\x63\x72\x65\x61\x74\x65\x53\x6D\x73\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x49\x6E\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x69\x6E\x62\x6F\x75\x6E\x64\x49\x6E\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x4D\x6F\x76\x65","\x61\x67\x69\x4E\x65\x77\x45\x78\x74\x65\x6E","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73"];_0xd8e4[0];var _=require(_0xd8e4[1]);var BPromise=require(_0xd8e4[2]);var util=require(_0xd8e4[3]);var moment=require(_0xd8e4[4]);var fs=require(_0xd8e4[5]);var path=require(_0xd8e4[6]);var Util=require(_0xd8e4[7]);var amiUtil=require(_0xd8e4[8]);var exec=require(_0xd8e4[10])[_0xd8e4[9]];var fse=require(_0xd8e4[11]);var kue=require(_0xd8e4[12]);var reportBuildUtils=require(_0xd8e4[13]);var logger=require(_0xd8e4[15])(_0xd8e4[14]);var faxLogger=require(_0xd8e4[15])(_0xd8e4[16]);var config=require(_0xd8e4[17]);var events=require(_0xd8e4[18]);var models=require(_0xd8e4[19]);var channels=[_0xd8e4[20],_0xd8e4[21],_0xd8e4[22],_0xd8e4[16],_0xd8e4[23],_0xd8e4[24]];var faxaccounts=[];var bill=[];var voiceQueues=[];var activeTrunks={};var videoOnUrls={};var extraVars={};models[_0xd8e4[34]][_0xd8e4[33]]({where:{active:true},attributes:[_0xd8e4[29],_0xd8e4[30]],raw:true})[_0xd8e4[32]](function(_0x57ffx1a){_[_0xd8e4[31]](_0x57ffx1a,function(_0x57ffx1b){activeTrunks[_0x57ffx1b[_0xd8e4[29]]]= _0x57ffx1b[_0xd8e4[30]]})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[25],_0x57ffx19[_0xd8e4[26]])});var ami= new require(_0xd8e4[40])(config[_0xd8e4[36]][_0xd8e4[35]],config[_0xd8e4[36]][_0xd8e4[37]],config[_0xd8e4[36]][_0xd8e4[38]],config[_0xd8e4[36]][_0xd8e4[39]],true);var amiAction=BPromise[_0xd8e4[42]](ami[_0xd8e4[41]]);var kueConfig={prefix:_0xd8e4[43],jobEvents:false,redis:{port:6379,host:config[_0xd8e4[44]]}};if(config[_0xd8e4[45]]){kueConfig[_0xd8e4[47]][_0xd8e4[46]]= _0xd8e4[39];kueConfig[_0xd8e4[47]][_0xd8e4[48]]= {password:config[_0xd8e4[45]]}};var q=kue[_0xd8e4[49]](kueConfig);q[_0xd8e4[56]](_0xd8e4[50],function(_0x57ffx20,_0x57ffx21){try{events[_0x57ffx20[_0xd8e4[53]][_0xd8e4[29]]](_0x57ffx20[_0xd8e4[53]][_0xd8e4[52]],_0x57ffx20[_0xd8e4[53]][_0xd8e4[54]]?amiAction:undefined)[_0xd8e4[51]](function(){_0x57ffx21()})}catch(e){logger[_0xd8e4[27]](_0xd8e4[55],_0x57ffx20[_0xd8e4[53]][_0xd8e4[29]],e)}});function addToQueue(_0x57ffx23,_0x57ffx24,_0x57ffx25){_0x57ffx24[_0xd8e4[57]]= moment()[_0xd8e4[59]](_0xd8e4[58]);q[_0xd8e4[63]](_0xd8e4[50],{name:_0x57ffx23,evt:_0x57ffx24,needAmi:_0x57ffx25})[_0xd8e4[62]](true)[_0xd8e4[61]](function(_0x57ffx19){if(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[60],_0x57ffx19)}else {}})}models[_0xd8e4[65]][_0xd8e4[33]]({raw:true})[_0xd8e4[32]](function(_0x57ffx26){voiceQueues= _0x57ffx26})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[64],_0x57ffx19)});ami[_0xd8e4[66]]();setInterval(function(){if(global[_0xd8e4[67]]){global[_0xd8e4[67]]()}else {logger[_0xd8e4[70]](_0xd8e4[68]+ _0xd8e4[69])}},20000);process[_0xd8e4[74]](_0xd8e4[71],function(_0x57ffx27){logger[_0xd8e4[73]](_0xd8e4[72],_0x57ffx27)});ami[_0xd8e4[74]](_0xd8e4[75],events[_0xd8e4[75]]);ami[_0xd8e4[74]](_0xd8e4[76],events[_0xd8e4[76]]);ami[_0xd8e4[74]](_0xd8e4[77],events[_0xd8e4[77]]);ami[_0xd8e4[74]](_0xd8e4[27],events[_0xd8e4[27]]);ami[_0xd8e4[74]](_0xd8e4[78],function(_0x57ffx24){try{addToQueue(_0xd8e4[79],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[80],err)}});ami[_0xd8e4[74]](_0xd8e4[81],function(_0x57ffx24){try{addToQueue(_0xd8e4[81],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[82],err)}});ami[_0xd8e4[74]](_0xd8e4[83],function(_0x57ffx24){try{addToQueue(_0xd8e4[83],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[84],err)}});ami[_0xd8e4[74]](_0xd8e4[85],function(_0x57ffx24){try{addToQueue(_0xd8e4[85],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[86],err)}});ami[_0xd8e4[74]](_0xd8e4[87],function(_0x57ffx24){try{if(extraVars[_0x57ffx24[_0xd8e4[88]]]){_0x57ffx24[_0xd8e4[89]]= extraVars[_0x57ffx24[_0xd8e4[88]]]};addToQueue(_0xd8e4[87],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[90],err)}});ami[_0xd8e4[74]](_0xd8e4[91],function(_0x57ffx24){try{if(extraVars[_0x57ffx24[_0xd8e4[88]]]){_0x57ffx24[_0xd8e4[89]]= extraVars[_0x57ffx24[_0xd8e4[88]]]};if(bill[_0x57ffx24[_0xd8e4[88]]]&& bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[88]]!== _0x57ffx24[_0xd8e4[88]]){if(!bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[92]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[92]]= true}else {delete bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]];_0x57ffx24[_0xd8e4[88]]= bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[88]]}};addToQueue(_0xd8e4[91],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[94],err)}});ami[_0xd8e4[74]](_0xd8e4[95],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[96]]]&& (bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[97]]=== _0xd8e4[98]|| bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[99]]=== _0xd8e4[98])&& bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[100]]){_0x57ffx24[_0xd8e4[98]]= bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[103]][_0xd8e4[102]](_0xd8e4[101])[0];_0x57ffx24[_0xd8e4[104]]= bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[100]][_0xd8e4[102]](/\/|-/)[1];addToQueue(_0xd8e4[95],_0x57ffx24,true)}}catch(err){logger[_0xd8e4[27]](_0xd8e4[105],err)}});ami[_0xd8e4[74]](_0xd8e4[106],function(_0x57ffx24){try{if(videoOnUrls[_0x57ffx24[_0xd8e4[88]]]){logger[_0xd8e4[73]](_0xd8e4[107],_0x57ffx24[_0xd8e4[88]],_0xd8e4[108]);_0x57ffx24[_0xd8e4[109]]= videoOnUrls[_0x57ffx24[_0xd8e4[88]]];events[_0xd8e4[110]](_0x57ffx24)};if(extraVars[_0x57ffx24[_0xd8e4[88]]]){_0x57ffx24[_0xd8e4[89]]= extraVars[_0x57ffx24[_0xd8e4[88]]]};addToQueue(_0xd8e4[106],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[111],err)}});ami[_0xd8e4[74]](_0xd8e4[112],events[_0xd8e4[112]]);ami[_0xd8e4[74]](_0xd8e4[113],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[88]]]){var _0x57ffx28=_0x57ffx24[_0xd8e4[114]][_0xd8e4[102]](/\/|-/)[1];if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[115]][_0x57ffx28]){_0x57ffx24[_0xd8e4[116]]= _0xd8e4[117];delete bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[115]][_0x57ffx28]}else {_0x57ffx24[_0xd8e4[116]]= _0xd8e4[113]}};addToQueue(_0xd8e4[113],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[118],err)}});ami[_0xd8e4[74]](_0xd8e4[119],function(_0x57ffx24){try{addToQueue(_0xd8e4[119],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[120],err)}});ami[_0xd8e4[74]](_0xd8e4[121],function(_0x57ffx24){try{addToQueue(_0xd8e4[121],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[122],err)}});ami[_0xd8e4[74]](_0xd8e4[123],function(_0x57ffx24){try{addToQueue(_0xd8e4[123],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[124],err)}});ami[_0xd8e4[74]](_0xd8e4[125],function(_0x57ffx24){try{addToQueue(_0xd8e4[125],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[126],err)}});ami[_0xd8e4[74]](_0xd8e4[127],function(_0x57ffx24){try{addToQueue(_0xd8e4[127],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[128],err)}});ami[_0xd8e4[74]](_0xd8e4[129],function(_0x57ffx24){try{addToQueue(_0xd8e4[129],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[130],err)}});ami[_0xd8e4[74]](_0xd8e4[131],function(_0x57ffx24){try{addToQueue(_0xd8e4[131],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[132],err)}});ami[_0xd8e4[74]](_0xd8e4[133],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[88]]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[98]]= _0x57ffx24[_0xd8e4[98]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]]= true};addToQueue(_0xd8e4[133],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[134],err)}});ami[_0xd8e4[74]](_0xd8e4[135],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[88]]]){_0x57ffx24[_0xd8e4[88]]= bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[88]]};addToQueue(_0xd8e4[135],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[136],err)}});ami[_0xd8e4[74]](_0xd8e4[137],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[138]]]){bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[139]]= _0xd8e4[137];bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[140]]= true;bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[141]]= _0xd8e4[142];bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[143]]= _0x57ffx24[_0xd8e4[144]];bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[145]]= _0x57ffx24[_0xd8e4[146]];ami[_0xd8e4[148]](_0xd8e4[131],_[_0xd8e4[147]](bill[_0x57ffx24[_0xd8e4[138]]]));bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[115]]= {};delete bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[139]];bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[149]]= true;_0x57ffx24[_0xd8e4[98]]= bill[_0x57ffx24[_0xd8e4[138]]][_0xd8e4[98]]|| null};_0x57ffx24[_0xd8e4[104]]= _0x57ffx24[_0xd8e4[150]][_0xd8e4[102]](/\/|-/)[1];addToQueue(_0xd8e4[137],_0x57ffx24,true)}catch(err){logger[_0xd8e4[27]](_0xd8e4[151],err)}});ami[_0xd8e4[74]](_0xd8e4[152],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[153]]]){bill[_0x57ffx24[_0xd8e4[153]]][_0xd8e4[139]]= _0xd8e4[152];bill[_0x57ffx24[_0xd8e4[153]]][_0xd8e4[88]]= _0x57ffx24[_0xd8e4[144]];bill[_0x57ffx24[_0xd8e4[144]]]&& (bill[_0x57ffx24[_0xd8e4[144]]][_0xd8e4[88]]= _0x57ffx24[_0xd8e4[153]]);ami[_0xd8e4[148]](_0xd8e4[131],_[_0xd8e4[147]](bill[_0x57ffx24[_0xd8e4[153]]]));delete bill[_0x57ffx24[_0xd8e4[153]]][_0xd8e4[93]];delete bill[_0x57ffx24[_0xd8e4[153]]][_0xd8e4[139]];_0x57ffx24[_0xd8e4[98]]= bill[_0x57ffx24[_0xd8e4[153]]][_0xd8e4[98]]|| null};_0x57ffx24[_0xd8e4[104]]= _0x57ffx24[_0xd8e4[154]][_0xd8e4[102]](/\/|-/)[1];addToQueue(_0xd8e4[152],_0x57ffx24,true)}catch(err){logger[_0xd8e4[27]](_0xd8e4[155],err)}});ami[_0xd8e4[74]](_0xd8e4[156],function(_0x57ffx24){try{addToQueue(_0xd8e4[156],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[157],err)}});ami[_0xd8e4[74]](_0xd8e4[115],function(_0x57ffx24){try{if(bill[_0x57ffx24[_0xd8e4[88]]]){var _0x57ffx28=_0x57ffx24[_0xd8e4[114]][_0xd8e4[102]](/\/|-/)[1];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[115]][_0x57ffx28]= bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[115]][_0x57ffx28]?false:true};addToQueue(_0xd8e4[115],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[158],err)}});ami[_0xd8e4[74]](_0xd8e4[159],function(_0x57ffx24){try{addToQueue(_0xd8e4[159],_0x57ffx24)}catch(err){faxLogger[_0xd8e4[27]](_0xd8e4[160],err)}});ami[_0xd8e4[74]](_0xd8e4[161],function(_0x57ffx24){try{addToQueue(_0xd8e4[161],_0x57ffx24)}catch(err){faxLogger[_0xd8e4[27]](_0xd8e4[162],err)}});ami[_0xd8e4[74]](_0xd8e4[163],function(_0x57ffx24){try{addToQueue(_0xd8e4[163],_0x57ffx24)}catch(err){faxLogger[_0xd8e4[27]](_0xd8e4[164],err)}});amiAction({action:_0xd8e4[165]});var applications=[_0xd8e4[166],_0xd8e4[98],_0xd8e4[167],_0xd8e4[168],_0xd8e4[169]];var dispositions=[_0xd8e4[170],_0xd8e4[171],_0xd8e4[171],_0xd8e4[170],_0xd8e4[170],_0xd8e4[170],_0xd8e4[172],_0xd8e4[173],_0xd8e4[171],_0xd8e4[171],_0xd8e4[171]];function newchannel(_0x57ffx24){if(!bill[_0x57ffx24[_0xd8e4[88]]]&&  !bill[_0x57ffx24[_0xd8e4[96]]]){bill[_0x57ffx24[_0xd8e4[88]]]= {uniqueid:_0x57ffx24[_0xd8e4[88]],linkedid:_0x57ffx24[_0xd8e4[96]],type:_0xd8e4[174],tag:_0xd8e4[175],accountcode:_0x57ffx24[_0xd8e4[176]],source:_0x57ffx24[_0xd8e4[177]],destination:_0x57ffx24[_0xd8e4[178]],destinationcontext:_0x57ffx24[_0xd8e4[179]],callerid:util[_0xd8e4[59]](_0xd8e4[180],_0x57ffx24[_0xd8e4[181]],_0x57ffx24[_0xd8e4[177]]),channel:_0x57ffx24[_0xd8e4[182]],destinationchannel:_0xd8e4[183],lastapplication:_0xd8e4[183],lastdata:_0xd8e4[183],starttime:moment()[_0xd8e4[59]](_0xd8e4[58]),answertime:_0xd8e4[183],endtime:_0xd8e4[183],duration:0,billableseconds:0,disposition:dispositions[_[_0xd8e4[185]](_0x57ffx24[_0xd8e4[184]])],amaflags:_0xd8e4[186],unmanaged:false,calleridnum:_0x57ffx24[_0xd8e4[177]],calleridname:_0x57ffx24[_0xd8e4[181]],dialend:{}}}}function newstate(_0x57ffx24){if(bill[_0x57ffx24[_0xd8e4[96]]]&& _0x57ffx24[_0xd8e4[88]]!== _0x57ffx24[_0xd8e4[96]]&& _0x57ffx24[_0xd8e4[184]]=== _0xd8e4[187]){bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[188]]= moment()[_0xd8e4[59]](_0xd8e4[58]);delete bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[93]];bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[189]]= dispositions[_[_0xd8e4[185]](_0x57ffx24[_0xd8e4[184]])];if(_[_0xd8e4[193]]([_0xd8e4[190],_0xd8e4[191]],bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[192]])){bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[176]]= _0x57ffx24[_0xd8e4[176]]};if(!_[_0xd8e4[193]]([_0xd8e4[194],_0xd8e4[191]],bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[192]])){bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[195]]= _0x57ffx24[_0xd8e4[196]];bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[197]]= util[_0xd8e4[59]](_0xd8e4[180],_0x57ffx24[_0xd8e4[198]],_0x57ffx24[_0xd8e4[196]])};bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[96]]= _0x57ffx24[_0xd8e4[88]];bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[100]]= _0x57ffx24[_0xd8e4[182]];bill[_0x57ffx24[_0xd8e4[96]]][_0xd8e4[199]]= false}}function newexten(_0x57ffx24,_0x57ffx2e){if(bill[_0x57ffx24[_0xd8e4[88]]]){_0x57ffx24[_0xd8e4[200]]= _0x57ffx24[_0xd8e4[200]][_0xd8e4[201]]();if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[97]]=== _0xd8e4[98]|| bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[99]]=== _0xd8e4[98]){if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]]&&  !bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[149]]){if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]){ami[_0xd8e4[148]](_0xd8e4[203],_[_0xd8e4[147]](bill[_0x57ffx24[_0xd8e4[88]]]))}else {if(!bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]= true;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]= _0xd8e4[204]};ami[_0xd8e4[148]](_0xd8e4[205],_[_0xd8e4[147]](bill[_0x57ffx24[_0xd8e4[88]]]))}};bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[99]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[206]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[207]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[208]]= null};delete bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]];if(!_0x57ffx2e){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[97]]= _0x57ffx24[_0xd8e4[200]];if(_[_0xd8e4[193]](applications,_0x57ffx24[_0xd8e4[200]])){if(_0x57ffx24[_0xd8e4[200]]=== _0xd8e4[166]){var _0x57ffx2f=_0x57ffx24[_0xd8e4[209]][_0xd8e4[201]]();if(_[_0xd8e4[211]](_0x57ffx2f,_0xd8e4[210])){_0x57ffx2f= _0x57ffx2f[_0xd8e4[102]](_0xd8e4[212]);var _0x57ffx30=_0x57ffx2f[0][_0xd8e4[213]](/cdr\((.*)\)/);if(_0x57ffx30){bill[_0x57ffx24[_0xd8e4[88]]][_0x57ffx30[1]]= _0x57ffx2f[1];if(_0x57ffx30[1]=== _0xd8e4[192]&& _0x57ffx2f[1]=== _0xd8e4[191]){var _0x57ffx31=bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[182]][_0xd8e4[102]](/\/|-/)[1];activeTrunks[_0x57ffx31]&& (bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[195]]= activeTrunks[_0x57ffx31])}}}else {if(_[_0xd8e4[211]](_0x57ffx2f,_0xd8e4[214])){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[177]]= _0x57ffx2f[_0xd8e4[102]](_0xd8e4[212])[1];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[197]]= util[_0xd8e4[59]](_0xd8e4[180],bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[181]],bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[177]]);bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[192]]=== _0xd8e4[191]&& (bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[215]]= bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[177]])}else {if(_[_0xd8e4[211]](_0x57ffx2f,_0xd8e4[216])){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[181]]= _0x57ffx2f[_0xd8e4[102]](_0xd8e4[212])[1];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[197]]= util[_0xd8e4[59]](_0xd8e4[180],bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[181]],bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[177]])}}}};bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[217]]= _0x57ffx24[_0xd8e4[200]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[103]]= _0x57ffx24[_0xd8e4[209]]};if(_0x57ffx24[_0xd8e4[200]]=== _0xd8e4[98]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[98]]= _0x57ffx24[_0xd8e4[209]][_0xd8e4[102]](_0xd8e4[101])[0];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]]= true}}else {bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[99]]= _0x57ffx24[_0xd8e4[200]][_0xd8e4[201]]();if(_0x57ffx24[_0xd8e4[200]]=== _0xd8e4[98]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[98]]= _0x57ffx24[_0xd8e4[98]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]]= true}}}}function varset(_0x57ffx24){if(_0x57ffx24[_0xd8e4[220]][_0xd8e4[219]](_0xd8e4[218])){logger[_0xd8e4[73]](_0xd8e4[221],_0x57ffx24[_0xd8e4[88]],_0x57ffx24[_0xd8e4[222]]);videoOnUrls[_0x57ffx24[_0xd8e4[88]]]= _0x57ffx24[_0xd8e4[222]][_0xd8e4[223]](/\\/g,_0xd8e4[183])}else {if(_0x57ffx24[_0xd8e4[220]][_0xd8e4[219]](_0xd8e4[89])){extraVars[_0x57ffx24[_0xd8e4[88]]]= _0x57ffx24[_0xd8e4[222]]}};if(bill[_0x57ffx24[_0xd8e4[88]]]){if(_0x57ffx24[_0xd8e4[220]][_0xd8e4[219]](_0xd8e4[224])){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]= true;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[149]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]= _0x57ffx24[_0xd8e4[222]][_0xd8e4[201]]();if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]=== _0xd8e4[225]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[63]]= true;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[179]]= _0x57ffx24[_0xd8e4[179]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[178]]= _0x57ffx24[_0xd8e4[178]];ami[_0xd8e4[148]](_0xd8e4[205],_[_0xd8e4[147]](bill[_0x57ffx24[_0xd8e4[88]]]));delete bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[63]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[206]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[207]]= null;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[208]]= null}}}}function queuecallerabandon(_0x57ffx24){if(bill[_0x57ffx24[_0xd8e4[88]]]&&  !bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]= true;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[149]]= false;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[206]]= _0x57ffx24[_0xd8e4[206]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[207]]= _0x57ffx24[_0xd8e4[207]];bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[208]]= _0x57ffx24[_0xd8e4[208]]}}function hangup(_0x57ffx24){if(bill[_0x57ffx24[_0xd8e4[88]]]){var _0x57ffx35=moment();bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[226]]= _0x57ffx35[_0xd8e4[59]](_0xd8e4[58]);bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[227]]= _0x57ffx35[_0xd8e4[230]](bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[228]],_0xd8e4[229]);if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[188]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[231]]= _0x57ffx35[_0xd8e4[230]](bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[188]],_0xd8e4[229])};ami[_0xd8e4[148]](_0xd8e4[78],bill[_0x57ffx24[_0xd8e4[88]]]);if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[93]]|| (bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[149]]&&  !bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[188]])){if(bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[202]]){ami[_0xd8e4[148]](_0xd8e4[203],bill[_0x57ffx24[_0xd8e4[88]]])}else {if(!bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]){bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[199]]= true;bill[_0x57ffx24[_0xd8e4[88]]][_0xd8e4[139]]= _0xd8e4[204]};ami[_0xd8e4[148]](_0xd8e4[205],bill[_0x57ffx24[_0xd8e4[88]]])}};delete bill[_0x57ffx24[_0xd8e4[88]]]}}ami[_0xd8e4[74]](_0xd8e4[205],function(_0x57ffx24){try{addToQueue(_0xd8e4[232],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[233],err)}});ami[_0xd8e4[74]](_0xd8e4[203],function(_0x57ffx24){try{addToQueue(_0xd8e4[234],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[235],err)}});ami[_0xd8e4[74]](_0xd8e4[236],function(_0x57ffx24){try{newchannel(_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[237],err)}});ami[_0xd8e4[74]](_0xd8e4[238],function(_0x57ffx24){try{newstate(_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[239],err)}});ami[_0xd8e4[74]](_0xd8e4[240],function(_0x57ffx24){try{newexten(_0x57ffx24,false)}catch(err){logger[_0xd8e4[27]](_0xd8e4[241],err)}});ami[_0xd8e4[74]](_0xd8e4[242],function(_0x57ffx24){try{varset(_0x57ffx24);addToQueue(_0xd8e4[242],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[243],err)}});ami[_0xd8e4[74]](_0xd8e4[234],function(_0x57ffx24){try{queuecallerabandon(_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[244],err)}});ami[_0xd8e4[74]](_0xd8e4[245],function(_0x57ffx24){try{delete videoOnUrls[_0x57ffx24[_0xd8e4[88]]];delete extraVars[_0x57ffx24[_0xd8e4[88]]];hangup(_0x57ffx24);addToQueue(_0xd8e4[245],_0x57ffx24)}catch(err){logger[_0xd8e4[27]](_0xd8e4[246],err)}});function handlePause(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){var _0x57ffx3a=_0x57ffx39[_0xd8e4[247]];var _0x57ffx3b=false;var _0x57ffx3c,_0x57ffx3d;_0x57ffx3c= _0x57ffx3d= _0x57ffx37[_0xd8e4[248]][_0xd8e4[192]]|| _0x57ffx38[_0xd8e4[249]]|| _0x57ffx38[_0xd8e4[250]];if(_[_0xd8e4[211]](_0x57ffx3d,_0xd8e4[251])){_0x57ffx3d= _0x57ffx3d[_0xd8e4[252]](1);_0x57ffx3b= true};var _0x57ffx3e={id:_0x57ffx39[_0xd8e4[253]],voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,openchannelPause:true,pauseType:_0x57ffx3c,lastPauseAt:moment()[_0xd8e4[59]](_0xd8e4[58])};return _0x57ffx39[_0xd8e4[269]](_0x57ffx3e)[_0xd8e4[32]](function(_0x57ffx44){if(_0x57ffx44){return events[_0xd8e4[268]](_[_0xd8e4[267]]({newValues:_0x57ffx3e},_0x57ffx44[_0xd8e4[266]]))}})[_0xd8e4[32]](function(){var _0x57ffx43=moment()[_0xd8e4[59]](_0xd8e4[58]);return models[_0xd8e4[264]][_0xd8e4[265]]({duration:moment(_0x57ffx43)[_0xd8e4[230]](moment(_0x57ffx3a),_0xd8e4[229]),exitAt:_0x57ffx43},{where:{membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[258],exitAt:null}})})[_0xd8e4[32]](function(){var _0x57ffx3f=(_0x57ffx3e[_0xd8e4[254]]&&  !_0x57ffx3b)?channels:_[_0xd8e4[255]](channels,function(_0x57ffx40){return _0x57ffx40!== _0xd8e4[20]});var _0x57ffx41=[];_0x57ffx3f[_0xd8e4[31]](function(_0x57ffx42){_0x57ffx41[_0xd8e4[262]]({channel:_0x57ffx42,membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[258],enterAt:moment()[_0xd8e4[59]](_0xd8e4[58]),data1:_0x57ffx3d,data2:_0x57ffx38[_0xd8e4[259]],data4:_0x57ffx3d,role:_0x57ffx39[_0xd8e4[260]],internal:_0x57ffx39[_0xd8e4[174]],uniqueid:_0x57ffx38[_0xd8e4[261]]})});return models[_0xd8e4[264]][_0xd8e4[263]](_0x57ffx41,{raw:true,individualHooks:true})})}}function handleUnpause(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){var _0x57ffx3e;if(!_0x57ffx37[_0xd8e4[248]]){_0x57ffx37[_0xd8e4[248]]= {}};if(_0x57ffx37[_0xd8e4[248]][_0xd8e4[192]]!== _0xd8e4[270]){events[_0xd8e4[272]](_0x57ffx39[_0xd8e4[29]],_0x57ffx39[_0xd8e4[271]],false)};switch(_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]]){case _0xd8e4[20]:_0x57ffx3e= {id:_0x57ffx39[_0xd8e4[253]],voicePause:false};return _0x57ffx39[_0xd8e4[269]](_0x57ffx3e)[_0xd8e4[32]](function(_0x57ffx44){return events[_0xd8e4[268]](_[_0xd8e4[267]]({newValues:_0x57ffx3e},_0x57ffx44[_0xd8e4[266]]))})[_0xd8e4[32]](function(){return models[_0xd8e4[264]][_0xd8e4[274]]({where:{channel:_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]],membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[258],exitAt:null}})})[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[273]}))[_0xd8e4[32]](function(_0x57ffx46){return _0x57ffx46[_0xd8e4[269]]({exitAt:moment()[_0xd8e4[59]](_0xd8e4[58])})})[_0xd8e4[32]](function(){return _0x57ffx39});case _0xd8e4[21]:;case _0xd8e4[22]:;case _0xd8e4[16]:;case _0xd8e4[23]:;case _0xd8e4[24]:var _0x57ffx47={};_0x57ffx47[util[_0xd8e4[59]](_0xd8e4[275],_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]],_0xd8e4[276])]= false;return _0x57ffx39[_0xd8e4[269]](_0x57ffx47)[_0xd8e4[32]](function(_0x57ffx39){_0x57ffx47[_0xd8e4[253]]= _0x57ffx39[_0xd8e4[253]];return events[_0xd8e4[268]](_[_0xd8e4[267]]({newValues:_0x57ffx47},_0x57ffx39[_0xd8e4[266]]))})[_0xd8e4[32]](function(){return models[_0xd8e4[264]][_0xd8e4[274]]({where:{channel:_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]],membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[258],exitAt:null}})})[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[273]}))[_0xd8e4[32]](function(_0x57ffx46){return _0x57ffx46[_0xd8e4[269]]({exitAt:moment()[_0xd8e4[59]](_0xd8e4[58])})})[_0xd8e4[32]](function(){return _0x57ffx39});default:_0x57ffx3e= {id:_0x57ffx39[_0xd8e4[253]],voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false,openchannelPause:false};return _0x57ffx39[_0xd8e4[269]](_0x57ffx3e)[_0xd8e4[32]](function(_0x57ffx44){return events[_0xd8e4[268]](_[_0xd8e4[267]]({newValues:_0x57ffx3e},_0x57ffx39[_0xd8e4[266]]))})[_0xd8e4[32]](function(){return models[_0xd8e4[264]][_0xd8e4[33]]({where:{membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[258],exitAt:null}})})[_0xd8e4[32]](function(_0x57ffx48){var _0x57ffx49=[];_0x57ffx48[_0xd8e4[31]](function(_0x57ffx4a){_0x57ffx49[_0xd8e4[262]](_0x57ffx4a[_0xd8e4[269]]({exitAt:moment()[_0xd8e4[59]](_0xd8e4[58])}))});return BPromise[_0xd8e4[277]](_0x57ffx49)})[_0xd8e4[32]](function(){return _0x57ffx39})}}}function queueAddUpdate(_0x57ffx4c,_0x57ffx4d){return models[_0xd8e4[278]][_0xd8e4[274]]({where:{queue:_0x57ffx4c,membername:_0x57ffx4d}})[_0xd8e4[32]](function(_0x57ffx4e){if(_0x57ffx4e){return _0x57ffx4e[_0xd8e4[269]]({logged:true,loggedAt:moment()[_0xd8e4[59]](_0xd8e4[58])})}})}function handleLogin(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){if(!_0x57ffx39[_0xd8e4[279]]){_0x57ffx39[_0xd8e4[279]]= true;return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](function(){return events[_0xd8e4[268]](_[_0xd8e4[288]]({newValues:_0x57ffx39[_0xd8e4[266]]},_0x57ffx39[_0xd8e4[266]]))})[_0xd8e4[32]](function(){return _0x57ffx39[_0xd8e4[287]]()})[_0xd8e4[32]](function(voiceQueues){var _0x57ffx50=[];voiceQueues[_0xd8e4[31]](function(_0x57ffx51){_0x57ffx50[_0xd8e4[262]](amiAction({action:_0xd8e4[284],queue:_0x57ffx51[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),membername:_0x57ffx39[_0xd8e4[29]],penalty:_0x57ffx51[_0xd8e4[278]][_0xd8e4[285]],paused:_0x57ffx39[_0xd8e4[286]]})[_0xd8e4[28]](function(_0x57ffx19){if(_0x57ffx19[_0xd8e4[281]]=== _0xd8e4[282]){return queueAddUpdate(_0x57ffx51[_0xd8e4[29]],_0x57ffx39[_0xd8e4[29]])};logger[_0xd8e4[27]](_0xd8e4[283],_0x57ffx51[_0xd8e4[29]],_0x57ffx19)}))});return _0x57ffx50})[_0xd8e4[277]]()[_0xd8e4[32]](function(){var _0x57ffx41=[];channels[_0xd8e4[31]](function(_0x57ffx42){_0x57ffx41[_0xd8e4[262]]({channel:_0x57ffx42,membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[280],enterAt:moment()[_0xd8e4[59]](_0xd8e4[58]),role:_0x57ffx39[_0xd8e4[260]],internal:_0x57ffx39[_0xd8e4[174]]})});return models[_0xd8e4[264]][_0xd8e4[263]](_0x57ffx41,{raw:true,individualHooks:true})})}}}function logoutAgent(_0x57ffx39){return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](function(){return events[_0xd8e4[268]](_[_0xd8e4[288]]({newValues:{id:_0x57ffx39[_0xd8e4[253]],online:false}},_0x57ffx39[_0xd8e4[266]],{online:false}))})[_0xd8e4[32]](function(){return models[_0xd8e4[65]][_0xd8e4[33]]()})[_0xd8e4[32]](function(voiceQueues){var _0x57ffx50=[];voiceQueues[_0xd8e4[31]](function(_0x57ffx51){_0x57ffx50[_0xd8e4[262]](amiAction({action:_0xd8e4[290],queue:_0x57ffx51[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]])})[_0xd8e4[28]](function(_0x57ffx19){}))});return BPromise[_0xd8e4[277]](_0x57ffx50)})[_0xd8e4[32]](function(_0x57ffx53){return models[_0xd8e4[264]][_0xd8e4[33]]({where:{membername:_0x57ffx39[_0xd8e4[29]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),type:_0xd8e4[280],exitAt:null}})})[_0xd8e4[32]](function(_0x57ffx48){var _0x57ffx49=[];_0x57ffx48[_0xd8e4[31]](function(_0x57ffx4a){_0x57ffx49[_0xd8e4[262]](_0x57ffx4a[_0xd8e4[269]]({exitAt:moment()[_0xd8e4[59]](_0xd8e4[58])}))});return BPromise[_0xd8e4[277]](_0x57ffx49)})}function handleLogout(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](function(){if(_0x57ffx39[_0xd8e4[260]]=== _0xd8e4[291]){return logoutAgent(_0x57ffx39)}})[_0xd8e4[32]](function(){return _0x57ffx39[_0xd8e4[269]]({online:false})})}}function handleQueueAdd(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){var _0x57ffx56=[];switch(_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]]){case _0xd8e4[20]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[278]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],queue:_0x57ffx4c},defaults:{queue:_0x57ffx4c,location:util[_0xd8e4[59]](_0xd8e4[292],_0x57ffx39[_0xd8e4[29]]),membername:_0x57ffx39[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56)[_0xd8e4[32]](function(){var _0x57ffx50=[];_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx50[_0xd8e4[262]](amiAction({action:_0xd8e4[284],queue:_0x57ffx4c,paused:_0x57ffx39[_0xd8e4[254]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]]),membername:_0x57ffx39[_0xd8e4[29]]})[_0xd8e4[28]](function(_0x57ffx19){if(_0x57ffx19[_0xd8e4[281]]=== _0xd8e4[282]){return queueAddUpdate(_0x57ffx4c,_0x57ffx39[_0xd8e4[29]])};logger[_0xd8e4[27]](_0xd8e4[295],_0x57ffx4c,_0x57ffx19)}))});return BPromise[_0xd8e4[277]](_0x57ffx50)});case _0xd8e4[21]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[296]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],ChatQueueId:_0x57ffx4c[_0xd8e4[253]]},defaults:{ChatQueueId:_0x57ffx4c[_0xd8e4[253]],queue:_0x57ffx4c[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56);case _0xd8e4[22]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[297]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],MailQueueId:_0x57ffx4c[_0xd8e4[253]]},defaults:{MailQueueId:_0x57ffx4c[_0xd8e4[253]],queue:_0x57ffx4c[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56);case _0xd8e4[23]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[298]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],SmsQueueId:_0x57ffx4c[_0xd8e4[253]]},defaults:{SmsQueueId:_0x57ffx4c[_0xd8e4[253]],queue:_0x57ffx4c[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56);case _0xd8e4[24]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[299]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],OpenchannelQueueId:_0x57ffx4c[_0xd8e4[253]]},defaults:{OpenchannelQueueId:_0x57ffx4c[_0xd8e4[253]],queue:_0x57ffx4c[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56);case _0xd8e4[16]:_0x57ffx37[_0xd8e4[248]][_0xd8e4[294]][_0xd8e4[31]](function(_0x57ffx4c){_0x57ffx56[_0xd8e4[262]](models[_0xd8e4[300]][_0xd8e4[293]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],FaxQueueId:_0x57ffx4c[_0xd8e4[253]]},defaults:{faxQueueId:_0x57ffx4c[_0xd8e4[253]],queue:_0x57ffx4c[_0xd8e4[29]],UserId:_0x57ffx39[_0xd8e4[253]],penalty:_0x57ffx38[_0xd8e4[259]]},individualHooks:true,raw:true}))});return BPromise[_0xd8e4[277]](_0x57ffx56);default:}}}function handleQueueRemove(_0x57ffx37,_0x57ffx38){return function(_0x57ffx39){switch(_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]]){case _0xd8e4[20]:return models[_0xd8e4[278]][_0xd8e4[302]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],queue:_0x57ffx37[_0xd8e4[248]][_0xd8e4[98]]},individualHooks:true,raw:true})[_0xd8e4[32]](function(){return amiAction({action:_0xd8e4[290],queue:_0x57ffx37[_0xd8e4[248]][_0xd8e4[98]],interface:util[_0xd8e4[59]](_0xd8e4[256],_0xd8e4[257],_0x57ffx39[_0xd8e4[29]])})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[301],_0x57ffx19[_0xd8e4[26]])});case _0xd8e4[21]:return models[_0xd8e4[296]][_0xd8e4[274]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],ChatQueueId:_0x57ffx37[_0xd8e4[248]][_0xd8e4[304]]}})[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx58){return _0x57ffx58[_0xd8e4[302]]()}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[303],_0x57ffx19)});case _0xd8e4[22]:return models[_0xd8e4[297]][_0xd8e4[274]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],MailQueueId:_0x57ffx37[_0xd8e4[248]][_0xd8e4[304]]}})[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx58){return _0x57ffx58[_0xd8e4[302]]()}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[305],_0x57ffx19)});case _0xd8e4[23]:return models[_0xd8e4[298]][_0xd8e4[274]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],SmsQueueId:_0x57ffx37[_0xd8e4[248]][_0xd8e4[304]]}})[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx58){return _0x57ffx58[_0xd8e4[302]]()}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[306],_0x57ffx19)});case _0xd8e4[24]:return models[_0xd8e4[299]][_0xd8e4[274]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],OpenchannelQueueId:_0x57ffx37[_0xd8e4[248]][_0xd8e4[304]]}})[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx58){return _0x57ffx58[_0xd8e4[302]]()}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[307],_0x57ffx19)});case _0xd8e4[16]:return models[_0xd8e4[300]][_0xd8e4[274]]({where:{UserId:_0x57ffx39[_0xd8e4[253]],FaxQueueId:_0x57ffx37[_0xd8e4[248]][_0xd8e4[304]]}})[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx58){return _0x57ffx58[_0xd8e4[302]]()}})[_0xd8e4[28]](function(_0x57ffx19){faxLogger[_0xd8e4[27]](_0xd8e4[308],_0x57ffx19)});default:}}}function handleEntityNotFound(_0x57ffx5a){return function(_0x57ffx5b){if(!_0x57ffx5b){throw _0x57ffx5a};return _0x57ffx5b}}function onSave(_0x57ffx38,_0x57ffx37){switch(_0x57ffx38[_0xd8e4[29]]){case _0xd8e4[312]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx37[_0xd8e4[248]][_0xd8e4[291]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handlePause(_0x57ffx37,_0x57ffx38));case _0xd8e4[313]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx37[_0xd8e4[248]][_0xd8e4[291]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handleUnpause(_0x57ffx37,_0x57ffx38));case _0xd8e4[314]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx38[_0xd8e4[250]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handleLogin(_0x57ffx37,_0x57ffx38))[_0xd8e4[32]](function(_0x57ffx5d){return _0x57ffx5d});case _0xd8e4[315]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx38[_0xd8e4[250]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handleUnpause(_0x57ffx37,_0x57ffx38))[_0xd8e4[32]](handleLogout(_0x57ffx37,_0x57ffx38));case _0xd8e4[284]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx37[_0xd8e4[248]][_0xd8e4[291]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handleQueueAdd(_0x57ffx37,_0x57ffx38))[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]]!== _0xd8e4[20]){return events[_0xd8e4[317]](_0x57ffx58,_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]])}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[316],_0x57ffx19[_0xd8e4[26]])});case _0xd8e4[290]:return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx37[_0xd8e4[248]][_0xd8e4[291]])[_0xd8e4[32]](handleEntityNotFound({message:_0xd8e4[309]}))[_0xd8e4[32]](handleQueueRemove(_0x57ffx37,_0x57ffx38))[_0xd8e4[32]](function(_0x57ffx58){if(_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]]!== _0xd8e4[20]){return events[_0xd8e4[319]](_0x57ffx58,_0x57ffx37[_0xd8e4[248]][_0xd8e4[182]])}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[318],_0x57ffx19[_0xd8e4[26]])});default:throw {message:_0xd8e4[320]}}}function clean(channels){removeInactiveCalls();_[_0xd8e4[31]](channels,function(_0x57ffx42){removeExpiredApplications(_0x57ffx42)})}function removeInactiveCalls(){logger[_0xd8e4[73]](_0xd8e4[321]);var _0x57ffx60=[],_0x57ffx61=[],_0x57ffx62=moment()[_0xd8e4[59]](_0xd8e4[58]);return amiAction({action:_0xd8e4[338],command:_0xd8e4[339]})[_0xd8e4[32]](function(_0x57ffx6a){var _0x57ffx6b;if(_0x57ffx6a&& _0x57ffx6a[_0xd8e4[332]]){var _0x57ffx58=_0x57ffx6a[_0xd8e4[332]][_0xd8e4[102]](_0xd8e4[333]);_[_0xd8e4[31]](_0x57ffx58,function(_0x57ffx40){if(_0x57ffx40){_0x57ffx6b= _0x57ffx40[_0xd8e4[102]](_0xd8e4[334]);_0x57ffx6b[_0xd8e4[335]]=== 14&& _0x57ffx61[_0xd8e4[262]](_0x57ffx6b[_0xd8e4[336]]())}})};return models[_0xd8e4[337]][_0xd8e4[33]]({where:{$or:[{queuecallerleaveAt:null,queuecallerexit:false},{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null}}]}})})[_0xd8e4[32]](function(_0x57ffx69){_[_0xd8e4[31]](_0x57ffx69,function(_0x57ffx66){if(!_[_0xd8e4[193]](_0x57ffx61,_0x57ffx66[_0xd8e4[88]])){_0x57ffx60[_0xd8e4[262]](_0x57ffx66[_0xd8e4[269]]({queuecallerleaveAt:_0x57ffx62,queuecallerexitAt:_0x57ffx62,queuecallerexit:true,queuecallerexitreason:_0xd8e4[325]}))}});return models[_0xd8e4[331]][_0xd8e4[33]]({where:{leaveAt:null}})})[_0xd8e4[32]](function(_0x57ffx68){_[_0xd8e4[31]](_0x57ffx68,function(_0x57ffx66){if(!_[_0xd8e4[193]](_0x57ffx61,_0x57ffx66[_0xd8e4[88]])){_0x57ffx60[_0xd8e4[262]](_0x57ffx66[_0xd8e4[269]]({leaveAt:_0x57ffx62,network:_0xd8e4[329]}))}});return models[_0xd8e4[330]][_0xd8e4[33]]({where:{endtime:null}})})[_0xd8e4[32]](function(_0x57ffx67){_[_0xd8e4[31]](_0x57ffx67,function(_0x57ffx66){if(!_[_0xd8e4[193]](_0x57ffx61,_0x57ffx66[_0xd8e4[88]])){_0x57ffx60[_0xd8e4[262]](_0x57ffx66[_0xd8e4[269]]({endtime:_0x57ffx62,dialstatus:_0xd8e4[326]}))}});return models[_0xd8e4[328]][_0xd8e4[33]]({where:{agentcomplete:false,agentringnoanswer:false,agentdump:false}})})[_0xd8e4[32]](function(_0x57ffx65){_[_0xd8e4[31]](_0x57ffx65,function(_0x57ffx66){if(!_[_0xd8e4[193]](_0x57ffx61,_0x57ffx66[_0xd8e4[88]])){_0x57ffx60[_0xd8e4[262]](_0x57ffx66[_0xd8e4[269]]({lastevent:_0xd8e4[199],agentringnoanswer:true,agentringnoanswerAt:_0x57ffx62,reason:_0xd8e4[326]}))}});return models[_0xd8e4[264]][_0xd8e4[33]]({where:{type:_0xd8e4[327],enterAt:{$ne:null},exitAt:null}})})[_0xd8e4[32]](function(_0x57ffx63){_[_0xd8e4[31]](_0x57ffx63,function(_0x57ffx64){if(!_[_0xd8e4[193]](_0x57ffx61,_0x57ffx64[_0xd8e4[88]])){_0x57ffx60[_0xd8e4[262]](_0x57ffx64[_0xd8e4[269]]({exitAt:_0x57ffx64[_0xd8e4[324]],data4:_0xd8e4[325]}))}});return _0x57ffx60})[_0xd8e4[277]]()[_0xd8e4[32]](function(){logger[_0xd8e4[73]](_0xd8e4[323])})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[322],_0x57ffx19[_0xd8e4[26]])})}function removeExpiredApplications(_0x57ffx42){return models[_0xd8e4[347]+ _0x57ffx42+ _0xd8e4[348]][_0xd8e4[33]]({where:{leaveAt:null,timeslot:{$ne:null}}})[_0xd8e4[32]](function(_0x57ffx6d){var _0x57ffx6e,_0x57ffx6f=[];_[_0xd8e4[31]](_0x57ffx6d,function(_0x57ffx70){_0x57ffx6e= moment(_0x57ffx70[_0xd8e4[345]])[_0xd8e4[344]](_0x57ffx70[_0xd8e4[343]],_0xd8e4[229]);if(moment()[_0xd8e4[346]](_0x57ffx6e)){_0x57ffx6f[_0xd8e4[262]](_0x57ffx70[_0xd8e4[269]]({timeout:true,leaveAt:moment()[_0xd8e4[59]](_0xd8e4[58])}))}});return _0x57ffx6f})[_0xd8e4[277]]()[_0xd8e4[32]](function(){logger[_0xd8e4[73]](_0xd8e4[340]+ _0x57ffx42+ _0xd8e4[342])})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[340]+ _0x57ffx42+ _0xd8e4[341],_0x57ffx19)})}var channelModels=[_0xd8e4[349],_0xd8e4[350],_0xd8e4[351],_0xd8e4[352],_0xd8e4[353]];clean(channelModels);setInterval(function(){clean(channelModels)},10* 60* 1000);function networkRewrite(_0x57ffx73){switch(_0x57ffx73[_0xd8e4[192]]){case _0xd8e4[364]:return models[_0xd8e4[366]][_0xd8e4[365]](_0xd8e4[364])[_0xd8e4[33]]()[_0xd8e4[32]](function(_0x57ffx74){var _0x57ffx75=_0xd8e4[183];var _0x57ffx76=_0xd8e4[355];_0x57ffx74[_0xd8e4[31]](function(_0x57ffx77){_0x57ffx75+= util[_0xd8e4[59]](_0xd8e4[356],_0x57ffx77[_0xd8e4[222]])});fs[_0xd8e4[363]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0x57ffx76),_0x57ffx75,{flags:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)},function(_0x57ffx19){if(_0x57ffx19){throw _0x57ffx19};amiCommand(_0xd8e4[361]);logger[_0xd8e4[73]](_0xd8e4[362])})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[354],_0x57ffx19)});case _0xd8e4[371]:return models[_0xd8e4[366]][_0xd8e4[365]](_0xd8e4[371])[_0xd8e4[33]]()[_0xd8e4[32]](function(_0x57ffx78){var _0x57ffx79=_0xd8e4[183];var _0x57ffx7a=_0xd8e4[368];_0x57ffx78[_0xd8e4[31]](function(_0x57ffx7b){_0x57ffx79+= util[_0xd8e4[59]](_0xd8e4[369],_0x57ffx7b[_0xd8e4[222]])});fs[_0xd8e4[363]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0x57ffx7a),_0x57ffx79,{flags:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)},function(_0x57ffx19){if(_0x57ffx19){throw _0x57ffx19};amiCommand(_0xd8e4[361]);logger[_0xd8e4[73]](_0xd8e4[370])})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[367],_0x57ffx19)});default:logger[_0xd8e4[27]](_0xd8e4[372],_0x57ffx73[_0xd8e4[192]])}}function amiCommand(_0x57ffx7d){return amiAction({Action:_0xd8e4[338],command:_0x57ffx7d})[_0xd8e4[32]](function(_0x57ffx58){logger[_0xd8e4[73]](_0xd8e4[373],_0x57ffx7d,_0x57ffx58)})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[373],_0x57ffx7d,_0x57ffx19)})}function trunksRewrite(){var _0x57ffx7f=_0xd8e4[183];var _0x57ffx80=_0xd8e4[183];var _0x57ffx81=_0xd8e4[374];return models[_0xd8e4[34]][_0xd8e4[33]]({where:{active:true},raw:true})[_0xd8e4[32]](function(_0x57ffx1a){activeTrunks= {};_0x57ffx1a[_0xd8e4[31]](function(_0x57ffx82){activeTrunks[_0x57ffx82[_0xd8e4[29]]]= _0x57ffx82[_0xd8e4[30]];delete _0x57ffx82[_0xd8e4[375]];delete _0x57ffx82[_0xd8e4[345]];delete _0x57ffx82[_0xd8e4[376]];delete _0x57ffx82[_0xd8e4[377]];delete _0x57ffx82[_0xd8e4[83]];if(_0x57ffx82[_0xd8e4[85]]){_0x57ffx80+= util[_0xd8e4[59]](_0x57ffx81,_0x57ffx82[_0xd8e4[85]])};delete _0x57ffx82[_0xd8e4[85]];_0x57ffx7f+= util[_0xd8e4[59]](_0xd8e4[378],_0x57ffx82[_0xd8e4[29]]);if(_0x57ffx82[_0xd8e4[379]]){_0x57ffx7f+= util[_0xd8e4[59]](_0xd8e4[380],_0x57ffx82[_0xd8e4[379]]);delete _0x57ffx82[_0xd8e4[379]]};for(var _0x57ffx30 in _0x57ffx82){if(_0x57ffx82[_0x57ffx30]){switch(_0x57ffx30){case _0xd8e4[383]:var _0x57ffx83=_0x57ffx82[_0x57ffx30][_0xd8e4[102]](_0xd8e4[381]);_0x57ffx83[_0xd8e4[31]](function(_0x57ffx40){_0x57ffx7f+= util[_0xd8e4[59]](_0xd8e4[382],_0x57ffx30,_0x57ffx40)});break;default:_0x57ffx7f+= util[_0xd8e4[59]](_0xd8e4[382],_0x57ffx30,_0x57ffx82[_0x57ffx30])}}}});fs[_0xd8e4[363]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0xd8e4[384]),_0x57ffx7f,{flags:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)},function(_0x57ffx19){if(_0x57ffx19){throw _0x57ffx19};logger[_0xd8e4[73]](_0xd8e4[385]);fs[_0xd8e4[363]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0xd8e4[386]),_0x57ffx80,{flags:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)},function(_0x57ffx19){if(_0x57ffx19){throw _0x57ffx19};amiCommand(_0xd8e4[361]);logger[_0xd8e4[73]](_0xd8e4[387])})})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0x57ffx19)})}function rewriteContexts(_0x57ffx73,_0x57ffx85){return function(){var _0x57ffx86=_0xd8e4[183];if(!_0x57ffx85){_0x57ffx86= util[_0xd8e4[59]](_0xd8e4[388],_0x57ffx73[_0xd8e4[29]],_0x57ffx73[_0xd8e4[29]])};return models[_0xd8e4[393]][_0xd8e4[33]]({where:{id:{$ne:_0x57ffx73[_0xd8e4[253]]}}})[_0xd8e4[32]](function(_0x57ffx87){_0x57ffx87[_0xd8e4[31]](function(_0x57ffx82){_0x57ffx86+= util[_0xd8e4[59]](_0xd8e4[388],_0x57ffx82[_0xd8e4[29]],_0x57ffx82[_0xd8e4[29]])});fs[_0xd8e4[363]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0xd8e4[390]),_0x57ffx86,{flags:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)},function(_0x57ffx19){if(_0x57ffx19){throw _0x57ffx19};logger[_0xd8e4[73]](_0xd8e4[391]);amiCommand(_0xd8e4[392])})})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[389],_0x57ffx19)})}}function createHangup(_0x57ffx73){return function(){logger[_0xd8e4[73]](_0xd8e4[394],_0x57ffx73[_0xd8e4[29]]);var _0x57ffx47=[{context:_0x57ffx73[_0xd8e4[29]],exten:_0xd8e4[395],priority:_0xd8e4[396],VoiceContextId:_0x57ffx73[_0xd8e4[253]],type:_0xd8e4[397],app:_0xd8e4[398]},{context:_0x57ffx73[_0xd8e4[29]],exten:_0xd8e4[399],priority:_0xd8e4[396],VoiceContextId:_0x57ffx73[_0xd8e4[253]],type:_0xd8e4[397],app:_0xd8e4[398]}];return models[_0xd8e4[402]][_0xd8e4[263]](_0x57ffx47)[_0xd8e4[32]](function(){logger[_0xd8e4[73]](_0xd8e4[401])})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[400],_0x57ffx19)})}}function rtpRewrite(_0x57ffx47){if(_0x57ffx47){var _0x57ffx8a=_0xd8e4[183];for(var _0x57ffx30 in _0x57ffx47){_0x57ffx47[_0x57ffx30]&& (_0x57ffx8a+= util[_0xd8e4[59]](_0xd8e4[382],_0x57ffx30,_0x57ffx47[_0x57ffx30]))};try{fs[_0xd8e4[404]](path[_0xd8e4[358]](config[_0xd8e4[357]],_0xd8e4[403]),_0x57ffx8a,{flag:_0xd8e4[359],mode:parseInt(_0xd8e4[360],8)});logger[_0xd8e4[73]](_0xd8e4[405]);amiCommand(_0xd8e4[406])}catch(err){logger[_0xd8e4[27]](_0xd8e4[407],err)}}else {logger[_0xd8e4[27]](_0xd8e4[408])}}function execRequest(_0x57ffx73,_0x57ffx8c,_0x57ffx8d){return Util[_0xd8e4[411]](_0x57ffx73,_0x57ffx8c,_0x57ffx8d)[_0xd8e4[32]](function(_0x57ffx8e){faxLogger[_0xd8e4[73]](_0xd8e4[410])})[_0xd8e4[28]](function(_0x57ffx19){faxLogger[_0xd8e4[27]](_0xd8e4[409],_0x57ffx19)})}function webhook(_0x57ffx73,_0x57ffx90,_0x57ffx91){switch(_0x57ffx91){case _0xd8e4[419]:if(_0x57ffx90[_0xd8e4[412]]&& _0x57ffx90[_0xd8e4[413]]){faxLogger[_0xd8e4[73]](_0xd8e4[414]+ _0x57ffx90[_0xd8e4[29]]+ _0xd8e4[415]);execRequest(_0x57ffx73,_0x57ffx90[_0xd8e4[412]],_0x57ffx90[_0xd8e4[413]])};if(_0x57ffx90[_0xd8e4[416]][_0xd8e4[335]]){_[_0xd8e4[31]](_0x57ffx90[_0xd8e4[416]],function(_0x57ffx38){if(_0x57ffx38[_0xd8e4[417]]){Util[_0xd8e4[418]](_0x57ffx38,_0x57ffx73)}})};break;case _0xd8e4[423]:if(_0x57ffx90[_0xd8e4[420]]&& _0x57ffx90[_0xd8e4[421]]){faxLogger[_0xd8e4[73]](_0xd8e4[414]+ _0x57ffx90[_0xd8e4[29]]+ _0xd8e4[422]);execRequest(_0x57ffx73,_0x57ffx90[_0xd8e4[420]],_0x57ffx90[_0xd8e4[421]])};break;case _0xd8e4[77]:if(_0x57ffx90[_0xd8e4[424]]&& _0x57ffx90[_0xd8e4[425]]){faxLogger[_0xd8e4[73]](_0xd8e4[414]+ _0x57ffx90[_0xd8e4[29]]+ _0xd8e4[426]);execRequest(_0x57ffx73,_0x57ffx90[_0xd8e4[424]],_0x57ffx90[_0xd8e4[425]])};break;default:faxLogger[_0xd8e4[27]](_0xd8e4[427])}}function getFaxRoom(){return function(_0x57ffx90,_0x57ffx93){if(_0x57ffx93[_0xd8e4[428]]){return models[_0xd8e4[429]][_0xd8e4[310]](_0x57ffx93.FaxRoomId)}else {return models[_0xd8e4[429]][_0xd8e4[33]]({limit:1,where:{contact:_0x57ffx93[_0xd8e4[432]],FaxAccountId:_0x57ffx90[_0xd8e4[253]]},order:[[_0xd8e4[375],_0xd8e4[434]]]})[_0xd8e4[32]](function(_0x57ffx94){var _0x57ffx95=_[_0xd8e4[430]](_0x57ffx94);if(!_0x57ffx95|| _0x57ffx95[_0xd8e4[377]]=== _0xd8e4[431]){return models[_0xd8e4[429]][_0xd8e4[63]]({contact:_0x57ffx93[_0xd8e4[432]],account:_0x57ffx90[_0xd8e4[29]],status:_0xd8e4[433],FaxAccountId:_0x57ffx90[_0xd8e4[253]]})}else {return _0x57ffx95}})}}}function sendFax(_0x57ffx97,_0x57ffx98,_0x57ffx99){if(_0x57ffx97[_0xd8e4[377]]=== _0xd8e4[435]){faxLogger[_0xd8e4[438]](util[_0xd8e4[59]](_0xd8e4[436],_0x57ffx97[_0xd8e4[437]],_0x57ffx97[_0xd8e4[432]]));var _0x57ffx9a;var _0x57ffx9b=_0x57ffx97;var _0x57ffx9c=_0x57ffx97[_0xd8e4[437]];var _0x57ffx9d=_0x57ffx97[_0xd8e4[432]];var _0x57ffx9e;var _0x57ffx9f;var _0x57ffxa0,_0x57ffxa1;return models[_0xd8e4[489]][_0xd8e4[274]]({where:{localstationid:_0x57ffx9b[_0xd8e4[437]]}})[_0xd8e4[32]](function(_0x57ffxa5){if(!_0x57ffxa5){throw  new Error(_0xd8e4[486])};faxLogger[_0xd8e4[73]](_0xd8e4[487],_0x57ffxa5[_0xd8e4[450]]);_0x57ffx9e= _[_0xd8e4[147]](_0x57ffxa5[_0xd8e4[266]]);return models[_0xd8e4[34]][_0xd8e4[274]]({where:{name:_0x57ffx9e[_0xd8e4[488]]},attributes:[_0xd8e4[29]]})})[_0xd8e4[32]](function(_0x57ffx1b){if(!_0x57ffx1b){throw  new Error(_0xd8e4[484])};faxLogger[_0xd8e4[73]](_0xd8e4[485],_0x57ffx1b[_0xd8e4[29]]);_0x57ffx9f= _[_0xd8e4[147]](_0x57ffx1b[_0xd8e4[266]]);return})[_0xd8e4[32]](function(){return [_0x57ffx9e,_0x57ffx9b]})[_0xd8e4[474]](getFaxRoom())[_0xd8e4[32]](function(_0x57ffxa4){if(!_0x57ffxa4){throw  new Error(_0xd8e4[481])};faxLogger[_0xd8e4[73]](_0xd8e4[482],_0x57ffxa4[_0xd8e4[253]]);_0x57ffx9a= _0x57ffxa4;return _0x57ffx9a[_0xd8e4[483]](_0x57ffx9b[_0xd8e4[253]])})[_0xd8e4[32]](function(){return _0x57ffx9a[_0xd8e4[269]]({status:_0xd8e4[433],lastEvent:_0xd8e4[435],lastEventAt:moment()[_0xd8e4[59]](_0xd8e4[58]),faxOut:++_0x57ffx9a[_0xd8e4[479]]},{individualHooks:true,user:_0x57ffx99[_0xd8e4[480]]})})[_0xd8e4[32]](function(_0x57ffx47){faxLogger[_0xd8e4[73]](_0xd8e4[477],_0x57ffx47[_0xd8e4[253]]);return _0x57ffx9a[_0xd8e4[478]](_0x57ffx9b.UserId)})[_0xd8e4[32]](function(){return models[_0xd8e4[311]][_0xd8e4[310]](_0x57ffx9b.UserId)})[_0xd8e4[32]](function(){if(_0x57ffx9e[_0xd8e4[475]]){return models[_0xd8e4[476]][_0xd8e4[293]]({where:{ListId:_0x57ffx9e[_0xd8e4[475]],$or:[{phone:_0x57ffx9d},{fax:_0x57ffx9d}]},defaults:{fax:_0x57ffx9d,phone:_0x57ffx9d,firstName:_0x57ffx9d,ListId:_0x57ffx9e[_0xd8e4[475]]}})}else {return []}})[_0xd8e4[474]](function(_0x57ffxa2,_0x57ffxa3){if(_0x57ffxa3!== undefined&&  !_0x57ffxa3){return _0x57ffxa2[_0xd8e4[269]]({fax:_0x57ffx9d})};return})[_0xd8e4[32]](function(){_0x57ffxa0= _0x57ffx9b[_0xd8e4[461]][0][_0xd8e4[6]];if(_0x57ffx9b[_0xd8e4[461]][0][_0xd8e4[192]]=== _0xd8e4[462]){_0x57ffxa1= path[_0xd8e4[358]](config[_0xd8e4[463]],_0xd8e4[464],_0xd8e4[465],_0xd8e4[16],_0xd8e4[194],_0xd8e4[466],_0xd8e4[467],path[_0xd8e4[468]](_0x57ffxa0)[_0xd8e4[29]]+ _0xd8e4[469]);return exec(_0xd8e4[470]+ _0x57ffxa1+ _0xd8e4[471]+ _0x57ffxa0)}else {_0x57ffxa1= path[_0xd8e4[358]](config[_0xd8e4[463]],_0xd8e4[464],_0xd8e4[465],_0xd8e4[16],_0xd8e4[194],_0xd8e4[466],_0xd8e4[467],path[_0xd8e4[468]](_0x57ffxa0)[_0xd8e4[472]]);fse[_0xd8e4[473]](_0x57ffxa0,_0x57ffxa1);return}})[_0xd8e4[32]](function(){fs[_0xd8e4[459]](_0x57ffxa1,511);faxLogger[_0xd8e4[73]](_0xd8e4[460]);return models[_0xd8e4[443]][_0xd8e4[265]]({filename:_0x57ffxa1,localstationid:_0x57ffx9b[_0xd8e4[437]],retry:_0x57ffx98},{where:{id:_0x57ffx9b[_0xd8e4[253]]}})})[_0xd8e4[32]](function(_0x57ffx97){return amiAction({action:_0xd8e4[446],channel:util[_0xd8e4[59]](_0xd8e4[447],_0x57ffx9e[_0xd8e4[448]],_0x57ffx9f[_0xd8e4[29]],_0x57ffx9d),exten:_0x57ffx9d,context:_0xd8e4[449],priority:1,callerid:util[_0xd8e4[59]](_0xd8e4[180],_0x57ffx9e[_0xd8e4[450]],_0x57ffx9e[_0xd8e4[450]]),variable:{FAXNAME:_0x57ffx9e[_0xd8e4[29]],FAXNUMBER:_0x57ffx9d,FAXECM:_0x57ffx9e[_0xd8e4[451]],FAXHEADERINFO:_0x57ffx9e[_0xd8e4[452]],FAXLOCALSTATIONID:_0x57ffx9e[_0xd8e4[450]],FAXMINRATE:_0x57ffx9e[_0xd8e4[453]],FAXMAXRATE:_0x57ffx9e[_0xd8e4[454]],FAXMODEM:util[_0xd8e4[59]](_0xd8e4[455],_0x57ffx9e[_0xd8e4[456]]),FAXGATEWAY:_0x57ffx9e[_0xd8e4[457]],FAXT38TIMEOUT:_0x57ffx9e[_0xd8e4[458]],FAXOUTFILE:_0x57ffxa1},account:_0x57ffx9e[_0xd8e4[450]]})})[_0xd8e4[32]](function(_0x57ffx58){faxLogger[_0xd8e4[438]](_0xd8e4[444]);faxLogger[_0xd8e4[73]](_0xd8e4[445],_0x57ffx58)})[_0xd8e4[28]](function(_0x57ffx19){faxLogger[_0xd8e4[27]](_0xd8e4[439],_0x57ffx19);faxLogger[_0xd8e4[27]](_0xd8e4[440],_0x57ffx19[_0xd8e4[281]]);faxLogger[_0xd8e4[27]](_0xd8e4[441],_0x57ffx19[_0xd8e4[26]]);return models[_0xd8e4[443]][_0xd8e4[265]]({status:_0xd8e4[171]},{where:{id:_0x57ffx9b[_0xd8e4[253]]}})[_0xd8e4[32]](function(_0x57ffx47){if(_0x57ffx9a){return _0x57ffx9a[_0xd8e4[269]]({lastEvent:_0xd8e4[171]})};return})[_0xd8e4[28]](function(_0x57ffx19){faxLogger[_0xd8e4[27]](_0xd8e4[442],_0x57ffx19);faxLogger[_0xd8e4[27]](_0xd8e4[440],_0x57ffx19[_0xd8e4[281]]);faxLogger[_0xd8e4[27]](_0xd8e4[441],_0x57ffx19[_0xd8e4[26]])})})}}models[_0xd8e4[443]][_0xd8e4[490]](function(_0x57ffx73,_0x57ffx37){sendFax(_0x57ffx73[_0xd8e4[266]],0,_0x57ffx37)});models[_0xd8e4[443]][_0xd8e4[493]](function(_0x57ffx73,_0x57ffx37){if(_0x57ffx73[_0xd8e4[491]](_0xd8e4[377])&& _0x57ffx73[_0xd8e4[377]]=== _0xd8e4[435]){sendFax(_0x57ffx73[_0xd8e4[266]],_0x57ffx73[_0xd8e4[492]]+ 1,_0x57ffx37)}});models[_0xd8e4[429]][_0xd8e4[493]](function(_0x57ffx73){var _0x57ffxa6=_[_0xd8e4[495]](faxaccounts,{id:_0x57ffx73[_0xd8e4[494]]});if(_0x57ffxa6&& _0x57ffx73[_0xd8e4[491]](_0xd8e4[377])&& _0x57ffx73[_0xd8e4[377]]=== _0xd8e4[431]){webhook(_0x57ffx73[_0xd8e4[266]],_0x57ffxa6,_0xd8e4[77])}});models[_0xd8e4[496]][_0xd8e4[490]](function(_0x57ffx73,_0x57ffx37){onSave(_0x57ffx73,_0x57ffx37)});models[_0xd8e4[489]][_0xd8e4[33]]({raw:true})[_0xd8e4[32]](function(_0x57ffxa7){faxaccounts= _0x57ffxa7})[_0xd8e4[28]](function(_0x57ffx19){faxLogger[_0xd8e4[27]](_0xd8e4[497],_0x57ffx19)});function addToCollection(_0x57ffxa9,_0x57ffxaa){_0x57ffxa9[_0xd8e4[262]](_0x57ffxaa)}function updateCollection(_0x57ffxa9,_0x57ffxaa){var _0x57ffxac=_[_0xd8e4[495]](_0x57ffxa9,{id:_0x57ffxaa[_0xd8e4[253]]});if(_0x57ffxac){_[_0xd8e4[267]](_0x57ffxac,_0x57ffxaa)}else {_0x57ffxa9[_0xd8e4[498]](_0x57ffxaa)}}function removeFromCollection(_0x57ffxa9,_0x57ffxaa){_[_0xd8e4[499]](_0x57ffxa9,{id:_0x57ffxaa[_0xd8e4[253]]})}function getWidgets(_0x57ffxaf){_0x57ffxaf= JSON[_0xd8e4[468]](_0x57ffxaf|| _0xd8e4[500]);var _0x57ffxb0=[];if(_0x57ffxaf[_0xd8e4[501]]){_[_0xd8e4[31]](_0x57ffxaf[_0xd8e4[501]],function(_0x57ffxb1){_0x57ffxb0[_0xd8e4[262]](_[_0xd8e4[505]](_[_0xd8e4[504]](_0x57ffxb1[_0xd8e4[502]],_0xd8e4[503])))});if(_0x57ffxb0[_0xd8e4[335]]){var _0x57ffxb2=[];_[_0xd8e4[31]](_0x57ffxb0,function(_0x57ffxb3){_[_0xd8e4[31]](_0x57ffxb3,function(_0x57ffxb4){_[_0xd8e4[193]]([_0xd8e4[506],_0xd8e4[507],_0xd8e4[508]],_0x57ffxb4[_0xd8e4[192]])&& _0x57ffxb2[_0xd8e4[262]]({config:{select:_0x57ffxb4[_0xd8e4[510]][_0xd8e4[509]],fields:_0x57ffxb4[_0xd8e4[510]][_0xd8e4[511]],condition:_0x57ffxb4[_0xd8e4[510]][_0xd8e4[512]],table:_0x57ffxb4[_0xd8e4[510]][_0xd8e4[514]][_0xd8e4[223]](_0xd8e4[513],_0xd8e4[183])},id:_0x57ffxb4[_0xd8e4[515]],type:_0x57ffxb4[_0xd8e4[192]]})})});return (_0x57ffxb2[_0xd8e4[335]]?_0x57ffxb2:null)};return null};return null}function toAddDate(_0x57ffxb6){switch(_0x57ffxb6){case _0xd8e4[516]:;case _0xd8e4[517]:;case _0xd8e4[518]:;case _0xd8e4[519]:;case _0xd8e4[520]:;case _0xd8e4[521]:;case _0xd8e4[522]:;case _0xd8e4[523]:;case _0xd8e4[524]:;case _0xd8e4[525]:;case _0xd8e4[526]:;case _0xd8e4[527]:;case _0xd8e4[528]:;case _0xd8e4[529]:return false;default:return true}}function getCounterWidgetQuery(_0x57ffxb8,_0x57ffx5d){return Promise[_0xd8e4[289]]()[_0xd8e4[32]](function(){return _0x57ffxb8[_0xd8e4[506]]})[_0xd8e4[32]](reportBuildUtils[_0xd8e4[545]](_0x57ffx5d))[_0xd8e4[32]](function(_0x57ffxb9){var _0x57ffxba=util[_0xd8e4[59]](_0xd8e4[531],_0x57ffxb8[_0xd8e4[509]],_0x57ffxb8[_0xd8e4[506]]);if(_0x57ffxb8[_0xd8e4[512]]&& _0x57ffxb8[_0xd8e4[512]]!== _0xd8e4[532]){_0x57ffxba+= util[_0xd8e4[59]](_0xd8e4[533],decodeURIComponent(_0x57ffxb8[_0xd8e4[512]]))};if(toAddDate(_0x57ffxb8[_0xd8e4[506]])){_0x57ffxba+= util[_0xd8e4[59]]((_0x57ffxb8[_0xd8e4[512]]&& _0x57ffxb8[_0xd8e4[512]]!== _0xd8e4[532])?_0xd8e4[534]:_0xd8e4[535],moment()[_0xd8e4[537]](_0xd8e4[536])[_0xd8e4[59]](_0xd8e4[58]))};if(!_0x57ffxb9|| _0x57ffxb9!== _0xd8e4[538]){if(_0x57ffxb9){_0x57ffxba+= _0x57ffxb8[_0xd8e4[512]]?_0xd8e4[539]+ _0x57ffxb9:_0xd8e4[540]+ _0x57ffxb9};logger[_0xd8e4[73]](_0xd8e4[541]);logger[_0xd8e4[73]](_0x57ffxba);logger[_0xd8e4[73]](_0xd8e4[542]);return _0x57ffxba}else {logger[_0xd8e4[27]](_0xd8e4[543]);logger[_0xd8e4[27]](_0xd8e4[544]);logger[_0xd8e4[27]](_0xd8e4[542]);return []}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[530],_0x57ffx19[_0xd8e4[26]])})}function getPieChartWidgetQuery(_0x57ffxb8,_0x57ffx5d){return Promise[_0xd8e4[277]]([])[_0xd8e4[32]](function(){return _0x57ffxb8[_0xd8e4[506]]})[_0xd8e4[32]](reportBuildUtils[_0xd8e4[545]](_0x57ffx5d))[_0xd8e4[32]](function(_0x57ffxb9){var _0x57ffxbc=[];var _0x57ffx40;if(_0x57ffxb8[_0xd8e4[511]]){if(_[_0xd8e4[547]](_0x57ffxb8[_0xd8e4[511]])){_0x57ffxb8[_0xd8e4[511]][_0xd8e4[31]](function(_0x57ffx82){if(_0x57ffx82[_0xd8e4[548]]&& _0x57ffx82[_0xd8e4[549]]){_0x57ffxbc[_0xd8e4[262]](_0x57ffx82[_0xd8e4[548]]+ _0xd8e4[550]+ _0x57ffx82[_0xd8e4[549]]+ _0xd8e4[551])}})}else {if(_[_0xd8e4[552]](_0x57ffxb8[_0xd8e4[511]])){var _0x57ffx82=JSON[_0xd8e4[468]](_0x57ffxb8[_0xd8e4[511]]);if(_0x57ffx82[_0xd8e4[548]]&& _0x57ffx82[_0xd8e4[549]]){_0x57ffxbc[_0xd8e4[262]](_0x57ffx82[_0xd8e4[548]]+ _0xd8e4[550]+ _0x57ffx82[_0xd8e4[549]]+ _0xd8e4[551])}}}};var _0x57ffxbd=_0x57ffxbc[_0xd8e4[335]]?_0x57ffxbc[_0xd8e4[358]](_0xd8e4[101]):_0xd8e4[553];var _0x57ffxbe=_0xd8e4[183];if(_0x57ffxb8[_0xd8e4[512]]&& _0x57ffxb8[_0xd8e4[512]]!== _0xd8e4[554]&& _0x57ffxb8[_0xd8e4[512]]!== _0xd8e4[532]){_0x57ffxbe= util[_0xd8e4[59]](_0xd8e4[533],decodeURIComponent(_0x57ffxb8[_0xd8e4[512]]))};if(toAddDate(_0x57ffxb8[_0xd8e4[506]])){_0x57ffxbe+= util[_0xd8e4[59]]((_0x57ffxb8[_0xd8e4[512]]&& _0x57ffxb8[_0xd8e4[512]]!== _0xd8e4[532])?_0xd8e4[534]:_0xd8e4[535],moment()[_0xd8e4[537]](_0xd8e4[536])[_0xd8e4[59]](_0xd8e4[58]))};if(!_0x57ffxb9|| _0x57ffxb9!== _0xd8e4[538]){if(_0x57ffxb9){_0x57ffxbe+= _0x57ffxbe?_0xd8e4[539]+ _0x57ffxb9:_0xd8e4[540]+ _0x57ffxb9};var _0x57ffxba=util[_0xd8e4[59]](_0xd8e4[555],_0x57ffxbd,_0x57ffxb8[_0xd8e4[506]],_0x57ffxbe);logger[_0xd8e4[73]](_0xd8e4[541]);logger[_0xd8e4[73]](_0x57ffxba);logger[_0xd8e4[73]](_0xd8e4[542]);return _0x57ffxba}else {logger[_0xd8e4[27]](_0xd8e4[543]);logger[_0xd8e4[27]](_0xd8e4[544]);logger[_0xd8e4[27]](_0xd8e4[542]);return []}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[546],_0x57ffx19[_0xd8e4[26]])})}function getWidgetQuery(_0x57ffxb8,_0x57ffx5d){switch(_0x57ffxb8[_0xd8e4[192]]){case _0xd8e4[508]:return getCounterWidgetQuery(_0x57ffxb8[_0xd8e4[510]],_0x57ffx5d);case _0xd8e4[507]:return getPieChartWidgetQuery(_0x57ffxb8[_0xd8e4[510]],_0x57ffx5d);default:return Promise[_0xd8e4[289]]()[_0xd8e4[32]](function(){return null})}}function getCustomDashboardValues(_0x57ffxc1,_0x57ffx5d){var _0x57ffxc2={};var _0x57ffxc3=[],_0x57ffxc4=[],_0x57ffxba;return models[_0xd8e4[567]][_0xd8e4[310]](_0x57ffxc1)[_0xd8e4[32]](function(_0x57ffxc5){if(!_0x57ffxc5){logger[_0xd8e4[27]](_0xd8e4[559],_0x57ffxc1,_0xd8e4[560]);return};var _0x57ffxb2=getWidgets(_0x57ffxc5[_0xd8e4[561]]);if(_0x57ffxb2){_[_0xd8e4[31]](_0x57ffxb2,function(_0x57ffxb8){_0x57ffxc3[_0xd8e4[262]](getWidgetQuery(_0x57ffxb8,_0x57ffx5d)[_0xd8e4[32]](function(_0x57ffxba){_0x57ffxc4[_0xd8e4[262]](Promise[_0xd8e4[289]]()[_0xd8e4[32]](function(){if(_0x57ffxba){return models[_0xd8e4[565]][_0xd8e4[566]](_0x57ffxba,{type:models[_0xd8e4[565]][_0xd8e4[564]][_0xd8e4[563]]})}else {return []}})[_0xd8e4[32]](function(_0x57ffx58){_0x57ffxc2[_0x57ffxb8[_0xd8e4[253]]]= _0x57ffx58})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[562],_0x57ffxb8[_0xd8e4[253]],_0x57ffx19);_0x57ffxc2[_0x57ffxb8[_0xd8e4[253]]]= []}))}))});return _0x57ffxc3};return []})[_0xd8e4[277]]()[_0xd8e4[32]](function(){return _0x57ffxc4})[_0xd8e4[277]]()[_0xd8e4[32]](function(){if(!_[_0xd8e4[557]](_0x57ffxc2)){return events[_0xd8e4[558]](_0x57ffxc2,_0x57ffx5d)}})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[556],_0x57ffxc1,_0x57ffx19)})}process[_0xd8e4[74]](_0xd8e4[281],function(_0x57ffxc6){switch(_0x57ffxc6[_0xd8e4[281]]){case _0xd8e4[568]:;case _0xd8e4[569]:;case _0xd8e4[571]:networkRewrite(_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[573]:return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](rewriteContexts(_0x57ffxc6[_0xd8e4[570]],false))[_0xd8e4[32]](createHangup(_0x57ffxc6[_0xd8e4[570]]))[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[572],_0x57ffx19)});case _0xd8e4[575]:return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](rewriteContexts(_0x57ffxc6[_0xd8e4[570]],true))[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[574],_0x57ffx19)});case _0xd8e4[576]:addToCollection(faxaccounts,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[577]:updateCollection(faxaccounts,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[578]:removeFromCollection(faxaccounts,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[579]:trunksRewrite();break;case _0xd8e4[580]:rtpRewrite(_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[581]:;case _0xd8e4[582]:sendFax(_0x57ffxc6[_0xd8e4[570]],0,_0x57ffxc6[_0xd8e4[48]]);break;case _0xd8e4[583]:var _0x57ffxa6=_[_0xd8e4[495]](faxaccounts,{id:_0x57ffxc6[_0xd8e4[570]][_0xd8e4[494]]});if(_0x57ffxa6){webhook(_0x57ffxc6[_0xd8e4[570]],_0x57ffxa6,_0x57ffxc6[_0xd8e4[41]])};break;case _0xd8e4[585]:return amiAction({action:_0xd8e4[338],command:_0x57ffxc6[_0xd8e4[587]]})[_0xd8e4[32]](function(_0x57ffx6a){return events[_0xd8e4[585]]({type:_0xd8e4[586],data:_0x57ffx6a,socket:_0x57ffxc6[_0xd8e4[584]]})})[_0xd8e4[28]](function(_0x57ffx19){events[_0xd8e4[585]]({type:_0xd8e4[27],data:_0x57ffx19,socket:_0x57ffxc6[_0xd8e4[584]]})});case _0xd8e4[592]:return amiAction(_0x57ffxc6[_0xd8e4[41]])[_0xd8e4[32]](function(_0x57ffx6a){events[_0xd8e4[272]](_0x57ffxc6[_0xd8e4[291]],_0x57ffxc6[_0xd8e4[271]],_0x57ffxc6[_0xd8e4[41]][_0xd8e4[589]]);logger[_0xd8e4[438]](util[_0xd8e4[59]](_0xd8e4[590],_0x57ffxc6[_0xd8e4[291]],_0x57ffxc6[_0xd8e4[41]][_0xd8e4[589]]?_0xd8e4[589]:_0xd8e4[591]))})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](util[_0xd8e4[59]](_0xd8e4[588],_0x57ffxc6[_0xd8e4[291]],_0x57ffxc6[_0xd8e4[41]][_0xd8e4[589]]?_0xd8e4[312]:_0xd8e4[313]),_0x57ffx19)});case _0xd8e4[594]:var _0x57ffx90=_[_0xd8e4[495]](faxaccounts,{id:parseInt(_0x57ffxc6[_0xd8e4[570]][_0xd8e4[593]])});if(_0x57ffx90){webhook(_0x57ffxc6[_0xd8e4[570]],_0x57ffx90,_0x57ffxc6[_0xd8e4[41]])};break;case _0xd8e4[595]:return onSave(_0x57ffxc6[_0xd8e4[570]],_0x57ffxc6[_0xd8e4[48]]);case _0xd8e4[596]:return events[_0xd8e4[596]](_0x57ffxc6[_0xd8e4[294]]);case _0xd8e4[597]:;case _0xd8e4[598]:;case _0xd8e4[599]:;case _0xd8e4[600]:;case _0xd8e4[601]:;case _0xd8e4[602]:;case _0xd8e4[603]:;case _0xd8e4[604]:;case _0xd8e4[605]:;case _0xd8e4[606]:;case _0xd8e4[607]:;case _0xd8e4[609]:return events[_0xd8e4[608]](_0x57ffxc6);case _0xd8e4[611]:return BPromise[_0xd8e4[289]]()[_0xd8e4[32]](function(){return amiUtil[_0xd8e4[611]](amiAction,_0x57ffxc6[_0xd8e4[570]])})[_0xd8e4[28]](function(_0x57ffx19){logger[_0xd8e4[27]](_0xd8e4[610],_0x57ffx19)});case _0xd8e4[612]:;case _0xd8e4[613]:;case _0xd8e4[614]:;case _0xd8e4[615]:;case _0xd8e4[616]:;case _0xd8e4[617]:;case _0xd8e4[618]:;case _0xd8e4[619]:;case _0xd8e4[620]:;case _0xd8e4[622]:return events[_0xd8e4[621]](_0x57ffxc6);case _0xd8e4[627]:switch(_0x57ffxc6[_0xd8e4[506]]){case _0xd8e4[624]:return events[_0xd8e4[623]]();case _0xd8e4[626]:return events[_0xd8e4[625]]();default:};break;case _0xd8e4[628]:newexten(_0x57ffxc6[_0xd8e4[52]],true);break;case _0xd8e4[629]:addToCollection(voiceQueues,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[630]:updateCollection(voiceQueues,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[631]:removeFromCollection(voiceQueues,_0x57ffxc6[_0xd8e4[570]]);break;case _0xd8e4[632]:getCustomDashboardValues(_0x57ffxc6[_0xd8e4[253]],_0x57ffxc6[_0xd8e4[480]]);break;default:}})
\ No newline at end of file
+var _0xcf2c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x66\x73","\x70\x61\x74\x68","\x2E\x2E\x2F\x75\x74\x69\x6C","\x2E\x2F\x75\x74\x69\x6C\x73","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x2D\x70\x72\x6F\x63\x65\x73\x73\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x66\x73\x2D\x65\x78\x74\x72\x61","\x6B\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x61\x6D\x69","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x66\x61\x78","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x65\x76\x65\x6E\x74\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x73\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x74\x72\x75\x6E\x6B\x73\x20\x61\x72\x72\x61\x79\x3A","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6E\x61\x6D\x65","\x64\x65\x66\x61\x75\x6C\x74\x75\x73\x65\x72","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x54\x72\x75\x6E\x6B","\x70\x6F\x72\x74","\x61\x73\x74\x65\x72\x69\x73\x6B","\x68\x6F\x73\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x61\x73\x74\x65\x72\x69\x73\x6B\x2D\x6D\x61\x6E\x61\x67\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x71","\x69\x70","\x72\x65\x64\x69\x73\x50\x77\x64","\x61\x75\x74\x68","\x72\x65\x64\x69\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x75\x65","\x65\x76\x65\x6E\x74\x73","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x76\x74","\x64\x61\x74\x61","\x6E\x65\x65\x64\x41\x6D\x69","\x6A\x6F\x62\x20\x65\x72\x72\x6F\x72","\x70\x72\x6F\x63\x65\x73\x73","\x6E\x6F\x77","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x6B\x75\x65\x20\x71\x75\x65\x75\x65\x20\x6A\x6F\x62\x20\x65\x72\x72\x6F\x72","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4F\x6E\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x20\x71\x75\x65\x75\x65\x73\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6F\x6E","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x6B\x65\x65\x70\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x67\x63","\x47\x61\x72\x62\x61\x67\x65\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E\x20\x75\x6E\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x2E\x20\x20\x50\x61\x73\x73\x20\x2D\x2D\x65\x78\x70\x6F\x73\x65\x2D\x67\x63\x20","\x77\x68\x65\x6E\x20\x6C\x61\x75\x6E\x63\x68\x69\x6E\x67\x20\x6E\x6F\x64\x65\x20\x74\x6F\x20\x65\x6E\x61\x62\x6C\x65\x20\x66\x6F\x72\x63\x65\x64\x20\x67\x61\x72\x62\x61\x67\x65\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E\x2E","\x77\x61\x72\x6E","\x65\x78\x69\x74","\x63\x6F\x64\x65\x20\x65\x78\x69\x74","\x64\x65\x62\x75\x67","\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6C\x6F\x73\x65","\x63\x64\x72\x69\x6E\x66\x6F","\x63\x64\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x63\x64\x72\x69\x6E\x66\x6F\x20\x65\x72\x72\x6F\x72\x3A","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65\x20\x65\x72\x72\x6F\x72\x3A","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72\x3A","\x72\x65\x67\x69\x73\x74\x72\x79","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x72\x65\x67\x69\x73\x74\x72\x79\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x65\x78\x74\x72\x61\x76\x61\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x55\x49\x44","\x68\x61\x73\x51\x75\x65\x75\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x68\x61\x6E\x67\x75\x70\x72\x65\x71\x75\x65\x73\x74","\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x70\x72\x65\x76\x69\x6F\x75\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x6C\x61\x73\x74\x61\x67\x69\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2C","\x73\x70\x6C\x69\x74","\x6C\x61\x73\x74\x64\x61\x74\x61","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x68\x61\x6E\x67\x75\x70\x72\x65\x71\x75\x65\x73\x74\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x46\x6F\x75\x6E\x64\x20\x76\x69\x64\x65\x6F\x6F\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x66\x6F\x72\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x61\x6C\x6C\x69\x6E\x67\x20\x74\x72\x69\x67\x67\x65\x72\x2E\x2E\x2E","\x76\x69\x64\x65\x6F\x4F\x6E\x55\x72\x6C","\x76\x69\x64\x65\x6F\x4F\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x20\x65\x72\x72\x6F\x72\x3A","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x64\x65\x73\x74\x63\x68\x61\x6E\x6E\x65\x6C","\x64\x69\x61\x6C\x65\x6E\x64","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x72\x65\x6A\x65\x63\x74\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x74\x72\x61\x6E\x73\x66\x65\x72","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x65\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65","\x65\x6D\x69\x74","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x75\x6E\x69\x71\x75\x65\x69\x64","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x20\x65\x72\x72\x6F\x72\x3A","\x64\x69\x61\x6C\x62\x65\x67\x69\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x69\x61\x6C\x62\x65\x67\x69\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x64\x69\x61\x6C\x65\x6E\x64\x20\x65\x72\x72\x6F\x72\x3A","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78\x20\x65\x72\x72\x6F\x72\x3A","\x73\x65\x6E\x64\x66\x61\x78","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x73\x65\x6E\x64\x66\x61\x78\x20\x65\x72\x72\x6F\x72\x3A","\x66\x61\x78\x73\x74\x61\x74\x75\x73","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x66\x61\x78\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72\x3A","\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x73\x65\x74","\x61\x67\x69","\x64\x69\x61\x6C","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52","\x46\x41\x49\x4C\x45\x44","\x41\x4E\x53\x57\x45\x52\x45\x44","\x42\x55\x53\x59","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x2D\x2D","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x65\x78\x74\x65\x6E","\x63\x6F\x6E\x74\x65\x78\x74","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x6E\x65\x6C","","\x63\x68\x61\x6E\x6E\x65\x6C\x73\x74\x61\x74\x65","\x74\x6F\x4E\x75\x6D\x62\x65\x72","\x44\x4F\x43\x55\x4D\x45\x4E\x54\x41\x54\x49\x4F\x4E","\x36","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6E\x62\x6F\x75\x6E\x64","\x74\x69\x67\x65\x72\x64\x69\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x71\x75\x65\x75\x65\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x65\x78\x69\x74\x77\x69\x74\x68\x6B\x65\x79","\x71\x75\x65\x75\x65\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x61\x70\x70\x64\x61\x74\x61","\x63\x64\x72\x28","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x3D","\x6D\x61\x74\x63\x68","\x63\x61\x6C\x6C\x65\x72\x69\x64\x28\x6E\x75\x6D\x29","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x28\x6E\x61\x6D\x65\x29","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6D\x6F\x74\x69\x6F\x6E\x5F\x76\x69\x64\x65\x6F\x5F\x72\x6F\x6F\x6D\x5F\x69\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x72\x69\x61\x62\x6C\x65","\x53\x65\x74\x74\x69\x6E\x67\x20\x76\x69\x64\x65\x6F\x6F\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x66\x6F\x72\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x76\x61\x6C\x75\x65","\x72\x65\x70\x6C\x61\x63\x65","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x6A\x6F\x69\x6E\x65\x6D\x70\x74\x79","\x65\x6E\x64\x74\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x73\x65\x63\x6F\x6E\x64\x73","\x64\x69\x66\x66","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x63\x68\x61\x6E\x6E\x65\x6C\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x73\x74\x61\x74\x65","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x73\x74\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x6E\x65\x77\x65\x78\x74\x65\x6E","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x6E\x65\x77\x65\x78\x74\x65\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x76\x61\x72\x73\x65\x74","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x76\x61\x72\x73\x65\x74\x20\x65\x72\x72\x6F\x72\x3A","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x20\x65\x72\x72\x6F\x72\x3A","\x68\x61\x6E\x67\x75\x70","\x41\x4D\x49\x20\x65\x76\x65\x6E\x74\x20\x68\x61\x6E\x67\x75\x70\x20\x65\x72\x72\x6F\x72\x3A","\x6C\x61\x73\x74\x50\x61\x75\x73\x65\x41\x74","\x62\x6F\x64\x79","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x31","\x23","\x73\x6C\x69\x63\x65","\x69\x64","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65","\x66\x69\x6C\x74\x65\x72","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x64\x61\x74\x61\x32","\x72\x6F\x6C\x65","\x64\x61\x74\x61\x33","\x70\x75\x73\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x75\x70\x64\x61\x74\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x61\x67\x65\x6E\x74\x55\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x41\x43\x57","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x61\x63\x77","\x41\x6C\x72\x65\x61\x64\x79\x20\x50\x61\x75\x73\x65\x20\x4F\x66\x66","\x66\x69\x6E\x64\x4F\x6E\x65","\x25\x73\x25\x73","\x50\x61\x75\x73\x65","\x61\x6C\x6C","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x4C\x4F\x47\x49\x4E","\x6D\x65\x73\x73\x61\x67\x65","\x55\x6E\x61\x62\x6C\x65\x20\x74\x6F\x20\x61\x64\x64\x20\x69\x6E\x74\x65\x72\x66\x61\x63\x65\x3A\x20\x41\x6C\x72\x65\x61\x64\x79\x20\x74\x68\x65\x72\x65","\x4C\x6F\x67\x69\x6E\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72\x20\x66\x6F\x72","\x51\x75\x65\x75\x65\x41\x64\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x6C\x6F\x67\x69\x6E\x49\x6E\x50\x61\x75\x73\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x73\x73\x69\x67\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x61\x67\x65\x6E\x74","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\x52\x65\x61\x6C\x74\x69\x6D\x65\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72\x20\x66\x6F\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x64\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x71\x75\x65\x75\x65\x49\x64","\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x73\x6D\x73\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x47\x65\x6E\x65\x72\x61\x6C\x20\x51\x75\x65\x75\x65\x41\x64\x64\x20\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65\x41\x64\x64","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x52\x65\x6D\x6F\x76\x69\x6E\x67\x20\x69\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x2E\x2E\x2E","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x49\x6E\x61\x63\x74\x69\x76\x65\x20\x63\x61\x6C\x6C\x73\x20\x63\x6C\x65\x61\x6E\x69\x6E\x67\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x65\x6E\x74\x65\x72\x41\x74","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x54\x41\x4C\x4B\x49\x4E\x47","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x6E\x6F","\x52\x65\x70\x6F\x72\x74\x44\x69\x61\x6C","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x63\x6F\x6E\x74\x65\x6E\x74","\x0A","\x21","\x6C\x65\x6E\x67\x74\x68","\x70\x6F\x70","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x43\x6F\x6D\x6D\x61\x6E\x64","\x63\x6F\x72\x65\x20\x73\x68\x6F\x77\x20\x63\x68\x61\x6E\x6E\x65\x6C\x73\x20\x63\x6F\x6E\x63\x69\x73\x65","\x49\x6E\x61\x63\x74\x69\x76\x65\x20","\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x3A","\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x63\x6C\x65\x61\x6E\x69\x6E\x67\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64\x21","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x64\x64","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x69\x73\x53\x61\x6D\x65\x4F\x72\x41\x66\x74\x65\x72","\x72\x6F\x6F\x6D\x69\x64","\x75\x6E\x69\x71","\x52\x6F\x6F\x6D\x20\x49\x44\x73\x20\x74\x6F\x20\x63\x6C\x65\x61\x6E","\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74","\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74","\x4D\x61\x69\x6C","\x46\x61\x78","\x53\x6D\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x66","\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x3D\x20\x25\x73\x0A","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x73\x69\x70\x20\x72\x65\x6C\x6F\x61\x64","\x4C\x6F\x63\x61\x6C\x6E\x65\x74\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x4E\x65\x74\x77\x6F\x72\x6B","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x72\x6E\x69\x70\x3A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x66","\x65\x78\x74\x65\x72\x6E\x69\x70\x20\x3D\x20\x25\x73\x0A","\x45\x78\x74\x65\x72\x6E\x69\x70\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x65\x78\x74\x65\x72\x6E\x69\x70","\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x41\x73\x74\x65\x72\x69\x73\x6B\x20","\x72\x65\x67\x69\x73\x74\x65\x72\x20\x3D\x3E\x20\x25\x73\x0A","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x61\x63\x74\x69\x76\x65","\x73\x74\x61\x74\x75\x73","\x65\x6E\x63\x72\x79\x70\x74\x69\x6F\x6E","\x79\x65\x73","\x61\x76\x70\x66","\x64\x74\x6C\x73\x65\x6E\x61\x62\x6C\x65","\x64\x74\x6C\x73\x76\x65\x72\x69\x66\x79","\x64\x74\x6C\x73\x63\x65\x72\x74\x66\x69\x6C\x65","\x2F\x65\x74\x63\x2F\x70\x6B\x69\x2F\x74\x6C\x73\x2F\x63\x65\x72\x74\x73\x2F\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x72\x74","\x64\x74\x6C\x73\x6B\x65\x79\x66\x69\x6C\x65","\x2F\x65\x74\x63\x2F\x70\x6B\x69\x2F\x74\x6C\x73\x2F\x70\x72\x69\x76\x61\x74\x65\x2F\x6D\x6F\x74\x69\x6F\x6E\x2E\x6B\x65\x79","\x64\x74\x6C\x73\x73\x65\x74\x75\x70","\x61\x63\x74\x70\x61\x73\x73","\x64\x74\x6C\x73\x72\x65\x6B\x65\x79","\x30","\x5B\x25\x73\x5D\x0A","\x6F\x74\x68\x65\x72\x46\x69\x65\x6C\x64\x73","\x3B","\x25\x73\x3D\x25\x73\x0A","\x61\x6C\x6C\x6F\x77","\x25\x73\x0A","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x74\x72\x75\x6E\x6B\x73\x2E\x63\x6F\x6E\x66","\x54\x72\x75\x6E\x6B\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x72\x65\x67\x69\x73\x74\x65\x72\x73\x2E\x63\x6F\x6E\x66","\x54\x72\x75\x6E\x6B\x73\x20\x72\x65\x67\x69\x73\x74\x65\x72\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x5B\x25\x73\x5D\x0A\x69\x6E\x63\x6C\x75\x64\x65\x20\x3D\x3E\x20\x25\x73\x2D\x63\x75\x73\x74\x6F\x6D\x0A\x73\x77\x69\x74\x63\x68\x20\x3D\x3E\x20\x52\x65\x61\x6C\x74\x69\x6D\x65\x0A","\x52\x65\x77\x72\x69\x74\x65\x43\x6F\x6E\x74\x65\x78\x74\x73","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x63\x6F\x6E\x74\x65\x78\x74\x73\x2E\x63\x6F\x6E\x66","\x43\x6F\x6E\x74\x65\x78\x74\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x64\x69\x61\x6C\x70\x6C\x61\x6E\x20\x72\x65\x6C\x6F\x61\x64","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x68\x61\x6E\x67\x75\x70","\x68","\x31","\x73\x79\x73\x74\x65\x6D","\x48\x61\x6E\x67\x75\x70","\x66\x61\x69\x6C\x65\x64","\x43\x72\x65\x61\x74\x65\x48\x61\x6E\x67\x75\x70","\x68\x61\x6E\x67\x75\x70\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x72\x74\x70\x5F\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6E\x66","\x77\x72\x69\x74\x65\x46\x69\x6C\x65\x53\x79\x6E\x63","\x72\x74\x70\x20\x78\x63\x61\x6C\x6C\x79\x20\x63\x6F\x6E\x66\x20\x66\x69\x6C\x65\x20\x75\x70\x64\x61\x74\x65\x64\x21","\x72\x65\x6C\x6F\x61\x64","\x45\x72\x72\x6F\x72\x20\x72\x65\x77\x72\x69\x74\x69\x6E\x67\x20\x72\x74\x70\x20\x78\x63\x61\x6C\x6C\x79\x20\x63\x6F\x6E\x66\x20\x66\x69\x6C\x65","\x4E\x6F\x20\x64\x61\x74\x61\x20\x70\x72\x6F\x76\x69\x64\x65\x64\x20\x66\x6F\x72\x20\x72\x74\x70\x20\x66\x69\x6C\x65","\x57\x65\x62\x6F\x6F\x6B\x20\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x21","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x3C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x61\x63\x63\x65\x70\x74","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x72\x65\x6A\x65\x63\x74","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D","\x66\x69\x72\x73\x74","\x43\x4C\x4F\x53\x45\x44","\x74\x6F","\x50\x45\x4E\x44\x49\x4E\x47","\x44\x45\x53\x43","\x53\x45\x4E\x44\x49\x4E\x47","\x5B\x46\x61\x78\x5D\x20\x53\x65\x6E\x64\x69\x6E\x67\x20\x66\x61\x78\x20\x66\x72\x6F\x6D\x20\x25\x73\x20\x74\x6F\x20\x25\x73","\x66\x72\x6F\x6D","\x69\x6E\x66\x6F","\x5B\x46\x61\x78\x5D\x20\x45\x72\x72\x6F\x72\x20\x73\x65\x6E\x64\x69\x6E\x67\x20\x6D\x65\x73\x73\x61\x67\x65\x3A","\x5B\x46\x61\x78\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x5B\x46\x61\x78\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x5B\x46\x61\x78\x5D\x20\x45\x72\x72\x6F\x72\x20\x75\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x20\x73\x74\x61\x74\x75\x73\x3A","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x5B\x46\x61\x78\x5D\x20\x46\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x6C\x79\x20\x73\x65\x6E\x74","\x5B\x46\x61\x78\x5D\x20\x52\x65\x73\x70\x6F\x6E\x73\x65\x20\x74\x6F\x20\x41\x4D\x49\x20\x41\x63\x74\x69\x6F\x6E\x20\x4F\x72\x69\x67\x69\x6E\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x25\x73\x2F\x25\x73\x2F\x25\x73","\x74\x65\x63\x68","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x65\x63\x6D","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x6D\x69\x6E\x72\x61\x74\x65","\x6D\x61\x78\x72\x61\x74\x65","\x22\x25\x73\x22","\x6D\x6F\x64\x65\x6D","\x67\x61\x74\x65\x77\x61\x79","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x5B\x46\x61\x78\x5D\x20\x46\x69\x6C\x65\x20\x63\x6F\x72\x72\x65\x63\x74\x6C\x79\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x61\x6E\x64\x20\x72\x65\x61\x64\x79\x20\x74\x6F\x20\x75\x73\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x70\x64\x66","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2F","\x70\x61\x72\x73\x65","\x2E\x74\x69\x66","\x67\x73\x20\x2D\x71\x20\x2D\x64\x4E\x4F\x50\x41\x55\x53\x45\x20\x2D\x64\x42\x41\x54\x43\x48\x20\x2D\x73\x44\x45\x56\x49\x43\x45\x3D\x74\x69\x66\x66\x67\x34\x20\x2D\x73\x50\x41\x50\x45\x52\x53\x49\x5A\x45\x3D\x6C\x65\x74\x74\x65\x72\x20\x2D\x73\x4F\x75\x74\x70\x75\x74\x46\x69\x6C\x65\x3D","\x20","\x62\x61\x73\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\x73\x70\x72\x65\x61\x64","\x4C\x69\x73\x74\x49\x64","\x43\x6F\x6E\x74\x61\x63\x74","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x20\x75\x70\x64\x61\x74\x65\x64\x3A","\x61\x64\x64\x55\x73\x65\x72","\x66\x61\x78\x4F\x75\x74","\x75\x73\x65\x72","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x52\x6F\x6F\x6D\x3A","\x61\x64\x64\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x5B\x46\x61\x78\x5D\x20\x54\x72\x75\x6E\x6B\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x54\x72\x75\x6E\x6B\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x46\x61\x78\x5D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x5B\x46\x61\x78\x5D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x72\x65\x74\x72\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x66\x69\x6E\x64","\x41\x63\x74\x69\x6F\x6E","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6F\x6E","\x75\x6E\x73\x68\x69\x66\x74","\x72\x65\x6D\x6F\x76\x65","\x7B\x22\x74\x69\x74\x6C\x65\x22\x3A\x22\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x22\x7D","\x72\x6F\x77\x73","\x63\x6F\x6C\x75\x6D\x6E\x73","\x77\x69\x64\x67\x65\x74\x73","\x6D\x61\x70","\x66\x6C\x61\x74\x74\x65\x6E","\x74\x61\x62\x6C\x65","\x70\x69\x65\x2D\x63\x68\x61\x72\x74","\x63\x6F\x75\x6E\x74\x65\x72","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6E\x66\x69\x67","\x66\x69\x65\x6C\x64\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74","\x77\x69\x64","\x75\x73\x65\x72\x73","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x45\x72\x72\x6F\x72\x20\x62\x75\x69\x6C\x64\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x6F\x72\x20\x63\x6F\x75\x6E\x74\x65\x72\x20\x77\x69\x64\x67\x65\x74","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73","\x6E\x75\x6C\x6C","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x20\x41\x4E\x44\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27\x25\x73\x27","\x20\x57\x48\x45\x52\x45\x20\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x3E\x3D\x20\x27\x25\x73\x27","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x65\x6D\x70\x74\x79","\x20\x41\x4E\x44\x20","\x20\x57\x48\x45\x52\x45\x20","\x20\x3D\x3D\x3D\x3D\x20\x52\x45\x53\x55\x4C\x54\x49\x4E\x47\x20\x51\x55\x45\x52\x59\x20\x3D\x3D\x3D\x3D","\x20\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x20\x3D\x3D\x3D\x3D\x57\x49\x44\x47\x45\x54\x20\x52\x45\x53\x55\x4C\x54\x49\x4E\x47\x20\x51\x55\x45\x52\x59\x20\x3D\x3D\x3D\x3D","\x4E\x4F\x20\x53\x55\x46\x46\x49\x43\x49\x45\x4E\x54\x20\x50\x45\x52\x4D\x49\x53\x53\x49\x4F\x4E\x53","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x45\x72\x72\x6F\x72\x20\x62\x75\x69\x6C\x64\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x6F\x72\x20\x70\x69\x65\x2D\x63\x68\x61\x72\x74\x20\x77\x69\x64\x67\x65\x74","\x69\x73\x41\x72\x72\x61\x79","\x63\x6F\x6C\x75\x6D\x6E","\x61\x6C\x69\x61\x73","\x20\x41\x53\x20\x22","\x22","\x69\x73\x53\x74\x72\x69\x6E\x67","\x2A","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x25\x73","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x65\x76\x69\x6E\x67\x20\x43\x75\x73\x74\x6F\x6D\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x20\x76\x61\x6C\x75\x65\x73\x20\x77\x69\x74\x68\x20\x69\x64","\x69\x73\x45\x6D\x70\x74\x79","\x77\x69\x64\x67\x65\x74\x56\x61\x6C\x75\x65\x73","\x43\x75\x73\x74\x6F\x6D\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x20\x77\x69\x74\x68\x20\x69\x64","\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6D\x6F\x64\x65\x6C","\x45\x72\x72\x6F\x72\x20\x72\x65\x74\x72\x69\x65\x76\x69\x6E\x67\x20\x77\x69\x64\x67\x65\x74\x20\x71\x75\x65\x72\x79\x20\x77\x69\x74\x68\x20\x69\x64","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x72\x65\x61\x64\x4F\x6E\x6C\x79","\x71\x75\x65\x72\x79","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x6F\x63","\x6E\x65\x74\x77\x6F\x72\x6B\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x20\x2D\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x20\x2D\x20\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x75\x6E\x6B\x73\x52\x65\x77\x72\x69\x74\x65","\x72\x74\x70\x52\x65\x77\x72\x69\x74\x65","\x66\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x66\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x61\x78\x52\x6F\x6F\x6D\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x6F\x63\x6B\x65\x74","\x63\x6F\x6E\x73\x6F\x6C\x65","\x72\x65\x73\x75\x6C\x74","\x63\x6F\x6D\x6D\x61\x6E\x64","\x41\x67\x65\x6E\x74\x20\x25\x73\x20\x25\x73\x20\x65\x72\x72\x6F\x72\x3A","\x70\x61\x75\x73\x65\x64","\x41\x67\x65\x6E\x74\x20\x25\x73\x20\x25\x73","\x75\x6E\x70\x61\x75\x73\x65\x64","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x72\x65\x70\x6F\x72\x74\x46\x61\x78\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x73","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x74\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x74\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x54\x72\x69\x67\x67\x65\x72\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x4D\x49\x20\x50\x72\x75\x6E\x65\x20\x65\x72\x72\x6F\x72","\x70\x72\x75\x6E\x65","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x6D\x73\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x68\x61\x74\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4D\x65\x73\x73\x61\x67\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x46\x61\x78\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x68\x65\x63\x6B\x54\x72\x69\x67\x67\x65\x72\x73","\x63\x72\x65\x61\x74\x65\x53\x6D\x73\x51\x75\x65\x75\x65\x53\x65\x73\x73\x69\x6F\x6E","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x49\x6E\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x69\x6E\x62\x6F\x75\x6E\x64\x49\x6E\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x4D\x6F\x76\x65","\x61\x67\x69\x4E\x65\x77\x45\x78\x74\x65\x6E","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x56\x61\x6C\x75\x65\x73","\x72\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x55\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x41\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65"];_0xcf2c[0];var _=require(_0xcf2c[1]);var BPromise=require(_0xcf2c[2]);var util=require(_0xcf2c[3]);var moment=require(_0xcf2c[4]);var fs=require(_0xcf2c[5]);var path=require(_0xcf2c[6]);var Util=require(_0xcf2c[7]);var amiUtil=require(_0xcf2c[8]);var exec=require(_0xcf2c[10])[_0xcf2c[9]];var fse=require(_0xcf2c[11]);var kue=require(_0xcf2c[12]);var reportBuildUtils=require(_0xcf2c[13]);var logger=require(_0xcf2c[15])(_0xcf2c[14]);var faxLogger=require(_0xcf2c[15])(_0xcf2c[16]);var config=require(_0xcf2c[17]);var events=require(_0xcf2c[18]);var models=require(_0xcf2c[19]);var channels=[_0xcf2c[20],_0xcf2c[21],_0xcf2c[22],_0xcf2c[16],_0xcf2c[23],_0xcf2c[24]];var faxaccounts=[];var bill=[];var voiceQueues=[];var activeTrunks={};var videoOnUrls={};var extraVars={};models[_0xcf2c[34]][_0xcf2c[33]]({where:{active:true},attributes:[_0xcf2c[29],_0xcf2c[30]],raw:true})[_0xcf2c[32]](function(_0xcc36x1a){_[_0xcf2c[31]](_0xcc36x1a,function(_0xcc36x1b){activeTrunks[_0xcc36x1b[_0xcf2c[29]]]= _0xcc36x1b[_0xcf2c[30]]})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[25],_0xcc36x19[_0xcf2c[26]])});var ami= new require(_0xcf2c[40])(config[_0xcf2c[36]][_0xcf2c[35]],config[_0xcf2c[36]][_0xcf2c[37]],config[_0xcf2c[36]][_0xcf2c[38]],config[_0xcf2c[36]][_0xcf2c[39]],true);var amiAction=BPromise[_0xcf2c[42]](ami[_0xcf2c[41]]);var kueConfig={prefix:_0xcf2c[43],jobEvents:false,redis:{port:6379,host:config[_0xcf2c[44]]}};if(config[_0xcf2c[45]]){kueConfig[_0xcf2c[47]][_0xcf2c[46]]= _0xcf2c[39];kueConfig[_0xcf2c[47]][_0xcf2c[48]]= {password:config[_0xcf2c[45]]}};var q=kue[_0xcf2c[49]](kueConfig);q[_0xcf2c[56]](_0xcf2c[50],function(_0xcc36x20,_0xcc36x21){try{events[_0xcc36x20[_0xcf2c[53]][_0xcf2c[29]]](_0xcc36x20[_0xcf2c[53]][_0xcf2c[52]],_0xcc36x20[_0xcf2c[53]][_0xcf2c[54]]?amiAction:undefined)[_0xcf2c[51]](function(){_0xcc36x21()})}catch(e){logger[_0xcf2c[27]](_0xcf2c[55],_0xcc36x20[_0xcf2c[53]][_0xcf2c[29]],e)}});function addToQueue(_0xcc36x23,_0xcc36x24,_0xcc36x25){_0xcc36x24[_0xcf2c[57]]= moment()[_0xcf2c[59]](_0xcf2c[58]);q[_0xcf2c[63]](_0xcf2c[50],{name:_0xcc36x23,evt:_0xcc36x24,needAmi:_0xcc36x25})[_0xcf2c[62]](true)[_0xcf2c[61]](function(_0xcc36x19){if(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[60],_0xcc36x19)}else {}})}models[_0xcf2c[65]][_0xcf2c[33]]({raw:true})[_0xcf2c[32]](function(_0xcc36x26){voiceQueues= _0xcc36x26})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[64],_0xcc36x19)});ami[_0xcf2c[66]]();setInterval(function(){if(global[_0xcf2c[67]]){global[_0xcf2c[67]]()}else {logger[_0xcf2c[70]](_0xcf2c[68]+ _0xcf2c[69])}},20000);process[_0xcf2c[74]](_0xcf2c[71],function(_0xcc36x27){logger[_0xcf2c[73]](_0xcf2c[72],_0xcc36x27)});ami[_0xcf2c[74]](_0xcf2c[75],events[_0xcf2c[75]]);ami[_0xcf2c[74]](_0xcf2c[76],events[_0xcf2c[76]]);ami[_0xcf2c[74]](_0xcf2c[77],events[_0xcf2c[77]]);ami[_0xcf2c[74]](_0xcf2c[27],events[_0xcf2c[27]]);ami[_0xcf2c[74]](_0xcf2c[78],function(_0xcc36x24){try{addToQueue(_0xcf2c[79],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[80],err)}});ami[_0xcf2c[74]](_0xcf2c[81],function(_0xcc36x24){try{addToQueue(_0xcf2c[81],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[82],err)}});ami[_0xcf2c[74]](_0xcf2c[83],function(_0xcc36x24){try{addToQueue(_0xcf2c[83],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[84],err)}});ami[_0xcf2c[74]](_0xcf2c[85],function(_0xcc36x24){try{addToQueue(_0xcf2c[85],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[86],err)}});ami[_0xcf2c[74]](_0xcf2c[87],function(_0xcc36x24){try{if(extraVars[_0xcc36x24[_0xcf2c[88]]]){_0xcc36x24[_0xcf2c[89]]= extraVars[_0xcc36x24[_0xcf2c[88]]]};addToQueue(_0xcf2c[87],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[90],err)}});ami[_0xcf2c[74]](_0xcf2c[91],function(_0xcc36x24){try{if(extraVars[_0xcc36x24[_0xcf2c[88]]]){_0xcc36x24[_0xcf2c[89]]= extraVars[_0xcc36x24[_0xcf2c[88]]]};if(bill[_0xcc36x24[_0xcf2c[88]]]&& bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[88]]!== _0xcc36x24[_0xcf2c[88]]){if(!bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[92]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[92]]= true}else {delete bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]];_0xcc36x24[_0xcf2c[88]]= bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[88]]}};addToQueue(_0xcf2c[91],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[94],err)}});ami[_0xcf2c[74]](_0xcf2c[95],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[96]]]&& (bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[97]]=== _0xcf2c[98]|| bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[99]]=== _0xcf2c[98])&& bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[100]]){_0xcc36x24[_0xcf2c[98]]= bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[103]][_0xcf2c[102]](_0xcf2c[101])[0];_0xcc36x24[_0xcf2c[104]]= bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[100]][_0xcf2c[102]](/\/|-/)[1];addToQueue(_0xcf2c[95],_0xcc36x24,true)}}catch(err){logger[_0xcf2c[27]](_0xcf2c[105],err)}});ami[_0xcf2c[74]](_0xcf2c[106],function(_0xcc36x24){try{if(videoOnUrls[_0xcc36x24[_0xcf2c[88]]]){logger[_0xcf2c[73]](_0xcf2c[107],_0xcc36x24[_0xcf2c[88]],_0xcf2c[108]);_0xcc36x24[_0xcf2c[109]]= videoOnUrls[_0xcc36x24[_0xcf2c[88]]];events[_0xcf2c[110]](_0xcc36x24)};if(extraVars[_0xcc36x24[_0xcf2c[88]]]){_0xcc36x24[_0xcf2c[89]]= extraVars[_0xcc36x24[_0xcf2c[88]]]};addToQueue(_0xcf2c[106],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[111],err)}});ami[_0xcf2c[74]](_0xcf2c[112],events[_0xcf2c[112]]);ami[_0xcf2c[74]](_0xcf2c[113],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[88]]]){var _0xcc36x28=_0xcc36x24[_0xcf2c[114]][_0xcf2c[102]](/\/|-/)[1];if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[115]][_0xcc36x28]){_0xcc36x24[_0xcf2c[116]]= _0xcf2c[117];delete bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[115]][_0xcc36x28]}else {_0xcc36x24[_0xcf2c[116]]= _0xcf2c[113]}};addToQueue(_0xcf2c[113],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[118],err)}});ami[_0xcf2c[74]](_0xcf2c[119],function(_0xcc36x24){try{addToQueue(_0xcf2c[119],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[120],err)}});ami[_0xcf2c[74]](_0xcf2c[121],function(_0xcc36x24){try{addToQueue(_0xcf2c[121],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[122],err)}});ami[_0xcf2c[74]](_0xcf2c[123],function(_0xcc36x24){try{addToQueue(_0xcf2c[123],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[124],err)}});ami[_0xcf2c[74]](_0xcf2c[125],function(_0xcc36x24){try{addToQueue(_0xcf2c[125],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[126],err)}});ami[_0xcf2c[74]](_0xcf2c[127],function(_0xcc36x24){try{addToQueue(_0xcf2c[127],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[128],err)}});ami[_0xcf2c[74]](_0xcf2c[129],function(_0xcc36x24){try{addToQueue(_0xcf2c[129],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[130],err)}});ami[_0xcf2c[74]](_0xcf2c[131],function(_0xcc36x24){try{addToQueue(_0xcf2c[131],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[132],err)}});ami[_0xcf2c[74]](_0xcf2c[133],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[88]]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[98]]= _0xcc36x24[_0xcf2c[98]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]]= true};addToQueue(_0xcf2c[133],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[134],err)}});ami[_0xcf2c[74]](_0xcf2c[135],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[88]]]){_0xcc36x24[_0xcf2c[88]]= bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[88]]};addToQueue(_0xcf2c[135],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[136],err)}});ami[_0xcf2c[74]](_0xcf2c[137],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[138]]]){bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[139]]= _0xcf2c[137];bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[140]]= true;bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[141]]= _0xcf2c[142];bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[143]]= _0xcc36x24[_0xcf2c[144]];bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[145]]= _0xcc36x24[_0xcf2c[146]];ami[_0xcf2c[148]](_0xcf2c[131],_[_0xcf2c[147]](bill[_0xcc36x24[_0xcf2c[138]]]));bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[115]]= {};delete bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[139]];bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[149]]= true;_0xcc36x24[_0xcf2c[98]]= bill[_0xcc36x24[_0xcf2c[138]]][_0xcf2c[98]]|| null};_0xcc36x24[_0xcf2c[104]]= _0xcc36x24[_0xcf2c[150]][_0xcf2c[102]](/\/|-/)[1];addToQueue(_0xcf2c[137],_0xcc36x24,true)}catch(err){logger[_0xcf2c[27]](_0xcf2c[151],err)}});ami[_0xcf2c[74]](_0xcf2c[152],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[153]]]){bill[_0xcc36x24[_0xcf2c[153]]][_0xcf2c[139]]= _0xcf2c[152];bill[_0xcc36x24[_0xcf2c[153]]][_0xcf2c[88]]= _0xcc36x24[_0xcf2c[144]];bill[_0xcc36x24[_0xcf2c[144]]]&& (bill[_0xcc36x24[_0xcf2c[144]]][_0xcf2c[88]]= _0xcc36x24[_0xcf2c[153]]);ami[_0xcf2c[148]](_0xcf2c[131],_[_0xcf2c[147]](bill[_0xcc36x24[_0xcf2c[153]]]));delete bill[_0xcc36x24[_0xcf2c[153]]][_0xcf2c[93]];delete bill[_0xcc36x24[_0xcf2c[153]]][_0xcf2c[139]];_0xcc36x24[_0xcf2c[98]]= bill[_0xcc36x24[_0xcf2c[153]]][_0xcf2c[98]]|| null};_0xcc36x24[_0xcf2c[104]]= _0xcc36x24[_0xcf2c[154]][_0xcf2c[102]](/\/|-/)[1];addToQueue(_0xcf2c[152],_0xcc36x24,true)}catch(err){logger[_0xcf2c[27]](_0xcf2c[155],err)}});ami[_0xcf2c[74]](_0xcf2c[156],function(_0xcc36x24){try{addToQueue(_0xcf2c[156],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[157],err)}});ami[_0xcf2c[74]](_0xcf2c[115],function(_0xcc36x24){try{if(bill[_0xcc36x24[_0xcf2c[88]]]){var _0xcc36x28=_0xcc36x24[_0xcf2c[114]][_0xcf2c[102]](/\/|-/)[1];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[115]][_0xcc36x28]= bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[115]][_0xcc36x28]?false:true};addToQueue(_0xcf2c[115],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[158],err)}});ami[_0xcf2c[74]](_0xcf2c[159],function(_0xcc36x24){try{addToQueue(_0xcf2c[159],_0xcc36x24)}catch(err){faxLogger[_0xcf2c[27]](_0xcf2c[160],err)}});ami[_0xcf2c[74]](_0xcf2c[161],function(_0xcc36x24){try{addToQueue(_0xcf2c[161],_0xcc36x24)}catch(err){faxLogger[_0xcf2c[27]](_0xcf2c[162],err)}});ami[_0xcf2c[74]](_0xcf2c[163],function(_0xcc36x24){try{addToQueue(_0xcf2c[163],_0xcc36x24)}catch(err){faxLogger[_0xcf2c[27]](_0xcf2c[164],err)}});amiAction({action:_0xcf2c[165]});var applications=[_0xcf2c[166],_0xcf2c[98],_0xcf2c[167],_0xcf2c[168],_0xcf2c[169]];var dispositions=[_0xcf2c[170],_0xcf2c[171],_0xcf2c[171],_0xcf2c[170],_0xcf2c[170],_0xcf2c[170],_0xcf2c[172],_0xcf2c[173],_0xcf2c[171],_0xcf2c[171],_0xcf2c[171]];function newchannel(_0xcc36x24){if(!bill[_0xcc36x24[_0xcf2c[88]]]&&  !bill[_0xcc36x24[_0xcf2c[96]]]){bill[_0xcc36x24[_0xcf2c[88]]]= {uniqueid:_0xcc36x24[_0xcf2c[88]],linkedid:_0xcc36x24[_0xcf2c[96]],type:_0xcf2c[174],tag:_0xcf2c[175],accountcode:_0xcc36x24[_0xcf2c[176]],source:_0xcc36x24[_0xcf2c[177]],destination:_0xcc36x24[_0xcf2c[178]],destinationcontext:_0xcc36x24[_0xcf2c[179]],callerid:util[_0xcf2c[59]](_0xcf2c[180],_0xcc36x24[_0xcf2c[181]],_0xcc36x24[_0xcf2c[177]]),channel:_0xcc36x24[_0xcf2c[182]],destinationchannel:_0xcf2c[183],lastapplication:_0xcf2c[183],lastdata:_0xcf2c[183],starttime:moment()[_0xcf2c[59]](_0xcf2c[58]),answertime:_0xcf2c[183],endtime:_0xcf2c[183],duration:0,billableseconds:0,disposition:dispositions[_[_0xcf2c[185]](_0xcc36x24[_0xcf2c[184]])],amaflags:_0xcf2c[186],unmanaged:false,calleridnum:_0xcc36x24[_0xcf2c[177]],calleridname:_0xcc36x24[_0xcf2c[181]],dialend:{}}}}function newstate(_0xcc36x24){if(bill[_0xcc36x24[_0xcf2c[96]]]&& _0xcc36x24[_0xcf2c[88]]!== _0xcc36x24[_0xcf2c[96]]&& _0xcc36x24[_0xcf2c[184]]=== _0xcf2c[187]){bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[188]]= moment()[_0xcf2c[59]](_0xcf2c[58]);delete bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[93]];bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[189]]= dispositions[_[_0xcf2c[185]](_0xcc36x24[_0xcf2c[184]])];if(_[_0xcf2c[193]]([_0xcf2c[190],_0xcf2c[191]],bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[192]])){bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[176]]= _0xcc36x24[_0xcf2c[176]]};if(!_[_0xcf2c[193]]([_0xcf2c[194],_0xcf2c[191]],bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[192]])){bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[195]]= _0xcc36x24[_0xcf2c[196]];bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[197]]= util[_0xcf2c[59]](_0xcf2c[180],_0xcc36x24[_0xcf2c[198]],_0xcc36x24[_0xcf2c[196]])};bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[96]]= _0xcc36x24[_0xcf2c[88]];bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[100]]= _0xcc36x24[_0xcf2c[182]];bill[_0xcc36x24[_0xcf2c[96]]][_0xcf2c[199]]= false}}function newexten(_0xcc36x24,_0xcc36x2e){if(bill[_0xcc36x24[_0xcf2c[88]]]){_0xcc36x24[_0xcf2c[200]]= _0xcc36x24[_0xcf2c[200]][_0xcf2c[201]]();if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[97]]=== _0xcf2c[98]|| bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[99]]=== _0xcf2c[98]){if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]]&&  !bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[149]]){if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]){ami[_0xcf2c[148]](_0xcf2c[203],_[_0xcf2c[147]](bill[_0xcc36x24[_0xcf2c[88]]]))}else {if(!bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]= true;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]= _0xcf2c[204]};ami[_0xcf2c[148]](_0xcf2c[205],_[_0xcf2c[147]](bill[_0xcc36x24[_0xcf2c[88]]]))}};bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[99]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[206]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[207]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[208]]= null};delete bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]];if(!_0xcc36x2e){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[97]]= _0xcc36x24[_0xcf2c[200]];if(_[_0xcf2c[193]](applications,_0xcc36x24[_0xcf2c[200]])){if(_0xcc36x24[_0xcf2c[200]]=== _0xcf2c[166]){var _0xcc36x2f=_0xcc36x24[_0xcf2c[209]][_0xcf2c[201]]();if(_[_0xcf2c[211]](_0xcc36x2f,_0xcf2c[210])){_0xcc36x2f= _0xcc36x2f[_0xcf2c[102]](_0xcf2c[212]);var _0xcc36x30=_0xcc36x2f[0][_0xcf2c[213]](/cdr\((.*)\)/);if(_0xcc36x30){bill[_0xcc36x24[_0xcf2c[88]]][_0xcc36x30[1]]= _0xcc36x2f[1];if(_0xcc36x30[1]=== _0xcf2c[192]&& _0xcc36x2f[1]=== _0xcf2c[191]){var _0xcc36x31=bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[182]][_0xcf2c[102]](/\/|-/)[1];activeTrunks[_0xcc36x31]&& (bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[195]]= activeTrunks[_0xcc36x31])}}}else {if(_[_0xcf2c[211]](_0xcc36x2f,_0xcf2c[214])){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[177]]= _0xcc36x2f[_0xcf2c[102]](_0xcf2c[212])[1];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[197]]= util[_0xcf2c[59]](_0xcf2c[180],bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[181]],bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[177]]);bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[192]]=== _0xcf2c[191]&& (bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[215]]= bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[177]])}else {if(_[_0xcf2c[211]](_0xcc36x2f,_0xcf2c[216])){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[181]]= _0xcc36x2f[_0xcf2c[102]](_0xcf2c[212])[1];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[197]]= util[_0xcf2c[59]](_0xcf2c[180],bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[181]],bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[177]])}}}};bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[217]]= _0xcc36x24[_0xcf2c[200]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[103]]= _0xcc36x24[_0xcf2c[209]]};if(_0xcc36x24[_0xcf2c[200]]=== _0xcf2c[98]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[98]]= _0xcc36x24[_0xcf2c[209]][_0xcf2c[102]](_0xcf2c[101])[0];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]]= true}}else {bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[99]]= _0xcc36x24[_0xcf2c[200]][_0xcf2c[201]]();if(_0xcc36x24[_0xcf2c[200]]=== _0xcf2c[98]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[98]]= _0xcc36x24[_0xcf2c[98]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]]= true}}}}function varset(_0xcc36x24){if(_0xcc36x24[_0xcf2c[220]][_0xcf2c[219]](_0xcf2c[218])){logger[_0xcf2c[73]](_0xcf2c[221],_0xcc36x24[_0xcf2c[88]],_0xcc36x24[_0xcf2c[222]]);videoOnUrls[_0xcc36x24[_0xcf2c[88]]]= _0xcc36x24[_0xcf2c[222]][_0xcf2c[223]](/\\/g,_0xcf2c[183])}else {if(_0xcc36x24[_0xcf2c[220]][_0xcf2c[219]](_0xcf2c[89])){extraVars[_0xcc36x24[_0xcf2c[88]]]= _0xcc36x24[_0xcf2c[222]]}};if(bill[_0xcc36x24[_0xcf2c[88]]]){if(_0xcc36x24[_0xcf2c[220]][_0xcf2c[219]](_0xcf2c[224])){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]= true;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[149]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]= _0xcc36x24[_0xcf2c[222]][_0xcf2c[201]]();if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]=== _0xcf2c[225]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[63]]= true;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[179]]= _0xcc36x24[_0xcf2c[179]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[178]]= _0xcc36x24[_0xcf2c[178]];ami[_0xcf2c[148]](_0xcf2c[205],_[_0xcf2c[147]](bill[_0xcc36x24[_0xcf2c[88]]]));delete bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[63]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[206]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[207]]= null;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[208]]= null}}}}function queuecallerabandon(_0xcc36x24){if(bill[_0xcc36x24[_0xcf2c[88]]]&&  !bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]= true;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[149]]= false;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[206]]= _0xcc36x24[_0xcf2c[206]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[207]]= _0xcc36x24[_0xcf2c[207]];bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[208]]= _0xcc36x24[_0xcf2c[208]]}}function hangup(_0xcc36x24){if(bill[_0xcc36x24[_0xcf2c[88]]]){var _0xcc36x35=moment();bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[226]]= _0xcc36x35[_0xcf2c[59]](_0xcf2c[58]);bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[227]]= _0xcc36x35[_0xcf2c[230]](bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[228]],_0xcf2c[229]);if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[188]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[231]]= _0xcc36x35[_0xcf2c[230]](bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[188]],_0xcf2c[229])};ami[_0xcf2c[148]](_0xcf2c[78],bill[_0xcc36x24[_0xcf2c[88]]]);if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[93]]|| (bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[149]]&&  !bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[188]])){if(bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[202]]){ami[_0xcf2c[148]](_0xcf2c[203],bill[_0xcc36x24[_0xcf2c[88]]])}else {if(!bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]){bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[199]]= true;bill[_0xcc36x24[_0xcf2c[88]]][_0xcf2c[139]]= _0xcf2c[204]};ami[_0xcf2c[148]](_0xcf2c[205],bill[_0xcc36x24[_0xcf2c[88]]])}};delete bill[_0xcc36x24[_0xcf2c[88]]]}}ami[_0xcf2c[74]](_0xcf2c[205],function(_0xcc36x24){try{addToQueue(_0xcf2c[232],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[233],err)}});ami[_0xcf2c[74]](_0xcf2c[203],function(_0xcc36x24){try{addToQueue(_0xcf2c[234],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[235],err)}});ami[_0xcf2c[74]](_0xcf2c[236],function(_0xcc36x24){try{newchannel(_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[237],err)}});ami[_0xcf2c[74]](_0xcf2c[238],function(_0xcc36x24){try{newstate(_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[239],err)}});ami[_0xcf2c[74]](_0xcf2c[240],function(_0xcc36x24){try{newexten(_0xcc36x24,false)}catch(err){logger[_0xcf2c[27]](_0xcf2c[241],err)}});ami[_0xcf2c[74]](_0xcf2c[242],function(_0xcc36x24){try{varset(_0xcc36x24);addToQueue(_0xcf2c[242],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[243],err)}});ami[_0xcf2c[74]](_0xcf2c[234],function(_0xcc36x24){try{queuecallerabandon(_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[244],err)}});ami[_0xcf2c[74]](_0xcf2c[245],function(_0xcc36x24){try{delete videoOnUrls[_0xcc36x24[_0xcf2c[88]]];delete extraVars[_0xcc36x24[_0xcf2c[88]]];hangup(_0xcc36x24);addToQueue(_0xcf2c[245],_0xcc36x24)}catch(err){logger[_0xcf2c[27]](_0xcf2c[246],err)}});function handlePause(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){var _0xcc36x3a=_0xcc36x39[_0xcf2c[247]];var _0xcc36x3b=false;var _0xcc36x3c,_0xcc36x3d;_0xcc36x3c= _0xcc36x3d= _0xcc36x37[_0xcf2c[248]][_0xcf2c[192]]|| _0xcc36x38[_0xcf2c[249]]|| _0xcc36x38[_0xcf2c[250]];if(_[_0xcf2c[211]](_0xcc36x3d,_0xcf2c[251])){_0xcc36x3d= _0xcc36x3d[_0xcf2c[252]](1);_0xcc36x3b= true};var _0xcc36x3e={id:_0xcc36x39[_0xcf2c[253]],voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,openchannelPause:true,pauseType:_0xcc36x3c,lastPauseAt:moment()[_0xcf2c[59]](_0xcf2c[58])};return _0xcc36x39[_0xcf2c[269]](_0xcc36x3e)[_0xcf2c[32]](function(_0xcc36x44){if(_0xcc36x44){return events[_0xcf2c[268]](_[_0xcf2c[267]]({newValues:_0xcc36x3e},_0xcc36x44[_0xcf2c[266]]))}})[_0xcf2c[32]](function(){var _0xcc36x43=moment()[_0xcf2c[59]](_0xcf2c[58]);return models[_0xcf2c[264]][_0xcf2c[265]]({duration:moment(_0xcc36x43)[_0xcf2c[230]](moment(_0xcc36x3a),_0xcf2c[229]),exitAt:_0xcc36x43},{where:{membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[258],exitAt:null}})})[_0xcf2c[32]](function(){var _0xcc36x3f=(_0xcc36x3e[_0xcf2c[254]]&&  !_0xcc36x3b)?channels:_[_0xcf2c[255]](channels,function(_0xcc36x40){return _0xcc36x40!== _0xcf2c[20]});var _0xcc36x41=[];_0xcc36x3f[_0xcf2c[31]](function(_0xcc36x42){_0xcc36x41[_0xcf2c[262]]({channel:_0xcc36x42,membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[258],enterAt:moment()[_0xcf2c[59]](_0xcf2c[58]),data1:_0xcc36x3d,data2:_0xcc36x38[_0xcf2c[259]],data4:_0xcc36x3d,role:_0xcc36x39[_0xcf2c[260]],internal:_0xcc36x39[_0xcf2c[174]],uniqueid:_0xcc36x38[_0xcf2c[261]]})});return models[_0xcf2c[264]][_0xcf2c[263]](_0xcc36x41,{raw:true,individualHooks:true})})}}function handleUnpause(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){var _0xcc36x3e;if(!_0xcc36x37[_0xcf2c[248]]){_0xcc36x37[_0xcf2c[248]]= {}};if(_0xcc36x37[_0xcf2c[248]][_0xcf2c[192]]!== _0xcf2c[270]){events[_0xcf2c[272]](_0xcc36x39[_0xcf2c[29]],_0xcc36x39[_0xcf2c[271]],false)};switch(_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]]){case _0xcf2c[20]:_0xcc36x3e= {id:_0xcc36x39[_0xcf2c[253]],voicePause:false};return _0xcc36x39[_0xcf2c[269]](_0xcc36x3e)[_0xcf2c[32]](function(_0xcc36x44){return events[_0xcf2c[268]](_[_0xcf2c[267]]({newValues:_0xcc36x3e},_0xcc36x44[_0xcf2c[266]]))})[_0xcf2c[32]](function(){return models[_0xcf2c[264]][_0xcf2c[274]]({where:{channel:_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]],membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[258],exitAt:null}})})[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[273]}))[_0xcf2c[32]](function(_0xcc36x46){return _0xcc36x46[_0xcf2c[269]]({exitAt:moment()[_0xcf2c[59]](_0xcf2c[58])})})[_0xcf2c[32]](function(){return _0xcc36x39});case _0xcf2c[21]:;case _0xcf2c[22]:;case _0xcf2c[16]:;case _0xcf2c[23]:;case _0xcf2c[24]:var _0xcc36x47={};_0xcc36x47[util[_0xcf2c[59]](_0xcf2c[275],_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]],_0xcf2c[276])]= false;return _0xcc36x39[_0xcf2c[269]](_0xcc36x47)[_0xcf2c[32]](function(_0xcc36x39){_0xcc36x47[_0xcf2c[253]]= _0xcc36x39[_0xcf2c[253]];return events[_0xcf2c[268]](_[_0xcf2c[267]]({newValues:_0xcc36x47},_0xcc36x39[_0xcf2c[266]]))})[_0xcf2c[32]](function(){return models[_0xcf2c[264]][_0xcf2c[274]]({where:{channel:_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]],membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[258],exitAt:null}})})[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[273]}))[_0xcf2c[32]](function(_0xcc36x46){return _0xcc36x46[_0xcf2c[269]]({exitAt:moment()[_0xcf2c[59]](_0xcf2c[58])})})[_0xcf2c[32]](function(){return _0xcc36x39});default:_0xcc36x3e= {id:_0xcc36x39[_0xcf2c[253]],voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false,openchannelPause:false};return _0xcc36x39[_0xcf2c[269]](_0xcc36x3e)[_0xcf2c[32]](function(_0xcc36x44){return events[_0xcf2c[268]](_[_0xcf2c[267]]({newValues:_0xcc36x3e},_0xcc36x39[_0xcf2c[266]]))})[_0xcf2c[32]](function(){return models[_0xcf2c[264]][_0xcf2c[33]]({where:{membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[258],exitAt:null}})})[_0xcf2c[32]](function(_0xcc36x48){var _0xcc36x49=[];_0xcc36x48[_0xcf2c[31]](function(_0xcc36x4a){_0xcc36x49[_0xcf2c[262]](_0xcc36x4a[_0xcf2c[269]]({exitAt:moment()[_0xcf2c[59]](_0xcf2c[58])}))});return BPromise[_0xcf2c[277]](_0xcc36x49)})[_0xcf2c[32]](function(){return _0xcc36x39})}}}function queueAddUpdate(_0xcc36x4c,_0xcc36x4d){return models[_0xcf2c[278]][_0xcf2c[274]]({where:{queue:_0xcc36x4c,membername:_0xcc36x4d}})[_0xcf2c[32]](function(_0xcc36x4e){if(_0xcc36x4e){return _0xcc36x4e[_0xcf2c[269]]({logged:true,loggedAt:moment()[_0xcf2c[59]](_0xcf2c[58])})}})}function handleLogin(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](function(){return events[_0xcf2c[268]](_[_0xcf2c[287]]({newValues:_0xcc36x39[_0xcf2c[266]]},_0xcc36x39[_0xcf2c[266]]))})[_0xcf2c[32]](function(){return _0xcc36x39[_0xcf2c[286]]()})[_0xcf2c[32]](function(voiceQueues){var _0xcc36x50=[];voiceQueues[_0xcf2c[31]](function(_0xcc36x51){_0xcc36x50[_0xcf2c[262]](amiAction({action:_0xcf2c[283],queue:_0xcc36x51[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),membername:_0xcc36x39[_0xcf2c[29]],penalty:_0xcc36x51[_0xcf2c[278]][_0xcf2c[284]],paused:_0xcc36x39[_0xcf2c[285]]})[_0xcf2c[28]](function(_0xcc36x19){if(_0xcc36x19[_0xcf2c[280]]=== _0xcf2c[281]){return queueAddUpdate(_0xcc36x51[_0xcf2c[29]],_0xcc36x39[_0xcf2c[29]])};logger[_0xcf2c[27]](_0xcf2c[282],_0xcc36x51[_0xcf2c[29]],_0xcc36x19)}))});return _0xcc36x50})[_0xcf2c[277]]()[_0xcf2c[32]](function(){return models[_0xcf2c[264]][_0xcf2c[33]]({where:{membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[279],exitAt:null}})})[_0xcf2c[32]](function(_0xcc36x48){var _0xcc36x49=[];_0xcc36x48[_0xcf2c[31]](function(_0xcc36x4a){_0xcc36x49[_0xcf2c[262]](_0xcc36x4a[_0xcf2c[269]]({exitAt:moment()[_0xcf2c[59]](_0xcf2c[58])}))});return BPromise[_0xcf2c[277]](_0xcc36x49)})[_0xcf2c[32]](function(){var _0xcc36x41=[];channels[_0xcf2c[31]](function(_0xcc36x42){_0xcc36x41[_0xcf2c[262]]({channel:_0xcc36x42,membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[279],enterAt:moment()[_0xcf2c[59]](_0xcf2c[58]),role:_0xcc36x39[_0xcf2c[260]],internal:_0xcc36x39[_0xcf2c[174]]})});return models[_0xcf2c[264]][_0xcf2c[263]](_0xcc36x41,{raw:true,individualHooks:true})})[_0xcf2c[32]](function(){return _0xcc36x39})}}function logoutAgent(_0xcc36x39){return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](function(){return events[_0xcf2c[268]](_[_0xcf2c[287]]({newValues:{id:_0xcc36x39[_0xcf2c[253]],online:false}},_0xcc36x39[_0xcf2c[266]],{online:false}))})[_0xcf2c[32]](function(){return models[_0xcf2c[65]][_0xcf2c[33]]()})[_0xcf2c[32]](function(voiceQueues){var _0xcc36x50=[];voiceQueues[_0xcf2c[31]](function(_0xcc36x51){_0xcc36x50[_0xcf2c[262]](amiAction({action:_0xcf2c[289],queue:_0xcc36x51[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]])})[_0xcf2c[28]](function(_0xcc36x19){}))});return BPromise[_0xcf2c[277]](_0xcc36x50)})[_0xcf2c[32]](function(_0xcc36x53){return models[_0xcf2c[264]][_0xcf2c[33]]({where:{membername:_0xcc36x39[_0xcf2c[29]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),type:_0xcf2c[279],exitAt:null}})})[_0xcf2c[32]](function(_0xcc36x48){var _0xcc36x49=[];_0xcc36x48[_0xcf2c[31]](function(_0xcc36x4a){_0xcc36x49[_0xcf2c[262]](_0xcc36x4a[_0xcf2c[269]]({exitAt:moment()[_0xcf2c[59]](_0xcf2c[58])}))});return BPromise[_0xcf2c[277]](_0xcc36x49)})}function handleLogout(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](function(){if(_0xcc36x39[_0xcf2c[260]]=== _0xcf2c[290]){return logoutAgent(_0xcc36x39)}})[_0xcf2c[32]](function(){return _0xcc36x39[_0xcf2c[269]]({online:false})})}}function handleQueueAdd(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){var _0xcc36x56=[];switch(_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]]){case _0xcf2c[20]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[278]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],queue:_0xcc36x4c},defaults:{queue:_0xcc36x4c,location:util[_0xcf2c[59]](_0xcf2c[291],_0xcc36x39[_0xcf2c[29]]),membername:_0xcc36x39[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56)[_0xcf2c[32]](function(){var _0xcc36x50=[];_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x50[_0xcf2c[262]](amiAction({action:_0xcf2c[283],queue:_0xcc36x4c,paused:_0xcc36x39[_0xcf2c[254]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]]),membername:_0xcc36x39[_0xcf2c[29]]})[_0xcf2c[28]](function(_0xcc36x19){if(_0xcc36x19[_0xcf2c[280]]=== _0xcf2c[281]){return queueAddUpdate(_0xcc36x4c,_0xcc36x39[_0xcf2c[29]])};logger[_0xcf2c[27]](_0xcf2c[294],_0xcc36x4c,_0xcc36x19)}))});return BPromise[_0xcf2c[277]](_0xcc36x50)});case _0xcf2c[21]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[295]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],ChatQueueId:_0xcc36x4c[_0xcf2c[253]]},defaults:{ChatQueueId:_0xcc36x4c[_0xcf2c[253]],queue:_0xcc36x4c[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56);case _0xcf2c[22]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[296]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],MailQueueId:_0xcc36x4c[_0xcf2c[253]]},defaults:{MailQueueId:_0xcc36x4c[_0xcf2c[253]],queue:_0xcc36x4c[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56);case _0xcf2c[23]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[297]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],SmsQueueId:_0xcc36x4c[_0xcf2c[253]]},defaults:{SmsQueueId:_0xcc36x4c[_0xcf2c[253]],queue:_0xcc36x4c[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56);case _0xcf2c[24]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[298]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],OpenchannelQueueId:_0xcc36x4c[_0xcf2c[253]]},defaults:{OpenchannelQueueId:_0xcc36x4c[_0xcf2c[253]],queue:_0xcc36x4c[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56);case _0xcf2c[16]:_0xcc36x37[_0xcf2c[248]][_0xcf2c[293]][_0xcf2c[31]](function(_0xcc36x4c){_0xcc36x56[_0xcf2c[262]](models[_0xcf2c[299]][_0xcf2c[292]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],FaxQueueId:_0xcc36x4c[_0xcf2c[253]]},defaults:{faxQueueId:_0xcc36x4c[_0xcf2c[253]],queue:_0xcc36x4c[_0xcf2c[29]],UserId:_0xcc36x39[_0xcf2c[253]],penalty:_0xcc36x38[_0xcf2c[259]]},individualHooks:true,raw:true}))});return BPromise[_0xcf2c[277]](_0xcc36x56);default:}}}function handleQueueRemove(_0xcc36x37,_0xcc36x38){return function(_0xcc36x39){switch(_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]]){case _0xcf2c[20]:return models[_0xcf2c[278]][_0xcf2c[301]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],queue:_0xcc36x37[_0xcf2c[248]][_0xcf2c[98]]},individualHooks:true,raw:true})[_0xcf2c[32]](function(){return amiAction({action:_0xcf2c[289],queue:_0xcc36x37[_0xcf2c[248]][_0xcf2c[98]],interface:util[_0xcf2c[59]](_0xcf2c[256],_0xcf2c[257],_0xcc36x39[_0xcf2c[29]])})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[300],_0xcc36x19[_0xcf2c[26]])});case _0xcf2c[21]:return models[_0xcf2c[295]][_0xcf2c[274]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],ChatQueueId:_0xcc36x37[_0xcf2c[248]][_0xcf2c[303]]}})[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x58){return _0xcc36x58[_0xcf2c[301]]()}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[302],_0xcc36x19)});case _0xcf2c[22]:return models[_0xcf2c[296]][_0xcf2c[274]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],MailQueueId:_0xcc36x37[_0xcf2c[248]][_0xcf2c[303]]}})[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x58){return _0xcc36x58[_0xcf2c[301]]()}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[304],_0xcc36x19)});case _0xcf2c[23]:return models[_0xcf2c[297]][_0xcf2c[274]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],SmsQueueId:_0xcc36x37[_0xcf2c[248]][_0xcf2c[303]]}})[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x58){return _0xcc36x58[_0xcf2c[301]]()}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[305],_0xcc36x19)});case _0xcf2c[24]:return models[_0xcf2c[298]][_0xcf2c[274]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],OpenchannelQueueId:_0xcc36x37[_0xcf2c[248]][_0xcf2c[303]]}})[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x58){return _0xcc36x58[_0xcf2c[301]]()}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[306],_0xcc36x19)});case _0xcf2c[16]:return models[_0xcf2c[299]][_0xcf2c[274]]({where:{UserId:_0xcc36x39[_0xcf2c[253]],FaxQueueId:_0xcc36x37[_0xcf2c[248]][_0xcf2c[303]]}})[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x58){return _0xcc36x58[_0xcf2c[301]]()}})[_0xcf2c[28]](function(_0xcc36x19){faxLogger[_0xcf2c[27]](_0xcf2c[307],_0xcc36x19)});default:}}}function handleEntityNotFound(_0xcc36x5a){return function(_0xcc36x5b){if(!_0xcc36x5b){throw _0xcc36x5a};return _0xcc36x5b}}function onSave(_0xcc36x38,_0xcc36x37){switch(_0xcc36x38[_0xcf2c[29]]){case _0xcf2c[311]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x37[_0xcf2c[248]][_0xcf2c[290]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handlePause(_0xcc36x37,_0xcc36x38));case _0xcf2c[312]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x37[_0xcf2c[248]][_0xcf2c[290]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handleUnpause(_0xcc36x37,_0xcc36x38));case _0xcf2c[313]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x38[_0xcf2c[250]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handleLogin(_0xcc36x37,_0xcc36x38))[_0xcf2c[32]](function(_0xcc36x5d){return _0xcc36x5d});case _0xcf2c[314]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x38[_0xcf2c[250]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handleUnpause(_0xcc36x37,_0xcc36x38))[_0xcf2c[32]](handleLogout(_0xcc36x37,_0xcc36x38));case _0xcf2c[283]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x37[_0xcf2c[248]][_0xcf2c[290]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handleQueueAdd(_0xcc36x37,_0xcc36x38))[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]]!== _0xcf2c[20]){return events[_0xcf2c[316]](_0xcc36x58,_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]])}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[315],_0xcc36x19[_0xcf2c[26]])});case _0xcf2c[289]:return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x37[_0xcf2c[248]][_0xcf2c[290]])[_0xcf2c[32]](handleEntityNotFound({message:_0xcf2c[308]}))[_0xcf2c[32]](handleQueueRemove(_0xcc36x37,_0xcc36x38))[_0xcf2c[32]](function(_0xcc36x58){if(_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]]!== _0xcf2c[20]){return events[_0xcf2c[318]](_0xcc36x58,_0xcc36x37[_0xcf2c[248]][_0xcf2c[182]])}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[317],_0xcc36x19[_0xcf2c[26]])});default:throw {message:_0xcf2c[319]}}}function clean(channels){removeInactiveCalls();_[_0xcf2c[31]](channels,function(_0xcc36x42){removeExpiredApplications(_0xcc36x42)})}function removeInactiveCalls(){logger[_0xcf2c[73]](_0xcf2c[320]);var _0xcc36x60=[],_0xcc36x61=[],_0xcc36x62=moment()[_0xcf2c[59]](_0xcf2c[58]);return amiAction({action:_0xcf2c[337],command:_0xcf2c[338]})[_0xcf2c[32]](function(_0xcc36x6a){var _0xcc36x6b;if(_0xcc36x6a&& _0xcc36x6a[_0xcf2c[331]]){var _0xcc36x58=_0xcc36x6a[_0xcf2c[331]][_0xcf2c[102]](_0xcf2c[332]);_[_0xcf2c[31]](_0xcc36x58,function(_0xcc36x40){if(_0xcc36x40){_0xcc36x6b= _0xcc36x40[_0xcf2c[102]](_0xcf2c[333]);_0xcc36x6b[_0xcf2c[334]]=== 14&& _0xcc36x61[_0xcf2c[262]](_0xcc36x6b[_0xcf2c[335]]())}})};return models[_0xcf2c[336]][_0xcf2c[33]]({where:{$or:[{queuecallerleaveAt:null,queuecallerexit:false},{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null}}]}})})[_0xcf2c[32]](function(_0xcc36x69){_[_0xcf2c[31]](_0xcc36x69,function(_0xcc36x66){if(!_[_0xcf2c[193]](_0xcc36x61,_0xcc36x66[_0xcf2c[88]])){_0xcc36x60[_0xcf2c[262]](_0xcc36x66[_0xcf2c[269]]({queuecallerleaveAt:_0xcc36x62,queuecallerexitAt:_0xcc36x62,queuecallerexit:true,queuecallerexitreason:_0xcf2c[324]}))}});return models[_0xcf2c[330]][_0xcf2c[33]]({where:{leaveAt:null}})})[_0xcf2c[32]](function(_0xcc36x68){_[_0xcf2c[31]](_0xcc36x68,function(_0xcc36x66){if(!_[_0xcf2c[193]](_0xcc36x61,_0xcc36x66[_0xcf2c[88]])){_0xcc36x60[_0xcf2c[262]](_0xcc36x66[_0xcf2c[269]]({leaveAt:_0xcc36x62,network:_0xcf2c[328]}))}});return models[_0xcf2c[329]][_0xcf2c[33]]({where:{endtime:null}})})[_0xcf2c[32]](function(_0xcc36x67){_[_0xcf2c[31]](_0xcc36x67,function(_0xcc36x66){if(!_[_0xcf2c[193]](_0xcc36x61,_0xcc36x66[_0xcf2c[88]])){_0xcc36x60[_0xcf2c[262]](_0xcc36x66[_0xcf2c[269]]({endtime:_0xcc36x62,dialstatus:_0xcf2c[325]}))}});return models[_0xcf2c[327]][_0xcf2c[33]]({where:{agentcomplete:false,agentringnoanswer:false,agentdump:false}})})[_0xcf2c[32]](function(_0xcc36x65){_[_0xcf2c[31]](_0xcc36x65,function(_0xcc36x66){if(!_[_0xcf2c[193]](_0xcc36x61,_0xcc36x66[_0xcf2c[88]])){_0xcc36x60[_0xcf2c[262]](_0xcc36x66[_0xcf2c[269]]({lastevent:_0xcf2c[199],agentringnoanswer:true,agentringnoanswerAt:_0xcc36x62,reason:_0xcf2c[325]}))}});return models[_0xcf2c[264]][_0xcf2c[33]]({where:{type:_0xcf2c[326],enterAt:{$ne:null},exitAt:null}})})[_0xcf2c[32]](function(_0xcc36x63){_[_0xcf2c[31]](_0xcc36x63,function(_0xcc36x64){if(!_[_0xcf2c[193]](_0xcc36x61,_0xcc36x64[_0xcf2c[88]])){_0xcc36x60[_0xcf2c[262]](_0xcc36x64[_0xcf2c[269]]({exitAt:_0xcc36x64[_0xcf2c[323]],data4:_0xcf2c[324]}))}});return _0xcc36x60})[_0xcf2c[277]]()[_0xcf2c[32]](function(){logger[_0xcf2c[73]](_0xcf2c[322])})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[321],_0xcc36x19[_0xcf2c[26]])})}function removeExpiredApplications(_0xcc36x42){return models[_0xcf2c[350]+ _0xcc36x42+ _0xcf2c[351]][_0xcf2c[33]]({where:{leaveAt:null,timeslot:{$ne:null}}})[_0xcf2c[32]](function(_0xcc36x6d){var _0xcc36x6e,_0xcc36x6f=[],_0xcc36x70=[];_[_0xcf2c[31]](_0xcc36x6d,function(_0xcc36x71){_0xcc36x6e= moment(_0xcc36x71[_0xcf2c[344]])[_0xcf2c[343]](_0xcc36x71[_0xcf2c[342]],_0xcf2c[229]);if(moment()[_0xcf2c[345]](_0xcc36x6e)){_0xcc36x70[_0xcf2c[262]](_0xcc36x71[_0xcf2c[346]]);_0xcc36x6f[_0xcf2c[262]](_0xcc36x71[_0xcf2c[269]]({timeout:true,leaveAt:moment()[_0xcf2c[59]](_0xcf2c[58])}))}});if(_0xcc36x70[_0xcf2c[334]]> 0){_0xcc36x70= _[_0xcf2c[347]](_0xcc36x70);logger[_0xcf2c[73]](_0xcf2c[348],_0xcc36x70);_0xcc36x6f[_0xcf2c[262]](models[_0xcc36x42+ _0xcf2c[349]][_0xcf2c[265]]({waiting:false},{where:{id:_0xcc36x70},individualHooks:true}))};return _0xcc36x6f})[_0xcf2c[277]]()[_0xcf2c[32]](function(){logger[_0xcf2c[73]](_0xcf2c[339]+ _0xcc36x42+ _0xcf2c[341])})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[339]+ _0xcc36x42+ _0xcf2c[340],_0xcc36x19)})}var channelModels=[_0xcf2c[352],_0xcf2c[353],_0xcf2c[354],_0xcf2c[355],_0xcf2c[356]];clean(channelModels);setInterval(function(){clean(channelModels)},10* 60* 1000);function networkRewrite(_0xcc36x74){switch(_0xcc36x74[_0xcf2c[192]]){case _0xcf2c[367]:return models[_0xcf2c[369]][_0xcf2c[368]](_0xcf2c[367])[_0xcf2c[33]]()[_0xcf2c[32]](function(_0xcc36x75){var _0xcc36x76=_0xcf2c[183];var _0xcc36x77=_0xcf2c[358];_0xcc36x75[_0xcf2c[31]](function(_0xcc36x78){_0xcc36x76+= util[_0xcf2c[59]](_0xcf2c[359],_0xcc36x78[_0xcf2c[222]])});fs[_0xcf2c[366]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcc36x77),_0xcc36x76,{flags:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)},function(_0xcc36x19){if(_0xcc36x19){throw _0xcc36x19};amiCommand(_0xcf2c[364]);logger[_0xcf2c[73]](_0xcf2c[365])})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[357],_0xcc36x19)});case _0xcf2c[374]:return models[_0xcf2c[369]][_0xcf2c[368]](_0xcf2c[374])[_0xcf2c[33]]()[_0xcf2c[32]](function(_0xcc36x79){var _0xcc36x7a=_0xcf2c[183];var _0xcc36x7b=_0xcf2c[371];_0xcc36x79[_0xcf2c[31]](function(_0xcc36x7c){_0xcc36x7a+= util[_0xcf2c[59]](_0xcf2c[372],_0xcc36x7c[_0xcf2c[222]])});fs[_0xcf2c[366]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcc36x7b),_0xcc36x7a,{flags:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)},function(_0xcc36x19){if(_0xcc36x19){throw _0xcc36x19};amiCommand(_0xcf2c[364]);logger[_0xcf2c[73]](_0xcf2c[373])})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[370],_0xcc36x19)});default:logger[_0xcf2c[27]](_0xcf2c[375],_0xcc36x74[_0xcf2c[192]])}}function amiCommand(_0xcc36x7e){return amiAction({Action:_0xcf2c[337],command:_0xcc36x7e})[_0xcf2c[32]](function(_0xcc36x58){logger[_0xcf2c[73]](_0xcf2c[376],_0xcc36x7e,_0xcc36x58)})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[376],_0xcc36x7e,_0xcc36x19)})}function trunksRewrite(){var _0xcc36x80=_0xcf2c[183];var _0xcc36x81=_0xcf2c[183];var _0xcc36x82=_0xcf2c[377];return models[_0xcf2c[34]][_0xcf2c[33]]({where:{active:true},raw:true})[_0xcf2c[32]](function(_0xcc36x1a){activeTrunks= {};var _0xcc36x83;_0xcc36x1a[_0xcf2c[31]](function(_0xcc36x84){_0xcc36x83= null;activeTrunks[_0xcc36x84[_0xcf2c[29]]]= _0xcc36x84[_0xcf2c[30]];delete _0xcc36x84[_0xcf2c[378]];delete _0xcc36x84[_0xcf2c[344]];delete _0xcc36x84[_0xcf2c[379]];delete _0xcc36x84[_0xcf2c[380]];delete _0xcc36x84[_0xcf2c[83]];if(_0xcc36x84[_0xcf2c[381]]&& _0xcc36x84[_0xcf2c[381]]=== _0xcf2c[382]){_0xcc36x84[_0xcf2c[383]]= _0xcf2c[382];_0xcc36x84[_0xcf2c[384]]= _0xcf2c[382];_0xcc36x84[_0xcf2c[385]]= _0xcf2c[328];_0xcc36x84[_0xcf2c[386]]= _0xcf2c[387];_0xcc36x84[_0xcf2c[388]]= _0xcf2c[389];_0xcc36x84[_0xcf2c[390]]= _0xcf2c[391];_0xcc36x84[_0xcf2c[392]]= _0xcf2c[393]}else {_0xcc36x84[_0xcf2c[381]]= _0xcf2c[328]};if(_0xcc36x84[_0xcf2c[85]]){_0xcc36x81+= util[_0xcf2c[59]](_0xcc36x82,_0xcc36x84[_0xcf2c[85]])};delete _0xcc36x84[_0xcf2c[85]];_0xcc36x80+= util[_0xcf2c[59]](_0xcf2c[394],_0xcc36x84[_0xcf2c[29]]);if(_0xcc36x84[_0xcf2c[395]]){_0xcc36x83= _0xcc36x84[_0xcf2c[395]];delete _0xcc36x84[_0xcf2c[395]]};for(var _0xcc36x30 in _0xcc36x84){if(_0xcc36x84[_0xcc36x30]){switch(_0xcc36x30){case _0xcf2c[398]:var _0xcc36x85=_0xcc36x84[_0xcc36x30][_0xcf2c[102]](_0xcf2c[396]);_0xcc36x85[_0xcf2c[31]](function(_0xcc36x40){_0xcc36x80+= util[_0xcf2c[59]](_0xcf2c[397],_0xcc36x30,_0xcc36x40)});break;default:_0xcc36x80+= util[_0xcf2c[59]](_0xcf2c[397],_0xcc36x30,_0xcc36x84[_0xcc36x30])}}};if(_0xcc36x83){_0xcc36x80+= util[_0xcf2c[59]](_0xcf2c[399],_0xcc36x83)}});fs[_0xcf2c[366]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcf2c[400]),_0xcc36x80,{flags:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)},function(_0xcc36x19){if(_0xcc36x19){throw _0xcc36x19};logger[_0xcf2c[73]](_0xcf2c[401]);fs[_0xcf2c[366]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcf2c[402]),_0xcc36x81,{flags:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)},function(_0xcc36x19){if(_0xcc36x19){throw _0xcc36x19};amiCommand(_0xcf2c[364]);logger[_0xcf2c[73]](_0xcf2c[403])})})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcc36x19)})}function rewriteContexts(_0xcc36x74,_0xcc36x87){return function(){var _0xcc36x88=_0xcf2c[183];if(!_0xcc36x87){_0xcc36x88= util[_0xcf2c[59]](_0xcf2c[404],_0xcc36x74[_0xcf2c[29]],_0xcc36x74[_0xcf2c[29]])};return models[_0xcf2c[409]][_0xcf2c[33]]({where:{id:{$ne:_0xcc36x74[_0xcf2c[253]]}}})[_0xcf2c[32]](function(_0xcc36x89){_0xcc36x89[_0xcf2c[31]](function(_0xcc36x84){_0xcc36x88+= util[_0xcf2c[59]](_0xcf2c[404],_0xcc36x84[_0xcf2c[29]],_0xcc36x84[_0xcf2c[29]])});fs[_0xcf2c[366]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcf2c[406]),_0xcc36x88,{flags:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)},function(_0xcc36x19){if(_0xcc36x19){throw _0xcc36x19};logger[_0xcf2c[73]](_0xcf2c[407]);amiCommand(_0xcf2c[408])})})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[405],_0xcc36x19)})}}function createHangup(_0xcc36x74){return function(){logger[_0xcf2c[73]](_0xcf2c[410],_0xcc36x74[_0xcf2c[29]]);var _0xcc36x47=[{context:_0xcc36x74[_0xcf2c[29]],exten:_0xcf2c[411],priority:_0xcf2c[412],VoiceContextId:_0xcc36x74[_0xcf2c[253]],type:_0xcf2c[413],app:_0xcf2c[414]},{context:_0xcc36x74[_0xcf2c[29]],exten:_0xcf2c[415],priority:_0xcf2c[412],VoiceContextId:_0xcc36x74[_0xcf2c[253]],type:_0xcf2c[413],app:_0xcf2c[414]}];return models[_0xcf2c[418]][_0xcf2c[263]](_0xcc36x47)[_0xcf2c[32]](function(){logger[_0xcf2c[73]](_0xcf2c[417])})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[416],_0xcc36x19)})}}function rtpRewrite(_0xcc36x47){if(_0xcc36x47){var _0xcc36x8c=_0xcf2c[183];for(var _0xcc36x30 in _0xcc36x47){_0xcc36x47[_0xcc36x30]&& (_0xcc36x8c+= util[_0xcf2c[59]](_0xcf2c[397],_0xcc36x30,_0xcc36x47[_0xcc36x30]))};try{fs[_0xcf2c[420]](path[_0xcf2c[361]](config[_0xcf2c[360]],_0xcf2c[419]),_0xcc36x8c,{flag:_0xcf2c[362],mode:parseInt(_0xcf2c[363],8)});logger[_0xcf2c[73]](_0xcf2c[421]);amiCommand(_0xcf2c[422])}catch(err){logger[_0xcf2c[27]](_0xcf2c[423],err)}}else {logger[_0xcf2c[27]](_0xcf2c[424])}}function execRequest(_0xcc36x74,_0xcc36x8e,_0xcc36x8f){return Util[_0xcf2c[427]](_0xcc36x74,_0xcc36x8e,_0xcc36x8f)[_0xcf2c[32]](function(_0xcc36x90){faxLogger[_0xcf2c[73]](_0xcf2c[426])})[_0xcf2c[28]](function(_0xcc36x19){faxLogger[_0xcf2c[27]](_0xcf2c[425],_0xcc36x19)})}function webhook(_0xcc36x74,_0xcc36x92,_0xcc36x93){switch(_0xcc36x93){case _0xcf2c[435]:if(_0xcc36x92[_0xcf2c[428]]&& _0xcc36x92[_0xcf2c[429]]){faxLogger[_0xcf2c[73]](_0xcf2c[430]+ _0xcc36x92[_0xcf2c[29]]+ _0xcf2c[431]);execRequest(_0xcc36x74,_0xcc36x92[_0xcf2c[428]],_0xcc36x92[_0xcf2c[429]])};if(_0xcc36x92[_0xcf2c[432]][_0xcf2c[334]]){_[_0xcf2c[31]](_0xcc36x92[_0xcf2c[432]],function(_0xcc36x38){if(_0xcc36x38[_0xcf2c[433]]){Util[_0xcf2c[434]](_0xcc36x38,_0xcc36x74)}})};break;case _0xcf2c[439]:if(_0xcc36x92[_0xcf2c[436]]&& _0xcc36x92[_0xcf2c[437]]){faxLogger[_0xcf2c[73]](_0xcf2c[430]+ _0xcc36x92[_0xcf2c[29]]+ _0xcf2c[438]);execRequest(_0xcc36x74,_0xcc36x92[_0xcf2c[436]],_0xcc36x92[_0xcf2c[437]])};break;case _0xcf2c[77]:if(_0xcc36x92[_0xcf2c[440]]&& _0xcc36x92[_0xcf2c[441]]){faxLogger[_0xcf2c[73]](_0xcf2c[430]+ _0xcc36x92[_0xcf2c[29]]+ _0xcf2c[442]);execRequest(_0xcc36x74,_0xcc36x92[_0xcf2c[440]],_0xcc36x92[_0xcf2c[441]])};break;default:faxLogger[_0xcf2c[27]](_0xcf2c[443])}}function getFaxRoom(){return function(_0xcc36x92,_0xcc36x95){if(_0xcc36x95[_0xcf2c[444]]){return models[_0xcf2c[445]][_0xcf2c[309]](_0xcc36x95.FaxRoomId)}else {return models[_0xcf2c[445]][_0xcf2c[33]]({limit:1,where:{contact:_0xcc36x95[_0xcf2c[448]],FaxAccountId:_0xcc36x92[_0xcf2c[253]]},order:[[_0xcf2c[378],_0xcf2c[450]]]})[_0xcf2c[32]](function(_0xcc36x96){var _0xcc36x97=_[_0xcf2c[446]](_0xcc36x96);if(!_0xcc36x97|| _0xcc36x97[_0xcf2c[380]]=== _0xcf2c[447]){return models[_0xcf2c[445]][_0xcf2c[63]]({contact:_0xcc36x95[_0xcf2c[448]],account:_0xcc36x92[_0xcf2c[29]],status:_0xcf2c[449],FaxAccountId:_0xcc36x92[_0xcf2c[253]]})}else {return _0xcc36x97}})}}}function sendFax(_0xcc36x99,_0xcc36x9a,_0xcc36x9b){if(_0xcc36x99[_0xcf2c[380]]=== _0xcf2c[451]){faxLogger[_0xcf2c[454]](util[_0xcf2c[59]](_0xcf2c[452],_0xcc36x99[_0xcf2c[453]],_0xcc36x99[_0xcf2c[448]]));var _0xcc36x9c;var _0xcc36x9d=_0xcc36x99;var _0xcc36x9e=_0xcc36x99[_0xcf2c[453]];var _0xcc36x9f=_0xcc36x99[_0xcf2c[448]];var _0xcc36xa0;var _0xcc36xa1;var _0xcc36xa2,_0xcc36xa3;return models[_0xcf2c[505]][_0xcf2c[274]]({where:{localstationid:_0xcc36x9d[_0xcf2c[453]]}})[_0xcf2c[32]](function(_0xcc36xa7){if(!_0xcc36xa7){throw  new Error(_0xcf2c[502])};faxLogger[_0xcf2c[73]](_0xcf2c[503],_0xcc36xa7[_0xcf2c[466]]);_0xcc36xa0= _[_0xcf2c[147]](_0xcc36xa7[_0xcf2c[266]]);return models[_0xcf2c[34]][_0xcf2c[274]]({where:{name:_0xcc36xa0[_0xcf2c[504]]},attributes:[_0xcf2c[29]]})})[_0xcf2c[32]](function(_0xcc36x1b){if(!_0xcc36x1b){throw  new Error(_0xcf2c[500])};faxLogger[_0xcf2c[73]](_0xcf2c[501],_0xcc36x1b[_0xcf2c[29]]);_0xcc36xa1= _[_0xcf2c[147]](_0xcc36x1b[_0xcf2c[266]]);return})[_0xcf2c[32]](function(){return [_0xcc36xa0,_0xcc36x9d]})[_0xcf2c[490]](getFaxRoom())[_0xcf2c[32]](function(_0xcc36xa6){if(!_0xcc36xa6){throw  new Error(_0xcf2c[497])};faxLogger[_0xcf2c[73]](_0xcf2c[498],_0xcc36xa6[_0xcf2c[253]]);_0xcc36x9c= _0xcc36xa6;return _0xcc36x9c[_0xcf2c[499]](_0xcc36x9d[_0xcf2c[253]])})[_0xcf2c[32]](function(){return _0xcc36x9c[_0xcf2c[269]]({status:_0xcf2c[449],lastEvent:_0xcf2c[451],lastEventAt:moment()[_0xcf2c[59]](_0xcf2c[58]),faxOut:++_0xcc36x9c[_0xcf2c[495]]},{individualHooks:true,user:_0xcc36x9b[_0xcf2c[496]]})})[_0xcf2c[32]](function(_0xcc36x47){faxLogger[_0xcf2c[73]](_0xcf2c[493],_0xcc36x47[_0xcf2c[253]]);return _0xcc36x9c[_0xcf2c[494]](_0xcc36x9d.UserId)})[_0xcf2c[32]](function(){return models[_0xcf2c[310]][_0xcf2c[309]](_0xcc36x9d.UserId)})[_0xcf2c[32]](function(){if(_0xcc36xa0[_0xcf2c[491]]){return models[_0xcf2c[492]][_0xcf2c[292]]({where:{ListId:_0xcc36xa0[_0xcf2c[491]],$or:[{phone:_0xcc36x9f},{fax:_0xcc36x9f}]},defaults:{fax:_0xcc36x9f,phone:_0xcc36x9f,firstName:_0xcc36x9f,ListId:_0xcc36xa0[_0xcf2c[491]]}})}else {return []}})[_0xcf2c[490]](function(_0xcc36xa4,_0xcc36xa5){if(_0xcc36xa5!== undefined&&  !_0xcc36xa5){return _0xcc36xa4[_0xcf2c[269]]({fax:_0xcc36x9f})};return})[_0xcf2c[32]](function(){_0xcc36xa2= _0xcc36x9d[_0xcf2c[477]][0][_0xcf2c[6]];if(_0xcc36x9d[_0xcf2c[477]][0][_0xcf2c[192]]=== _0xcf2c[478]){_0xcc36xa3= path[_0xcf2c[361]](config[_0xcf2c[479]],_0xcf2c[480],_0xcf2c[481],_0xcf2c[16],_0xcf2c[194],_0xcf2c[482],_0xcf2c[483],path[_0xcf2c[484]](_0xcc36xa2)[_0xcf2c[29]]+ _0xcf2c[485]);return exec(_0xcf2c[486]+ _0xcc36xa3+ _0xcf2c[487]+ _0xcc36xa2)}else {_0xcc36xa3= path[_0xcf2c[361]](config[_0xcf2c[479]],_0xcf2c[480],_0xcf2c[481],_0xcf2c[16],_0xcf2c[194],_0xcf2c[482],_0xcf2c[483],path[_0xcf2c[484]](_0xcc36xa2)[_0xcf2c[488]]);fse[_0xcf2c[489]](_0xcc36xa2,_0xcc36xa3);return}})[_0xcf2c[32]](function(){fs[_0xcf2c[475]](_0xcc36xa3,511);faxLogger[_0xcf2c[73]](_0xcf2c[476]);return models[_0xcf2c[459]][_0xcf2c[265]]({filename:_0xcc36xa3,localstationid:_0xcc36x9d[_0xcf2c[453]],retry:_0xcc36x9a},{where:{id:_0xcc36x9d[_0xcf2c[253]]}})})[_0xcf2c[32]](function(_0xcc36x99){return amiAction({action:_0xcf2c[462],channel:util[_0xcf2c[59]](_0xcf2c[463],_0xcc36xa0[_0xcf2c[464]],_0xcc36xa1[_0xcf2c[29]],_0xcc36x9f),exten:_0xcc36x9f,context:_0xcf2c[465],priority:1,callerid:util[_0xcf2c[59]](_0xcf2c[180],_0xcc36xa0[_0xcf2c[466]],_0xcc36xa0[_0xcf2c[466]]),variable:{FAXNAME:_0xcc36xa0[_0xcf2c[29]],FAXNUMBER:_0xcc36x9f,FAXECM:_0xcc36xa0[_0xcf2c[467]],FAXHEADERINFO:_0xcc36xa0[_0xcf2c[468]],FAXLOCALSTATIONID:_0xcc36xa0[_0xcf2c[466]],FAXMINRATE:_0xcc36xa0[_0xcf2c[469]],FAXMAXRATE:_0xcc36xa0[_0xcf2c[470]],FAXMODEM:util[_0xcf2c[59]](_0xcf2c[471],_0xcc36xa0[_0xcf2c[472]]),FAXGATEWAY:_0xcc36xa0[_0xcf2c[473]],FAXT38TIMEOUT:_0xcc36xa0[_0xcf2c[474]],FAXOUTFILE:_0xcc36xa3},account:_0xcc36xa0[_0xcf2c[466]]})})[_0xcf2c[32]](function(_0xcc36x58){faxLogger[_0xcf2c[454]](_0xcf2c[460]);faxLogger[_0xcf2c[73]](_0xcf2c[461],_0xcc36x58)})[_0xcf2c[28]](function(_0xcc36x19){faxLogger[_0xcf2c[27]](_0xcf2c[455],_0xcc36x19);faxLogger[_0xcf2c[27]](_0xcf2c[456],_0xcc36x19[_0xcf2c[280]]);faxLogger[_0xcf2c[27]](_0xcf2c[457],_0xcc36x19[_0xcf2c[26]]);return models[_0xcf2c[459]][_0xcf2c[265]]({status:_0xcf2c[171]},{where:{id:_0xcc36x9d[_0xcf2c[253]]}})[_0xcf2c[32]](function(_0xcc36x47){if(_0xcc36x9c){return _0xcc36x9c[_0xcf2c[269]]({lastEvent:_0xcf2c[171]})};return})[_0xcf2c[28]](function(_0xcc36x19){faxLogger[_0xcf2c[27]](_0xcf2c[458],_0xcc36x19);faxLogger[_0xcf2c[27]](_0xcf2c[456],_0xcc36x19[_0xcf2c[280]]);faxLogger[_0xcf2c[27]](_0xcf2c[457],_0xcc36x19[_0xcf2c[26]])})})}}models[_0xcf2c[459]][_0xcf2c[506]](function(_0xcc36x74,_0xcc36x37){sendFax(_0xcc36x74[_0xcf2c[266]],0,_0xcc36x37)});models[_0xcf2c[459]][_0xcf2c[509]](function(_0xcc36x74,_0xcc36x37){if(_0xcc36x74[_0xcf2c[507]](_0xcf2c[380])&& _0xcc36x74[_0xcf2c[380]]=== _0xcf2c[451]){sendFax(_0xcc36x74[_0xcf2c[266]],_0xcc36x74[_0xcf2c[508]]+ 1,_0xcc36x37)}});models[_0xcf2c[445]][_0xcf2c[509]](function(_0xcc36x74){var _0xcc36xa8=_[_0xcf2c[511]](faxaccounts,{id:_0xcc36x74[_0xcf2c[510]]});if(_0xcc36xa8&& _0xcc36x74[_0xcf2c[507]](_0xcf2c[380])&& _0xcc36x74[_0xcf2c[380]]=== _0xcf2c[447]){webhook(_0xcc36x74[_0xcf2c[266]],_0xcc36xa8,_0xcf2c[77])}});models[_0xcf2c[512]][_0xcf2c[506]](function(_0xcc36x74,_0xcc36x37){onSave(_0xcc36x74,_0xcc36x37)});models[_0xcf2c[505]][_0xcf2c[33]]({raw:true})[_0xcf2c[32]](function(_0xcc36xa9){faxaccounts= _0xcc36xa9})[_0xcf2c[28]](function(_0xcc36x19){faxLogger[_0xcf2c[27]](_0xcf2c[513],_0xcc36x19)});function addToCollection(_0xcc36xab,_0xcc36xac){_0xcc36xab[_0xcf2c[262]](_0xcc36xac)}function updateCollection(_0xcc36xab,_0xcc36xac){var _0xcc36xae=_[_0xcf2c[511]](_0xcc36xab,{id:_0xcc36xac[_0xcf2c[253]]});if(_0xcc36xae){_[_0xcf2c[267]](_0xcc36xae,_0xcc36xac)}else {_0xcc36xab[_0xcf2c[514]](_0xcc36xac)}}function removeFromCollection(_0xcc36xab,_0xcc36xac){_[_0xcf2c[515]](_0xcc36xab,{id:_0xcc36xac[_0xcf2c[253]]})}function getWidgets(_0xcc36xb1){_0xcc36xb1= JSON[_0xcf2c[484]](_0xcc36xb1|| _0xcf2c[516]);var _0xcc36xb2=[];if(_0xcc36xb1[_0xcf2c[517]]){_[_0xcf2c[31]](_0xcc36xb1[_0xcf2c[517]],function(_0xcc36xb3){_0xcc36xb2[_0xcf2c[262]](_[_0xcf2c[521]](_[_0xcf2c[520]](_0xcc36xb3[_0xcf2c[518]],_0xcf2c[519])))});if(_0xcc36xb2[_0xcf2c[334]]){var _0xcc36xb4=[];_[_0xcf2c[31]](_0xcc36xb2,function(_0xcc36xb5){_[_0xcf2c[31]](_0xcc36xb5,function(_0xcc36xb6){_[_0xcf2c[193]]([_0xcf2c[522],_0xcf2c[523],_0xcf2c[524]],_0xcc36xb6[_0xcf2c[192]])&& _0xcc36xb4[_0xcf2c[262]]({config:{select:_0xcc36xb6[_0xcf2c[526]][_0xcf2c[525]],fields:_0xcc36xb6[_0xcf2c[526]][_0xcf2c[527]],condition:_0xcc36xb6[_0xcf2c[526]][_0xcf2c[528]],table:_0xcc36xb6[_0xcf2c[526]][_0xcf2c[530]][_0xcf2c[223]](_0xcf2c[529],_0xcf2c[183])},id:_0xcc36xb6[_0xcf2c[531]],type:_0xcc36xb6[_0xcf2c[192]]})})});return (_0xcc36xb4[_0xcf2c[334]]?_0xcc36xb4:null)};return null};return null}function toAddDate(_0xcc36xb8){switch(_0xcc36xb8){case _0xcf2c[532]:;case _0xcf2c[533]:;case _0xcf2c[534]:;case _0xcf2c[535]:;case _0xcf2c[536]:;case _0xcf2c[537]:;case _0xcf2c[538]:;case _0xcf2c[539]:;case _0xcf2c[540]:;case _0xcf2c[541]:;case _0xcf2c[542]:;case _0xcf2c[543]:;case _0xcf2c[544]:;case _0xcf2c[545]:return false;default:return true}}function getCounterWidgetQuery(_0xcc36xba,_0xcc36x5d){return Promise[_0xcf2c[288]]()[_0xcf2c[32]](function(){return _0xcc36xba[_0xcf2c[522]]})[_0xcf2c[32]](reportBuildUtils[_0xcf2c[561]](_0xcc36x5d))[_0xcf2c[32]](function(_0xcc36xbb){var _0xcc36xbc=util[_0xcf2c[59]](_0xcf2c[547],_0xcc36xba[_0xcf2c[525]],_0xcc36xba[_0xcf2c[522]]);if(_0xcc36xba[_0xcf2c[528]]&& _0xcc36xba[_0xcf2c[528]]!== _0xcf2c[548]){_0xcc36xbc+= util[_0xcf2c[59]](_0xcf2c[549],decodeURIComponent(_0xcc36xba[_0xcf2c[528]]))};if(toAddDate(_0xcc36xba[_0xcf2c[522]])){_0xcc36xbc+= util[_0xcf2c[59]]((_0xcc36xba[_0xcf2c[528]]&& _0xcc36xba[_0xcf2c[528]]!== _0xcf2c[548])?_0xcf2c[550]:_0xcf2c[551],moment()[_0xcf2c[553]](_0xcf2c[552])[_0xcf2c[59]](_0xcf2c[58]))};if(!_0xcc36xbb|| _0xcc36xbb!== _0xcf2c[554]){if(_0xcc36xbb){_0xcc36xbc+= _0xcc36xba[_0xcf2c[528]]?_0xcf2c[555]+ _0xcc36xbb:_0xcf2c[556]+ _0xcc36xbb};logger[_0xcf2c[73]](_0xcf2c[557]);logger[_0xcf2c[73]](_0xcc36xbc);logger[_0xcf2c[73]](_0xcf2c[558]);return _0xcc36xbc}else {logger[_0xcf2c[27]](_0xcf2c[559]);logger[_0xcf2c[27]](_0xcf2c[560]);logger[_0xcf2c[27]](_0xcf2c[558]);return []}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[546],_0xcc36x19[_0xcf2c[26]])})}function getPieChartWidgetQuery(_0xcc36xba,_0xcc36x5d){return Promise[_0xcf2c[277]]([])[_0xcf2c[32]](function(){return _0xcc36xba[_0xcf2c[522]]})[_0xcf2c[32]](reportBuildUtils[_0xcf2c[561]](_0xcc36x5d))[_0xcf2c[32]](function(_0xcc36xbb){var _0xcc36xbe=[];var _0xcc36x40;if(_0xcc36xba[_0xcf2c[527]]){if(_[_0xcf2c[563]](_0xcc36xba[_0xcf2c[527]])){_0xcc36xba[_0xcf2c[527]][_0xcf2c[31]](function(_0xcc36x84){if(_0xcc36x84[_0xcf2c[564]]&& _0xcc36x84[_0xcf2c[565]]){_0xcc36xbe[_0xcf2c[262]](_0xcc36x84[_0xcf2c[564]]+ _0xcf2c[566]+ _0xcc36x84[_0xcf2c[565]]+ _0xcf2c[567])}})}else {if(_[_0xcf2c[568]](_0xcc36xba[_0xcf2c[527]])){var _0xcc36x84=JSON[_0xcf2c[484]](_0xcc36xba[_0xcf2c[527]]);if(_0xcc36x84[_0xcf2c[564]]&& _0xcc36x84[_0xcf2c[565]]){_0xcc36xbe[_0xcf2c[262]](_0xcc36x84[_0xcf2c[564]]+ _0xcf2c[566]+ _0xcc36x84[_0xcf2c[565]]+ _0xcf2c[567])}}}};var _0xcc36xbf=_0xcc36xbe[_0xcf2c[334]]?_0xcc36xbe[_0xcf2c[361]](_0xcf2c[101]):_0xcf2c[569];var _0xcc36xc0=_0xcf2c[183];if(_0xcc36xba[_0xcf2c[528]]&& _0xcc36xba[_0xcf2c[528]]!== _0xcf2c[570]&& _0xcc36xba[_0xcf2c[528]]!== _0xcf2c[548]){_0xcc36xc0= util[_0xcf2c[59]](_0xcf2c[549],decodeURIComponent(_0xcc36xba[_0xcf2c[528]]))};if(toAddDate(_0xcc36xba[_0xcf2c[522]])){_0xcc36xc0+= util[_0xcf2c[59]]((_0xcc36xba[_0xcf2c[528]]&& _0xcc36xba[_0xcf2c[528]]!== _0xcf2c[548])?_0xcf2c[550]:_0xcf2c[551],moment()[_0xcf2c[553]](_0xcf2c[552])[_0xcf2c[59]](_0xcf2c[58]))};if(!_0xcc36xbb|| _0xcc36xbb!== _0xcf2c[554]){if(_0xcc36xbb){_0xcc36xc0+= _0xcc36xc0?_0xcf2c[555]+ _0xcc36xbb:_0xcf2c[556]+ _0xcc36xbb};var _0xcc36xbc=util[_0xcf2c[59]](_0xcf2c[571],_0xcc36xbf,_0xcc36xba[_0xcf2c[522]],_0xcc36xc0);logger[_0xcf2c[73]](_0xcf2c[557]);logger[_0xcf2c[73]](_0xcc36xbc);logger[_0xcf2c[73]](_0xcf2c[558]);return _0xcc36xbc}else {logger[_0xcf2c[27]](_0xcf2c[559]);logger[_0xcf2c[27]](_0xcf2c[560]);logger[_0xcf2c[27]](_0xcf2c[558]);return []}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[562],_0xcc36x19[_0xcf2c[26]])})}function getWidgetQuery(_0xcc36xba,_0xcc36x5d){switch(_0xcc36xba[_0xcf2c[192]]){case _0xcf2c[524]:return getCounterWidgetQuery(_0xcc36xba[_0xcf2c[526]],_0xcc36x5d);case _0xcf2c[523]:return getPieChartWidgetQuery(_0xcc36xba[_0xcf2c[526]],_0xcc36x5d);default:return Promise[_0xcf2c[288]]()[_0xcf2c[32]](function(){return null})}}function getCustomDashboardValues(_0xcc36xc3,_0xcc36x5d){var _0xcc36xc4={};var _0xcc36xc5=[],_0xcc36xc6=[],_0xcc36xbc;return models[_0xcf2c[583]][_0xcf2c[309]](_0xcc36xc3)[_0xcf2c[32]](function(_0xcc36xc7){if(!_0xcc36xc7){logger[_0xcf2c[27]](_0xcf2c[575],_0xcc36xc3,_0xcf2c[576]);return};var _0xcc36xb4=getWidgets(_0xcc36xc7[_0xcf2c[577]]);if(_0xcc36xb4){_[_0xcf2c[31]](_0xcc36xb4,function(_0xcc36xba){_0xcc36xc5[_0xcf2c[262]](getWidgetQuery(_0xcc36xba,_0xcc36x5d)[_0xcf2c[32]](function(_0xcc36xbc){_0xcc36xc6[_0xcf2c[262]](Promise[_0xcf2c[288]]()[_0xcf2c[32]](function(){if(_0xcc36xbc){return models[_0xcf2c[581]][_0xcf2c[582]](_0xcc36xbc,{type:models[_0xcf2c[581]][_0xcf2c[580]][_0xcf2c[579]]})}else {return []}})[_0xcf2c[32]](function(_0xcc36x58){_0xcc36xc4[_0xcc36xba[_0xcf2c[253]]]= _0xcc36x58})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[578],_0xcc36xba[_0xcf2c[253]],_0xcc36x19);_0xcc36xc4[_0xcc36xba[_0xcf2c[253]]]= []}))}))});return _0xcc36xc5};return []})[_0xcf2c[277]]()[_0xcf2c[32]](function(){return _0xcc36xc6})[_0xcf2c[277]]()[_0xcf2c[32]](function(){if(!_[_0xcf2c[573]](_0xcc36xc4)){return events[_0xcf2c[574]](_0xcc36xc4,_0xcc36x5d)}})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[572],_0xcc36xc3,_0xcc36x19)})}process[_0xcf2c[74]](_0xcf2c[280],function(_0xcc36xc8){switch(_0xcc36xc8[_0xcf2c[280]]){case _0xcf2c[584]:;case _0xcf2c[585]:;case _0xcf2c[587]:networkRewrite(_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[589]:return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](rewriteContexts(_0xcc36xc8[_0xcf2c[586]],false))[_0xcf2c[32]](createHangup(_0xcc36xc8[_0xcf2c[586]]))[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[588],_0xcc36x19)});case _0xcf2c[591]:return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](rewriteContexts(_0xcc36xc8[_0xcf2c[586]],true))[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[590],_0xcc36x19)});case _0xcf2c[592]:addToCollection(faxaccounts,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[593]:updateCollection(faxaccounts,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[594]:removeFromCollection(faxaccounts,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[595]:trunksRewrite();break;case _0xcf2c[596]:rtpRewrite(_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[597]:;case _0xcf2c[598]:sendFax(_0xcc36xc8[_0xcf2c[586]],0,_0xcc36xc8[_0xcf2c[48]]);break;case _0xcf2c[599]:var _0xcc36xa8=_[_0xcf2c[511]](faxaccounts,{id:_0xcc36xc8[_0xcf2c[586]][_0xcf2c[510]]});if(_0xcc36xa8){webhook(_0xcc36xc8[_0xcf2c[586]],_0xcc36xa8,_0xcc36xc8[_0xcf2c[41]])};break;case _0xcf2c[601]:return amiAction({action:_0xcf2c[337],command:_0xcc36xc8[_0xcf2c[603]]})[_0xcf2c[32]](function(_0xcc36x6a){return events[_0xcf2c[601]]({type:_0xcf2c[602],data:_0xcc36x6a,socket:_0xcc36xc8[_0xcf2c[600]]})})[_0xcf2c[28]](function(_0xcc36x19){events[_0xcf2c[601]]({type:_0xcf2c[27],data:_0xcc36x19,socket:_0xcc36xc8[_0xcf2c[600]]})});case _0xcf2c[608]:return amiAction(_0xcc36xc8[_0xcf2c[41]])[_0xcf2c[32]](function(_0xcc36x6a){events[_0xcf2c[272]](_0xcc36xc8[_0xcf2c[290]],_0xcc36xc8[_0xcf2c[271]],_0xcc36xc8[_0xcf2c[41]][_0xcf2c[605]]);logger[_0xcf2c[454]](util[_0xcf2c[59]](_0xcf2c[606],_0xcc36xc8[_0xcf2c[290]],_0xcc36xc8[_0xcf2c[41]][_0xcf2c[605]]?_0xcf2c[605]:_0xcf2c[607]))})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](util[_0xcf2c[59]](_0xcf2c[604],_0xcc36xc8[_0xcf2c[290]],_0xcc36xc8[_0xcf2c[41]][_0xcf2c[605]]?_0xcf2c[311]:_0xcf2c[312]),_0xcc36x19)});case _0xcf2c[610]:var _0xcc36x92=_[_0xcf2c[511]](faxaccounts,{id:parseInt(_0xcc36xc8[_0xcf2c[586]][_0xcf2c[609]])});if(_0xcc36x92){webhook(_0xcc36xc8[_0xcf2c[586]],_0xcc36x92,_0xcc36xc8[_0xcf2c[41]])};break;case _0xcf2c[611]:return onSave(_0xcc36xc8[_0xcf2c[586]],_0xcc36xc8[_0xcf2c[48]]);case _0xcf2c[612]:return events[_0xcf2c[612]](_0xcc36xc8[_0xcf2c[293]]);case _0xcf2c[613]:;case _0xcf2c[614]:;case _0xcf2c[615]:;case _0xcf2c[616]:;case _0xcf2c[617]:;case _0xcf2c[618]:;case _0xcf2c[619]:;case _0xcf2c[620]:;case _0xcf2c[621]:;case _0xcf2c[622]:;case _0xcf2c[623]:;case _0xcf2c[625]:return events[_0xcf2c[624]](_0xcc36xc8);case _0xcf2c[627]:return BPromise[_0xcf2c[288]]()[_0xcf2c[32]](function(){return amiUtil[_0xcf2c[627]](amiAction,_0xcc36xc8[_0xcf2c[586]])})[_0xcf2c[28]](function(_0xcc36x19){logger[_0xcf2c[27]](_0xcf2c[626],_0xcc36x19)});case _0xcf2c[628]:;case _0xcf2c[629]:;case _0xcf2c[630]:;case _0xcf2c[631]:;case _0xcf2c[632]:;case _0xcf2c[633]:;case _0xcf2c[634]:;case _0xcf2c[635]:;case _0xcf2c[636]:;case _0xcf2c[638]:return events[_0xcf2c[637]](_0xcc36xc8);case _0xcf2c[643]:switch(_0xcc36xc8[_0xcf2c[522]]){case _0xcf2c[640]:return events[_0xcf2c[639]]();case _0xcf2c[642]:return events[_0xcf2c[641]]();default:};break;case _0xcf2c[644]:newexten(_0xcc36xc8[_0xcf2c[52]],true);break;case _0xcf2c[645]:addToCollection(voiceQueues,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[646]:updateCollection(voiceQueues,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[647]:removeFromCollection(voiceQueues,_0xcc36xc8[_0xcf2c[586]]);break;case _0xcf2c[648]:getCustomDashboardValues(_0xcc36xc8[_0xcf2c[253]],_0xcc36xc8[_0xcf2c[496]]);break;case _0xcf2c[650]:return events[_0xcf2c[649]](_0xcc36xc8[_0xcf2c[586]]);default:}})
\ No newline at end of file